[xroar] Added gcc dependency Dropped obsolete scriptlets Added AppData file
by Andrea Musuruane
commit d90b0d268c78b041eb460d55c7c0032e688b5910
Author: Andrea Musuruane <musuruan(a)gmail.com>
Date: Wed Jun 27 12:24:56 2018 +0200
Added gcc dependency
Dropped obsolete scriptlets
Added AppData file
xroar-minifirm.desktop | 10 ++++++
xroar.appdata.xml | 27 ++++++++++++++++
xroar.desktop | 10 ++++++
xroar.spec | 83 +++++++++++++++-----------------------------------
4 files changed, 71 insertions(+), 59 deletions(-)
---
diff --git a/xroar-minifirm.desktop b/xroar-minifirm.desktop
new file mode 100644
index 0000000..4c26bf9
--- /dev/null
+++ b/xroar-minifirm.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=XRoar [Minimal Firmware]
+GenericName=Dragon 32/64 Emulator
+Comment=Emulates the Dragon 32/64 and Tandy CoCo
+Exec=xroar -extbas /usr/share/xroar/roms/dragon-minifirm.rom
+Icon=xroar
+Terminal=false
+Type=Application
+Categories=Game;Emulator;
+
diff --git a/xroar.appdata.xml b/xroar.appdata.xml
new file mode 100644
index 0000000..97787ac
--- /dev/null
+++ b/xroar.appdata.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2018 Andrea Musuruane <musuruan(a)gmail.com -->
+<component type="desktop">
+ <id>xroar.desktop</id>
+ <metadata_license>CC-BY-SA-3.0</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <name>XRoar</name>
+ <summary>A Dragon 32, Dragon 64 and Tandy CoCo emulator</summary>
+ <description>
+ <p>
+ XRoar is a Dragon 32, Dragon 64 and Tandy CoCo emulator. It uses
+ standard cassette images (".cas" files) and virtual diskettes (".dsk"
+ or ".vdk" files) but has its own snapshot format at the moment (no
+ ".pak" file support).
+ </p>
+ <p>
+ ROM images of the firmware are required for full emulation but a 3rd
+ party minimal firmware is included.
+ </p>
+ </description>
+ <screenshots>
+ <screenshot type="default">
+ <image>http://www.6809.org.uk/xroar/images/aquanaut471.png</image>
+ </screenshot>
+ </screenshots>
+ <url type="homepage">http://www.6809.org.uk/xroar/</url>
+</component>
diff --git a/xroar.desktop b/xroar.desktop
new file mode 100644
index 0000000..f2a6377
--- /dev/null
+++ b/xroar.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=XRoar
+GenericName=Dragon 32/64 Emulator
+Comment=Emulates the Dragon 32/64 and Tandy CoCo
+Exec=xroar
+Icon=xroar
+Terminal=false
+Type=Application
+Categories=Game;Emulator;
+
diff --git a/xroar.spec b/xroar.spec
index da817d9..96a8ab8 100644
--- a/xroar.spec
+++ b/xroar.spec
@@ -1,11 +1,15 @@
Name: xroar
Version: 0.34.8
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A Dragon 32, Dragon 64 and Tandy CoCo emulator
License: GPLv2+
URL: http://www.6809.org.uk/xroar/
Source0: http://www.6809.org.uk/xroar/download/%{name}-%{version}.tar.gz
Source1: http://www.6809.org.uk/dragon/dragon.rom
+Source2: %{name}.desktop
+Source3: %{name}-minifirm.desktop
+Source4: %{name}.appdata.xml
+BuildRequires: gcc
BuildRequires: gtk2-devel
BuildRequires: gtkglext-devel
BuildRequires: SDL2-devel
@@ -15,17 +19,15 @@ BuildRequires: zlib-devel
BuildRequires: texinfo
BuildRequires: texinfo-tex
BuildRequires: libicns-utils
+BuildRequires: libappstream-glib
BuildRequires: desktop-file-utils
Requires: hicolor-icon-theme
-Requires(post): info
-Requires(preun): info
%description
-A Dragon 32, Dragon 64 and Tandy CoCo emulator for Unix, Linux, GP32, MacOS X
-and Windows32. It uses standard cassette images (".cas" files) and virtual
-diskettes (".dsk" or ".vdk" files) but has its own snapshot format at the
-moment (no ".pak" file support).
+XRoar is a Dragon 32, Dragon 64 and Tandy CoCo emulator. It uses standard
+cassette images (".cas" files) and virtual diskettes (".dsk" or ".vdk" files)
+but has its own snapshot format at the moment (no ".pak" file support).
ROM images of the firmware are required for full emulation but a 3rd party
minimal firmware is included.
@@ -43,38 +45,13 @@ minimal firmware is included.
make html
make pdf
-# Generate desktop file
-cat >%{name}.desktop <<EOF
-[Desktop Entry]
-Name=XRoar
-GenericName=Dragon 32/64 Emulator
-Comment=Emulates the Dragon 32/64 and Tandy CoCo
-Exec=%{name}
-Icon=%{name}
-Terminal=false
-Type=Application
-Categories=Game;Emulator;
-EOF
-
-cat >%{name}-minifirm.desktop <<EOF
-[Desktop Entry]
-Name=XRoar [Minimal Firmware]
-GenericName=Dragon 32/64 Emulator
-Comment=Emulates the Dragon 32/64 and Tandy CoCo
-Exec=%{name} -extbas %{_datadir}/%{name}/roms/dragon-minifirm.rom
-Icon=%{name}
-Terminal=false
-Type=Application
-Categories=Game;Emulator;
-EOF
-
%install
%make_install DEB_BUILD_OPTIONS=nostrip
# Install ROM
-mkdir -p %{buildroot}%{_datadir}/%{name}/roms
-install -pm0644 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/roms/dragon-minifirm.rom
+install -d -m 755 %{buildroot}%{_datadir}/%{name}/roms
+install -p -m 644 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/roms/dragon-minifirm.rom
# Extract Mac OS X icons
icns2png -x src/macosx/%{name}.icns
@@ -89,36 +66,18 @@ done
# Install desktop files
desktop-file-install \
--dir %{buildroot}%{_datadir}/applications \
- %{name}.desktop
+ %{SOURCE2}
desktop-file-install \
--dir %{buildroot}%{_datadir}/applications \
- %{name}-minifirm.desktop
-
-rm -f %{buildroot}%{_infodir}/dir
-
-
-%post
-/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
-
-touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+ %{SOURCE3}
+# Install AppData file
+install -d -m 755 %{buildroot}%{_datadir}/metainfo
+install -p -m 644 %{SOURCE4} %{buildroot}%{_datadir}/metainfo
+appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.appdata.xml
-%postun
-if [ $1 -eq 0 ] ; then
- touch --no-create %{_datadir}/icons/hicolor &>/dev/null
- gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-fi
-
-
-%posttrans
-gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-
-
-%preun
-if [ $1 = 0 ] ; then
- /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
-fi
+rm -f %{buildroot}%{_infodir}/dir
%files
@@ -127,6 +86,7 @@ fi
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%{_datadir}/applications/%{name}.desktop
%{_datadir}/applications/%{name}-minifirm.desktop
+%{_datadir}/metainfo/%{name}.appdata.xml
%{_infodir}/%{name}*
%{_mandir}/man1/%{name}.1*
%license COPYING.GPL COPYING.LGPL-2.1
@@ -136,6 +96,11 @@ fi
%changelog
+* Tue Jun 26 2018 Andrea Musuruane <musuruan(a)gmail.com> - 0.34.8-3
+- Added gcc dependency
+- Dropped obsolete scriptlets
+- Added AppData file
+
* Thu Mar 01 2018 RPM Fusion Release Engineering <leigh123linux(a)googlemail.com> - 0.34.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6 years, 5 months
[qtox/f27] Rebuilt for toxcore soname bump
by Robert-André Mauchin
commit 8851e7b0d96a29fbf7a3b307cfa4130b4b249dce
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Tue Jun 26 16:43:22 2018 +0200
Rebuilt for toxcore soname bump
qtox.spec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/qtox.spec b/qtox.spec
index f4d37a8..8fb9cbf 100644
--- a/qtox.spec
+++ b/qtox.spec
@@ -1,6 +1,6 @@
Name: qtox
Version: 1.15.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Feature-rich Tox client
# Main program: GPLv3+
@@ -87,6 +87,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/qTox.appd
%changelog
+* Tue Jun 26 2018 Robert-André Mauchin <zebob.m(a)gmail.com> - 1.15.0-3
+- Rebuilt for toxcore soname bump
+
* Thu May 10 2018 Robert-André Mauchin <zebob.m(a)gmail.com> - 1.15.0-2
- Rebuild with new Toxcore
@@ -111,4 +114,3 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/qTox.appd
* Sat Jul 29 2017 Robert-André Mauchin <zebob.m(a)gmail.com> 1.11.0-1
- First RPM release
-
6 years, 5 months
[qtox] Rebuilt for toxcore soname bump
by Robert-André Mauchin
commit f909b7f68fc6b8980c676748b7ce8e20ed4a805d
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Tue Jun 26 16:43:22 2018 +0200
Rebuilt for toxcore soname bump
qtox.spec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/qtox.spec b/qtox.spec
index f4d37a8..8fb9cbf 100644
--- a/qtox.spec
+++ b/qtox.spec
@@ -1,6 +1,6 @@
Name: qtox
Version: 1.15.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Feature-rich Tox client
# Main program: GPLv3+
@@ -87,6 +87,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/qTox.appd
%changelog
+* Tue Jun 26 2018 Robert-André Mauchin <zebob.m(a)gmail.com> - 1.15.0-3
+- Rebuilt for toxcore soname bump
+
* Thu May 10 2018 Robert-André Mauchin <zebob.m(a)gmail.com> - 1.15.0-2
- Rebuild with new Toxcore
@@ -111,4 +114,3 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/qTox.appd
* Sat Jul 29 2017 Robert-André Mauchin <zebob.m(a)gmail.com> 1.11.0-1
- First RPM release
-
6 years, 5 months
[qtox/f28] Rebuilt for toxcore soname bump
by Robert-André Mauchin
commit 9dde159bf752ce84ebb9cd09285c5a3063741c05
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Tue Jun 26 16:01:29 2018 +0200
Rebuilt for toxcore soname bump
qtox.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/qtox.spec b/qtox.spec
index f4d37a8..e973df7 100644
--- a/qtox.spec
+++ b/qtox.spec
@@ -1,6 +1,6 @@
Name: qtox
Version: 1.15.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Feature-rich Tox client
# Main program: GPLv3+
@@ -87,6 +87,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/qTox.appd
%changelog
+* Tue Jun 26 2018 Robert-André Mauchin <zebob.m(a)gmail.com> - 1.15.0-3
+- Rebuilt for toxcore soname bump
+
* Thu May 10 2018 Robert-André Mauchin <zebob.m(a)gmail.com> - 1.15.0-2
- Rebuild with new Toxcore
6 years, 5 months
[lpf-flash-plugin] Update to 30.0.0.113
by Sérgio M. Basto
commit ee94d0df8fd98149372056844c02f37c0ae611f1
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Tue Jun 26 02:39:50 2018 +0100
Update to 30.0.0.113
flash-plugin.spec.in | 5 ++++-
lpf-flash-plugin.spec | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/flash-plugin.spec.in b/flash-plugin.spec.in
index 6f0bfc4..592c3da 100644
--- a/flash-plugin.spec.in
+++ b/flash-plugin.spec.in
@@ -2,7 +2,7 @@
%global __strip /bin/true
Name: flash-plugin
-Version: 29.0.0.171
+Version: 30.0.0.113
Release: 1%{?dist}
Epoch: 1
Summary: Adobe Flash Player
@@ -75,6 +75,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_datadir}/icons/hicolor/*/apps/flash-player-properties.png
%changelog
+* Tue Jun 26 2018 Sérgio Basto <sergio(a)serjux.com> - 1:30.0.0.113-1
+- Update to 30.0.0.113
+
* Sun May 20 2018 Sérgio Basto <sergio(a)serjux.com> - 1:29.0.0.171-1
- Update to 29.0.0.171
diff --git a/lpf-flash-plugin.spec b/lpf-flash-plugin.spec
index 6c605ac..d622789 100644
--- a/lpf-flash-plugin.spec
+++ b/lpf-flash-plugin.spec
@@ -5,7 +5,7 @@
%define target_pkg %(t=%{name}; echo ${t#lpf-})
Name: lpf-flash-plugin
-Version: 29.0.0.171
+Version: 30.0.0.113
Release: 1%{?dist}
Epoch: 1
Summary: Adobe Flash Player package bootstrap
@@ -67,6 +67,9 @@ fi
%changelog
+* Tue Jun 26 2018 Sérgio Basto <sergio(a)serjux.com> - 1:30.0.0.113-1
+- Update to 30.0.0.113
+
* Sun May 20 2018 Sérgio Basto <sergio(a)serjux.com> - 1:29.0.0.171-1
- Update to 29.0.0.171
6 years, 5 months