From 270a060c602bd415ed150090978e05b4ea312de9 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 21 Jul 2012 23:20:04 -0500 Subject: [PATCH 01/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild --- xarchon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xarchon.spec b/xarchon.spec index 330e928..9ff0bb7 100644 --- a/xarchon.spec +++ b/xarchon.spec @@ -1,6 +1,6 @@ Name: xarchon Version: 0.50 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Arcade board game Group: Amusements/Games License: GPL+ @@ -76,6 +76,9 @@ fi %changelog +* Sun Jul 22 2012 Fedora Release Engineering - 0.50-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + * Sat Jan 14 2012 Fedora Release Engineering - 0.50-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild From f0f7be692baafeb418fe777ec6b48ab5bf9a6743 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Sun, 10 Feb 2013 10:29:02 +0530 Subject: [PATCH 02/26] Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077 - Cleanup spec as per recently changed packaging guidelines --- xarchon.spec | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/xarchon.spec b/xarchon.spec index 9ff0bb7..db5fa72 100644 --- a/xarchon.spec +++ b/xarchon.spec @@ -1,6 +1,6 @@ Name: xarchon Version: 0.50 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Arcade board game Group: Amusements/Games License: GPL+ @@ -11,7 +11,6 @@ Patch0: %{name}-fonts.patch Patch1: %{name}-destdir.patch Patch2: http://ftp.debian.org/debian/pool/main/x/%{name}/%{name}_0.50-10.1.diff.gz Patch3: xarchon-0.50-gcc43.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gtk+-devel esound-devel libXpm-devel BuildRequires: desktop-file-utils ImageMagick Requires: hicolor-icon-theme @@ -35,12 +34,11 @@ convert data/icon.xpm %{name}.png %install -rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" # below is the desktop file and icon stuff. mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications -desktop-file-install --vendor fedora \ +desktop-file-install \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ %{SOURCE1} mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps @@ -48,10 +46,6 @@ install -p -m 644 %{name}.png \ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps -%clean -rm -rf $RPM_BUILD_ROOT - - %post touch --no-create %{_datadir}/icons/hicolor || : if [ -x %{_bindir}/gtk-update-icon-cache ]; then @@ -66,16 +60,19 @@ fi %files -%defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING README %{_bindir}/%{name} %{_datadir}/%{name} -%{_datadir}/applications/fedora-%{name}.desktop +%{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/32x32/apps/%{name}.png %{_mandir}/man6/%{name}.6.gz %changelog +* Sun Feb 10 2013 Parag Nemade - 0.50-14 +- Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077 +- Cleanup spec as per recently changed packaging guidelines + * Sun Jul 22 2012 Fedora Release Engineering - 0.50-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild From f9d440c6e1ee40239a346e38a449c0e6d9509a31 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sun, 4 Aug 2013 02:32:33 -0500 Subject: [PATCH 03/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- xarchon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xarchon.spec b/xarchon.spec index db5fa72..fa954e5 100644 --- a/xarchon.spec +++ b/xarchon.spec @@ -1,6 +1,6 @@ Name: xarchon Version: 0.50 -Release: 14%{?dist} +Release: 15%{?dist} Summary: Arcade board game Group: Amusements/Games License: GPL+ @@ -69,6 +69,9 @@ fi %changelog +* Sun Aug 04 2013 Fedora Release Engineering - 0.50-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Sun Feb 10 2013 Parag Nemade - 0.50-14 - Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077 - Cleanup spec as per recently changed packaging guidelines From 6753810acb59eed28077de4d482397ce9c5636d5 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sun, 8 Jun 2014 00:10:23 -0500 Subject: [PATCH 04/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- xarchon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xarchon.spec b/xarchon.spec index fa954e5..66d9614 100644 --- a/xarchon.spec +++ b/xarchon.spec @@ -1,6 +1,6 @@ Name: xarchon Version: 0.50 -Release: 15%{?dist} +Release: 16%{?dist} Summary: Arcade board game Group: Amusements/Games License: GPL+ @@ -69,6 +69,9 @@ fi %changelog +* Sun Jun 08 2014 Fedora Release Engineering - 0.50-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Sun Aug 04 2013 Fedora Release Engineering - 0.50-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild From f9aeffc58cc4786e29e254758f48554a2d7b47bf Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Mon, 18 Aug 2014 09:12:07 +0000 Subject: [PATCH 05/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- xarchon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xarchon.spec b/xarchon.spec index 66d9614..aa639dd 100644 --- a/xarchon.spec +++ b/xarchon.spec @@ -1,6 +1,6 @@ Name: xarchon Version: 0.50 -Release: 16%{?dist} +Release: 17%{?dist} Summary: Arcade board game Group: Amusements/Games License: GPL+ @@ -69,6 +69,9 @@ fi %changelog +* Mon Aug 18 2014 Fedora Release Engineering - 0.50-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Sun Jun 08 2014 Fedora Release Engineering - 0.50-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From 12a82f4a706dd4150395d3ef4b2b7a321750626a Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Sun, 3 May 2015 16:12:53 +0200 Subject: [PATCH 06/26] Rebuilt for GCC 5 C++11 ABI change --- xarchon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xarchon.spec b/xarchon.spec index aa639dd..dad3a8b 100644 --- a/xarchon.spec +++ b/xarchon.spec @@ -1,6 +1,6 @@ Name: xarchon Version: 0.50 -Release: 17%{?dist} +Release: 18%{?dist} Summary: Arcade board game Group: Amusements/Games License: GPL+ @@ -69,6 +69,9 @@ fi %changelog +* Sun May 03 2015 Kalev Lember - 0.50-18 +- Rebuilt for GCC 5 C++11 ABI change + * Mon Aug 18 2014 Fedora Release Engineering - 0.50-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild From b4f0d35f910eaabd7ed80427ce1c8644d43f2f9d Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 19 Jun 2015 03:43:00 +0000 Subject: [PATCH 07/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- xarchon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xarchon.spec b/xarchon.spec index dad3a8b..cc908d8 100644 --- a/xarchon.spec +++ b/xarchon.spec @@ -1,6 +1,6 @@ Name: xarchon Version: 0.50 -Release: 18%{?dist} +Release: 19%{?dist} Summary: Arcade board game Group: Amusements/Games License: GPL+ @@ -69,6 +69,9 @@ fi %changelog +* Fri Jun 19 2015 Fedora Release Engineering - 0.50-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Sun May 03 2015 Kalev Lember - 0.50-18 - Rebuilt for GCC 5 C++11 ABI change From faebb7c91d8de37a49ca7f966712a17f2038d02c Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sun, 12 Jul 2015 17:14:00 +0100 Subject: [PATCH 08/26] drop esound support, it should just work with emulated OSS via pulseaudio, if it doesn't I would suggest investigating SDL as it looks like it'll support that --- xarchon.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/xarchon.spec b/xarchon.spec index cc908d8..8248eaa 100644 --- a/xarchon.spec +++ b/xarchon.spec @@ -1,6 +1,6 @@ Name: xarchon Version: 0.50 -Release: 19%{?dist} +Release: 20%{?dist} Summary: Arcade board game Group: Amusements/Games License: GPL+ @@ -11,7 +11,7 @@ Patch0: %{name}-fonts.patch Patch1: %{name}-destdir.patch Patch2: http://ftp.debian.org/debian/pool/main/x/%{name}/%{name}_0.50-10.1.diff.gz Patch3: xarchon-0.50-gcc43.patch -BuildRequires: gtk+-devel esound-devel libXpm-devel +BuildRequires: gtk+-devel libXpm-devel BuildRequires: desktop-file-utils ImageMagick Requires: hicolor-icon-theme @@ -69,6 +69,9 @@ fi %changelog +* Sun Jul 12 2015 Peter Robinson 0.50-20 +- drop esound support + * Fri Jun 19 2015 Fedora Release Engineering - 0.50-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From b1ea2edd9a8155f5c86727185d8509fdc31c104f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 5 Feb 2016 03:15:44 +0000 Subject: [PATCH 09/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- xarchon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xarchon.spec b/xarchon.spec index 8248eaa..ce9abf1 100644 --- a/xarchon.spec +++ b/xarchon.spec @@ -1,6 +1,6 @@ Name: xarchon Version: 0.50 -Release: 20%{?dist} +Release: 21%{?dist} Summary: Arcade board game Group: Amusements/Games License: GPL+ @@ -69,6 +69,9 @@ fi %changelog +* Fri Feb 05 2016 Fedora Release Engineering - 0.50-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Sun Jul 12 2015 Peter Robinson 0.50-20 - drop esound support From cd00f121bd813aedb13d33c36f0e155b2e720012 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Tue, 23 Feb 2016 11:06:24 +0100 Subject: [PATCH 10/26] Add appdata --- xarchon.appdata.xml | 29 +++++++++++++++++++++++++++++ xarchon.desktop | 2 +- xarchon.spec | 38 ++++++++++++++++++++++++-------------- 3 files changed, 54 insertions(+), 15 deletions(-) create mode 100644 xarchon.appdata.xml diff --git a/xarchon.appdata.xml b/xarchon.appdata.xml new file mode 100644 index 0000000..bf95b90 --- /dev/null +++ b/xarchon.appdata.xml @@ -0,0 +1,29 @@ + + + xarchon.desktop + CC0-1.0 + GPL-1.0+ + XArchon + Chess like board game + +

+ In XArchon the Light Side and Dark Side fight over control of a chess-like + board. Each side is composed of 18 fantastic creatures of myth and legend, + which are represented by images (or icons). While not identical, the + opposing sides are balanced in strength. +

+

+ When two creatures end up on the same square, the game goes into field + mode and a battle begins between the two creatures. During this battle + the creatures are controller by the players and it is not necessarily + the creature which entered the square last which wins. +

+
+ http://xarchon.seul.org/ + http://xarchon.seul.org/rules.html + + http://xarchon.seul.org/img/snap-1.gif + http://xarchon.seul.org/img/snap-2.gif + + jwrdegoede_at_fedoraproject.org +
diff --git a/xarchon.desktop b/xarchon.desktop index 4bad503..7d4cb87 100644 --- a/xarchon.desktop +++ b/xarchon.desktop @@ -1,5 +1,4 @@ [Desktop Entry] -Encoding=UTF-8 Name=XArchon Comment=Chess like board game Exec=xarchon @@ -7,3 +6,4 @@ Icon=xarchon Terminal=false Type=Application Categories=Game;BoardGame; +Keywords=game;archon;chess; diff --git a/xarchon.spec b/xarchon.spec index ce9abf1..afbb13a 100644 --- a/xarchon.spec +++ b/xarchon.spec @@ -1,18 +1,19 @@ Name: xarchon Version: 0.50 -Release: 21%{?dist} +Release: 22%{?dist} Summary: Arcade board game Group: Amusements/Games License: GPL+ URL: http://xarchon.seul.org/ Source0: http://xarchon.seul.org/%{name}-%{version}.tar.gz Source1: %{name}.desktop +Source2: %{name}.appdata.xml Patch0: %{name}-fonts.patch Patch1: %{name}-destdir.patch Patch2: http://ftp.debian.org/debian/pool/main/x/%{name}/%{name}_0.50-10.1.diff.gz Patch3: xarchon-0.50-gcc43.patch BuildRequires: gtk+-devel libXpm-devel -BuildRequires: desktop-file-utils ImageMagick +BuildRequires: desktop-file-utils ImageMagick libappstream-glib Requires: hicolor-icon-theme %description @@ -30,7 +31,7 @@ XArchon is a chess with a twist board game. %build %configure make %{?_smp_mflags} -convert data/icon.xpm %{name}.png +convert -resize 64x64 data/icon.xpm %{name}.png %install @@ -41,34 +42,43 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications desktop-file-install \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ %{SOURCE1} -mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps +mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps install -p -m 644 %{name}.png \ - $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps + $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps +mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata +install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/appdata +appstream-util validate-relax --nonet \ + $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml %post -touch --no-create %{_datadir}/icons/hicolor || : -if [ -x %{_bindir}/gtk-update-icon-cache ]; then - %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : -fi +touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun -touch --no-create %{_datadir}/icons/hicolor || : -if [ -x %{_bindir}/gtk-update-icon-cache ]; then - %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +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 || : + %files -%doc AUTHORS ChangeLog COPYING README +%doc AUTHORS ChangeLog README +%license COPYING %{_bindir}/%{name} %{_datadir}/%{name} +%{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/applications/%{name}.desktop -%{_datadir}/icons/hicolor/32x32/apps/%{name}.png +%{_datadir}/icons/hicolor/64x64/apps/%{name}.png %{_mandir}/man6/%{name}.6.gz %changelog +* Tue Feb 23 2016 Hans de Goede - 0.50-22 +- Add appdata + * Fri Feb 05 2016 Fedora Release Engineering - 0.50-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From f85cd9acd98e9337ee7ccdd0db2821b6508da5e3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 11 Feb 2017 17:38:25 +0000 Subject: [PATCH 11/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- xarchon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xarchon.spec b/xarchon.spec index afbb13a..23562ca 100644 --- a/xarchon.spec +++ b/xarchon.spec @@ -1,6 +1,6 @@ Name: xarchon Version: 0.50 -Release: 22%{?dist} +Release: 23%{?dist} Summary: Arcade board game Group: Amusements/Games License: GPL+ @@ -76,6 +76,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Sat Feb 11 2017 Fedora Release Engineering - 0.50-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Tue Feb 23 2016 Hans de Goede - 0.50-22 - Add appdata From f8ef9257dd5c0c9d566bcdacc4aa0c9db442a05d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 27 Jul 2017 21:52:20 +0000 Subject: [PATCH 12/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- xarchon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xarchon.spec b/xarchon.spec index 23562ca..6d0e289 100644 --- a/xarchon.spec +++ b/xarchon.spec @@ -1,6 +1,6 @@ Name: xarchon Version: 0.50 -Release: 23%{?dist} +Release: 24%{?dist} Summary: Arcade board game Group: Amusements/Games License: GPL+ @@ -76,6 +76,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Thu Jul 27 2017 Fedora Release Engineering - 0.50-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Sat Feb 11 2017 Fedora Release Engineering - 0.50-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From 04d4036a17c913c70cfabf1c1beff8f1434d531a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 3 Aug 2017 10:27:46 +0000 Subject: [PATCH 13/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild --- xarchon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xarchon.spec b/xarchon.spec index 6d0e289..3454e2f 100644 --- a/xarchon.spec +++ b/xarchon.spec @@ -1,6 +1,6 @@ Name: xarchon Version: 0.50 -Release: 24%{?dist} +Release: 25%{?dist} Summary: Arcade board game Group: Amusements/Games License: GPL+ @@ -76,6 +76,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Thu Aug 03 2017 Fedora Release Engineering - 0.50-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Thu Jul 27 2017 Fedora Release Engineering - 0.50-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From 577babc02c8cb40478ba7e487d270fabc628bf1e Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sun, 14 Jan 2018 17:51:40 +0100 Subject: [PATCH 14/26] Re-enable esound support, it is the only supported sound output (#1534185) --- xarchon.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/xarchon.spec b/xarchon.spec index 3454e2f..53916f4 100644 --- a/xarchon.spec +++ b/xarchon.spec @@ -1,6 +1,6 @@ Name: xarchon Version: 0.50 -Release: 25%{?dist} +Release: 26%{?dist} Summary: Arcade board game Group: Amusements/Games License: GPL+ @@ -12,7 +12,7 @@ Patch0: %{name}-fonts.patch Patch1: %{name}-destdir.patch Patch2: http://ftp.debian.org/debian/pool/main/x/%{name}/%{name}_0.50-10.1.diff.gz Patch3: xarchon-0.50-gcc43.patch -BuildRequires: gtk+-devel libXpm-devel +BuildRequires: gtk+-devel esound-devel libXpm-devel BuildRequires: desktop-file-utils ImageMagick libappstream-glib Requires: hicolor-icon-theme @@ -76,6 +76,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Sun Jan 14 2018 Hans de Goede - 0.50-26 +- Re-enable esound support, it is the only supported sound output (#1534185) + * Thu Aug 03 2017 Fedora Release Engineering - 0.50-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild From 3230360209c5a6a3061c38976c3fa35bb196200d Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 18 Jan 2018 22:51:19 +0100 Subject: [PATCH 15/26] Remove obsolete scriptlets Signed-off-by: Igor Gnatenko --- xarchon.spec | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/xarchon.spec b/xarchon.spec index 53916f4..7dcabc4 100644 --- a/xarchon.spec +++ b/xarchon.spec @@ -1,6 +1,6 @@ Name: xarchon Version: 0.50 -Release: 26%{?dist} +Release: 27%{?dist} Summary: Arcade board game Group: Amusements/Games License: GPL+ @@ -50,20 +50,6 @@ install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/appdata appstream-util validate-relax --nonet \ $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml - -%post -touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : - -%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 || : - - %files %doc AUTHORS ChangeLog README %license COPYING @@ -76,6 +62,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Thu Jan 18 2018 Igor Gnatenko - 0.50-27 +- Remove obsolete scriptlets + * Sun Jan 14 2018 Hans de Goede - 0.50-26 - Re-enable esound support, it is the only supported sound output (#1534185) From 0bd673502f4f703d7c8803d554b31ab13e34bd7e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 9 Feb 2018 21:18:55 +0000 Subject: [PATCH 16/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- xarchon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xarchon.spec b/xarchon.spec index 7dcabc4..cc4f314 100644 --- a/xarchon.spec +++ b/xarchon.spec @@ -1,6 +1,6 @@ Name: xarchon Version: 0.50 -Release: 27%{?dist} +Release: 28%{?dist} Summary: Arcade board game Group: Amusements/Games License: GPL+ @@ -62,6 +62,9 @@ appstream-util validate-relax --nonet \ %changelog +* Fri Feb 09 2018 Fedora Release Engineering - 0.50-28 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Thu Jan 18 2018 Igor Gnatenko - 0.50-27 - Remove obsolete scriptlets From 958a421d975ccf9ebc5682672d252fa31da30c7f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 14 Jul 2018 09:05:29 +0000 Subject: [PATCH 17/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- xarchon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xarchon.spec b/xarchon.spec index cc4f314..f54faa1 100644 --- a/xarchon.spec +++ b/xarchon.spec @@ -1,6 +1,6 @@ Name: xarchon Version: 0.50 -Release: 28%{?dist} +Release: 29%{?dist} Summary: Arcade board game Group: Amusements/Games License: GPL+ @@ -62,6 +62,9 @@ appstream-util validate-relax --nonet \ %changelog +* Sat Jul 14 2018 Fedora Release Engineering - 0.50-29 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Fri Feb 09 2018 Fedora Release Engineering - 0.50-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From ca3774796e06571d77f14acb0764e72ad75ae6a4 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:18:30 +0100 Subject: [PATCH 18/26] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- xarchon.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/xarchon.spec b/xarchon.spec index f54faa1..f0cfe98 100644 --- a/xarchon.spec +++ b/xarchon.spec @@ -2,7 +2,6 @@ Name: xarchon Version: 0.50 Release: 29%{?dist} Summary: Arcade board game -Group: Amusements/Games License: GPL+ URL: http://xarchon.seul.org/ Source0: http://xarchon.seul.org/%{name}-%{version}.tar.gz From 830c2cd3b5053f7141ec969316b56eaef6415aa7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 3 Feb 2019 12:05:51 +0000 Subject: [PATCH 19/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- xarchon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xarchon.spec b/xarchon.spec index f0cfe98..ba0a03b 100644 --- a/xarchon.spec +++ b/xarchon.spec @@ -1,6 +1,6 @@ Name: xarchon Version: 0.50 -Release: 29%{?dist} +Release: 30%{?dist} Summary: Arcade board game License: GPL+ URL: http://xarchon.seul.org/ @@ -61,6 +61,9 @@ appstream-util validate-relax --nonet \ %changelog +* Sun Feb 03 2019 Fedora Release Engineering - 0.50-30 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sat Jul 14 2018 Fedora Release Engineering - 0.50-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From c66c98d301493143bdcb9b00fcfdcd880be43ff9 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sat, 23 Feb 2019 15:19:58 +0100 Subject: [PATCH 20/26] Fix FTBFS (rhbz#1676225) --- xarchon-destdir.patch | 8 ++++---- xarchon.spec | 20 +++++++++----------- 2 files changed, 13 insertions(+), 15 deletions(-) diff --git a/xarchon-destdir.patch b/xarchon-destdir.patch index f6f721c..01fcdc5 100644 --- a/xarchon-destdir.patch +++ b/xarchon-destdir.patch @@ -1,5 +1,5 @@ ---- data/Makefile.am~ 1999-10-16 01:33:45.000000000 +0300 -+++ data/Makefile.am 2003-09-14 14:32:25.000000000 +0300 +--- a/data/Makefile.am~ 1999-10-16 01:33:45.000000000 +0300 ++++ b/data/Makefile.am 2003-09-14 14:32:25.000000000 +0300 @@ -7,8 +7,8 @@ echo "--> Installing theme '$$theme'"; \ THEME_DIRS=`find $$theme -type d`; \ @@ -11,8 +11,8 @@ done; \ THEME_FILES=`find $$theme -type f`; \ for p in $$THEME_FILES; do \ ---- data/Makefile.in~ 1999-12-03 19:12:06.000000000 +0200 -+++ data/Makefile.in 2003-09-14 14:43:46.000000000 +0300 +--- a/data/Makefile.in~ 1999-12-03 19:12:06.000000000 +0200 ++++ b/data/Makefile.in 2003-09-14 14:43:46.000000000 +0300 @@ -210,8 +210,8 @@ echo "--> Installing theme '$$theme'"; \ THEME_DIRS=`find $$theme -type d`; \ diff --git a/xarchon.spec b/xarchon.spec index ba0a03b..8f310f2 100644 --- a/xarchon.spec +++ b/xarchon.spec @@ -1,6 +1,6 @@ Name: xarchon Version: 0.50 -Release: 30%{?dist} +Release: 31%{?dist} Summary: Arcade board game License: GPL+ URL: http://xarchon.seul.org/ @@ -11,7 +11,7 @@ Patch0: %{name}-fonts.patch Patch1: %{name}-destdir.patch Patch2: http://ftp.debian.org/debian/pool/main/x/%{name}/%{name}_0.50-10.1.diff.gz Patch3: xarchon-0.50-gcc43.patch -BuildRequires: gtk+-devel esound-devel libXpm-devel +BuildRequires: gcc gcc-c++ gtk+-devel esound-devel libXpm-devel BuildRequires: desktop-file-utils ImageMagick libappstream-glib Requires: hicolor-icon-theme @@ -20,11 +20,7 @@ XArchon is a chess with a twist board game. %prep -%setup -q -%patch0 -p1 -%patch1 -p0 -%patch2 -p1 -%patch3 -p1 +%autosetup -p1 %build @@ -34,13 +30,11 @@ convert -resize 64x64 data/icon.xpm %{name}.png %install -make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" +%make_install INSTALL="install -p" # below is the desktop file and icon stuff. mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications -desktop-file-install \ - --dir $RPM_BUILD_ROOT%{_datadir}/applications \ - %{SOURCE1} +desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1} mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps install -p -m 644 %{name}.png \ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps @@ -49,6 +43,7 @@ install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/appdata appstream-util validate-relax --nonet \ $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml + %files %doc AUTHORS ChangeLog README %license COPYING @@ -61,6 +56,9 @@ appstream-util validate-relax --nonet \ %changelog +* Sat Feb 23 2019 Hans de Goede - 0.50-31 +- Fix FTBFS (rhbz#1676225) + * Sun Feb 03 2019 Fedora Release Engineering - 0.50-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 9a543e9db870fb9a533f9869f7282d91abe00ebb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jul 2019 03:51:56 +0000 Subject: [PATCH 21/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- xarchon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xarchon.spec b/xarchon.spec index 8f310f2..6b9f50a 100644 --- a/xarchon.spec +++ b/xarchon.spec @@ -1,6 +1,6 @@ Name: xarchon Version: 0.50 -Release: 31%{?dist} +Release: 32%{?dist} Summary: Arcade board game License: GPL+ URL: http://xarchon.seul.org/ @@ -56,6 +56,9 @@ appstream-util validate-relax --nonet \ %changelog +* Sat Jul 27 2019 Fedora Release Engineering - 0.50-32 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sat Feb 23 2019 Hans de Goede - 0.50-31 - Fix FTBFS (rhbz#1676225) From 60fc3cc38bd550ade3f724ce6deea162d63bc269 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 31 Jan 2020 04:05:28 +0000 Subject: [PATCH 22/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- xarchon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xarchon.spec b/xarchon.spec index 6b9f50a..bb48ad4 100644 --- a/xarchon.spec +++ b/xarchon.spec @@ -1,6 +1,6 @@ Name: xarchon Version: 0.50 -Release: 32%{?dist} +Release: 33%{?dist} Summary: Arcade board game License: GPL+ URL: http://xarchon.seul.org/ @@ -56,6 +56,9 @@ appstream-util validate-relax --nonet \ %changelog +* Fri Jan 31 2020 Fedora Release Engineering - 0.50-33 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Sat Jul 27 2019 Fedora Release Engineering - 0.50-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 3e3eed283b9b5bce72d9507f1d45b644daf41f40 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 14:27:01 +0000 Subject: [PATCH 23/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- xarchon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xarchon.spec b/xarchon.spec index bb48ad4..d5b1741 100644 --- a/xarchon.spec +++ b/xarchon.spec @@ -1,6 +1,6 @@ Name: xarchon Version: 0.50 -Release: 33%{?dist} +Release: 34%{?dist} Summary: Arcade board game License: GPL+ URL: http://xarchon.seul.org/ @@ -56,6 +56,9 @@ appstream-util validate-relax --nonet \ %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 0.50-34 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jan 31 2020 Fedora Release Engineering - 0.50-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 5c9e608cf200d5fd72ab8b69d92974514b111fe7 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 9 Jan 2021 01:07:17 +0000 Subject: [PATCH 24/26] Add BuildRequires: make https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot --- xarchon.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/xarchon.spec b/xarchon.spec index d5b1741..feaf9db 100644 --- a/xarchon.spec +++ b/xarchon.spec @@ -11,6 +11,7 @@ Patch0: %{name}-fonts.patch Patch1: %{name}-destdir.patch Patch2: http://ftp.debian.org/debian/pool/main/x/%{name}/%{name}_0.50-10.1.diff.gz Patch3: xarchon-0.50-gcc43.patch +BuildRequires: make BuildRequires: gcc gcc-c++ gtk+-devel esound-devel libXpm-devel BuildRequires: desktop-file-utils ImageMagick libappstream-glib Requires: hicolor-icon-theme From f6a963bf3c7afa899f373b45ff89bfd909fac938 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 23:47:16 +0000 Subject: [PATCH 25/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- xarchon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xarchon.spec b/xarchon.spec index feaf9db..cc25da0 100644 --- a/xarchon.spec +++ b/xarchon.spec @@ -1,6 +1,6 @@ Name: xarchon Version: 0.50 -Release: 34%{?dist} +Release: 35%{?dist} Summary: Arcade board game License: GPL+ URL: http://xarchon.seul.org/ @@ -57,6 +57,9 @@ appstream-util validate-relax --nonet \ %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 0.50-35 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Wed Jul 29 2020 Fedora Release Engineering - 0.50-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 41307f717a7d02be488b81114c352572ece8d3b6 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Thu, 27 May 2021 19:38:34 +0200 Subject: [PATCH 26/26] xarchon is dead upstream and it was never really fully finished before upstream stopped working on it. On top of this it is using the very obsolete gtk+ toolkit. If, like me, you are an Archon fan I suggest you play the original in a c64 emulator --- .gitignore | 2 - dead.package | 1 + sources | 2 - xarchon-0.50-gcc43.patch | 19 ---- xarchon-destdir.patch | 26 ------ xarchon-fonts.patch | 22 ----- xarchon.appdata.xml | 29 ------ xarchon.desktop | 9 -- xarchon.spec | 188 --------------------------------------- 9 files changed, 1 insertion(+), 297 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 sources delete mode 100644 xarchon-0.50-gcc43.patch delete mode 100644 xarchon-destdir.patch delete mode 100644 xarchon-fonts.patch delete mode 100644 xarchon.appdata.xml delete mode 100644 xarchon.desktop delete mode 100644 xarchon.spec diff --git a/.gitignore b/.gitignore deleted file mode 100644 index fad7791..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -xarchon_0.50-10.1.diff.gz -xarchon-0.50.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..f20a9de --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +xarchon is dead upstream and it was never really fully finished before upstream stopped working on it. On top of this it is using the very obsolete gtk+ toolkit. If, like me, you are an Archon fan I suggest you play the original in a c64 emulator diff --git a/sources b/sources deleted file mode 100644 index cb1ee45..0000000 --- a/sources +++ /dev/null @@ -1,2 +0,0 @@ -c883ed2fffc51545160732d63d70106a xarchon_0.50-10.1.diff.gz -491dea5b4e61ed13cd988d1c184a8ef0 xarchon-0.50.tar.gz diff --git a/xarchon-0.50-gcc43.patch b/xarchon-0.50-gcc43.patch deleted file mode 100644 index 4b34f97..0000000 --- a/xarchon-0.50-gcc43.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -up xarchon-0.50/src/Genetic.hpp~ xarchon-0.50/src/Genetic.hpp ---- xarchon-0.50/src/Genetic.hpp~ 2008-01-11 22:40:09.000000000 +0100 -+++ xarchon-0.50/src/Genetic.hpp 2008-01-11 22:40:09.000000000 +0100 -@@ -2,6 +2,7 @@ - #define GENETIC_HPP - - #include -+#include - using namespace std; - - /* ********************************************** -diff -up xarchon-0.50/src/Xarchon_Problem.cpp~ xarchon-0.50/src/Xarchon_Problem.cpp ---- xarchon-0.50/src/Xarchon_Problem.cpp~ 2008-01-11 22:40:27.000000000 +0100 -+++ xarchon-0.50/src/Xarchon_Problem.cpp 2008-01-11 22:40:27.000000000 +0100 -@@ -1,3 +1,4 @@ -+#include - #include "Xarchon_Problem.hpp" - #include "Xarchon_Interface.hpp" - diff --git a/xarchon-destdir.patch b/xarchon-destdir.patch deleted file mode 100644 index 01fcdc5..0000000 --- a/xarchon-destdir.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- a/data/Makefile.am~ 1999-10-16 01:33:45.000000000 +0300 -+++ b/data/Makefile.am 2003-09-14 14:32:25.000000000 +0300 -@@ -7,8 +7,8 @@ - echo "--> Installing theme '$$theme'"; \ - THEME_DIRS=`find $$theme -type d`; \ - for p in $$THEME_DIRS; do \ -- echo "mkdir $(pkgdatadir)/$$p"; \ -- mkdir $(pkgdatadir)/$$p; \ -+ echo "mkdir $(DESTDIR)$(pkgdatadir)/$$p"; \ -+ mkdir $(DESTDIR)$(pkgdatadir)/$$p; \ - done; \ - THEME_FILES=`find $$theme -type f`; \ - for p in $$THEME_FILES; do \ ---- a/data/Makefile.in~ 1999-12-03 19:12:06.000000000 +0200 -+++ b/data/Makefile.in 2003-09-14 14:43:46.000000000 +0300 -@@ -210,8 +210,8 @@ - echo "--> Installing theme '$$theme'"; \ - THEME_DIRS=`find $$theme -type d`; \ - for p in $$THEME_DIRS; do \ -- echo "mkdir $(pkgdatadir)/$$p"; \ -- mkdir $(pkgdatadir)/$$p; \ -+ echo "mkdir $(DESTDIR)$(pkgdatadir)/$$p"; \ -+ mkdir $(DESTDIR)$(pkgdatadir)/$$p; \ - done; \ - THEME_FILES=`find $$theme -type f`; \ - for p in $$THEME_FILES; do \ diff --git a/xarchon-fonts.patch b/xarchon-fonts.patch deleted file mode 100644 index 53c5485..0000000 --- a/xarchon-fonts.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- xarchon-0.50/src/board.c.orig 2002-09-26 08:28:46.000000000 -0400 -+++ xarchon-0.50/src/board.c 2002-09-26 08:29:02.000000000 -0400 -@@ -27,7 +27,7 @@ - #define FLOOR_DARK 0 /* steppings for light and dark */ - #define FLOOR_LIGHT 7 /* outside luminance cycle */ - --#define FONT_NAME "-misc-fixed-medium-*-normal-*-15-0-*-*-*-*-iso8859-1" -+#define FONT_NAME "-misc-fixed-medium-*-normal-*-*-*-*-*-*-*-iso8859-1" - - #define V_CELL_YSIZE 40 /* revive cell height */ - ---- xarchon-0.50/src/field.c.orig 2002-09-26 08:22:45.000000000 -0400 -+++ xarchon-0.50/src/field.c 2002-09-26 08:23:11.000000000 -0400 -@@ -20,7 +20,7 @@ - /* defines */ - /*--------------------------------------------------------------------------*/ - --#define FONT_NAME "-misc-fixed-medium-*-normal-*-40-0-*-*-*-*-iso8859-1" -+#define FONT_NAME "-misc-fixed-medium-*-normal-*-*-*-*-*-*-*-iso8859-1" - - #define NUM_ROCKS 12 - #define ROCK_DELAY 2 /* rocks delay time in frames */ diff --git a/xarchon.appdata.xml b/xarchon.appdata.xml deleted file mode 100644 index bf95b90..0000000 --- a/xarchon.appdata.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - xarchon.desktop - CC0-1.0 - GPL-1.0+ - XArchon - Chess like board game - -

- In XArchon the Light Side and Dark Side fight over control of a chess-like - board. Each side is composed of 18 fantastic creatures of myth and legend, - which are represented by images (or icons). While not identical, the - opposing sides are balanced in strength. -

-

- When two creatures end up on the same square, the game goes into field - mode and a battle begins between the two creatures. During this battle - the creatures are controller by the players and it is not necessarily - the creature which entered the square last which wins. -

-
- http://xarchon.seul.org/ - http://xarchon.seul.org/rules.html - - http://xarchon.seul.org/img/snap-1.gif - http://xarchon.seul.org/img/snap-2.gif - - jwrdegoede_at_fedoraproject.org -
diff --git a/xarchon.desktop b/xarchon.desktop deleted file mode 100644 index 7d4cb87..0000000 --- a/xarchon.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Name=XArchon -Comment=Chess like board game -Exec=xarchon -Icon=xarchon -Terminal=false -Type=Application -Categories=Game;BoardGame; -Keywords=game;archon;chess; diff --git a/xarchon.spec b/xarchon.spec deleted file mode 100644 index cc25da0..0000000 --- a/xarchon.spec +++ /dev/null @@ -1,188 +0,0 @@ -Name: xarchon -Version: 0.50 -Release: 35%{?dist} -Summary: Arcade board game -License: GPL+ -URL: http://xarchon.seul.org/ -Source0: http://xarchon.seul.org/%{name}-%{version}.tar.gz -Source1: %{name}.desktop -Source2: %{name}.appdata.xml -Patch0: %{name}-fonts.patch -Patch1: %{name}-destdir.patch -Patch2: http://ftp.debian.org/debian/pool/main/x/%{name}/%{name}_0.50-10.1.diff.gz -Patch3: xarchon-0.50-gcc43.patch -BuildRequires: make -BuildRequires: gcc gcc-c++ gtk+-devel esound-devel libXpm-devel -BuildRequires: desktop-file-utils ImageMagick libappstream-glib -Requires: hicolor-icon-theme - -%description -XArchon is a chess with a twist board game. - - -%prep -%autosetup -p1 - - -%build -%configure -make %{?_smp_mflags} -convert -resize 64x64 data/icon.xpm %{name}.png - - -%install -%make_install INSTALL="install -p" - -# below is the desktop file and icon stuff. -mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications -desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1} -mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps -install -p -m 644 %{name}.png \ - $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps -mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata -install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/appdata -appstream-util validate-relax --nonet \ - $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml - - -%files -%doc AUTHORS ChangeLog README -%license COPYING -%{_bindir}/%{name} -%{_datadir}/%{name} -%{_datadir}/appdata/%{name}.appdata.xml -%{_datadir}/applications/%{name}.desktop -%{_datadir}/icons/hicolor/64x64/apps/%{name}.png -%{_mandir}/man6/%{name}.6.gz - - -%changelog -* Wed Jan 27 2021 Fedora Release Engineering - 0.50-35 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Wed Jul 29 2020 Fedora Release Engineering - 0.50-34 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Fri Jan 31 2020 Fedora Release Engineering - 0.50-33 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Sat Jul 27 2019 Fedora Release Engineering - 0.50-32 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Sat Feb 23 2019 Hans de Goede - 0.50-31 -- Fix FTBFS (rhbz#1676225) - -* Sun Feb 03 2019 Fedora Release Engineering - 0.50-30 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sat Jul 14 2018 Fedora Release Engineering - 0.50-29 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Fri Feb 09 2018 Fedora Release Engineering - 0.50-28 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Jan 18 2018 Igor Gnatenko - 0.50-27 -- Remove obsolete scriptlets - -* Sun Jan 14 2018 Hans de Goede - 0.50-26 -- Re-enable esound support, it is the only supported sound output (#1534185) - -* Thu Aug 03 2017 Fedora Release Engineering - 0.50-25 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 0.50-24 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 0.50-23 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Tue Feb 23 2016 Hans de Goede - 0.50-22 -- Add appdata - -* Fri Feb 05 2016 Fedora Release Engineering - 0.50-21 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Sun Jul 12 2015 Peter Robinson 0.50-20 -- drop esound support - -* Fri Jun 19 2015 Fedora Release Engineering - 0.50-19 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sun May 03 2015 Kalev Lember - 0.50-18 -- Rebuilt for GCC 5 C++11 ABI change - -* Mon Aug 18 2014 Fedora Release Engineering - 0.50-17 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Sun Jun 08 2014 Fedora Release Engineering - 0.50-16 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Sun Aug 04 2013 Fedora Release Engineering - 0.50-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Sun Feb 10 2013 Parag Nemade - 0.50-14 -- Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077 -- Cleanup spec as per recently changed packaging guidelines - -* Sun Jul 22 2012 Fedora Release Engineering - 0.50-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Sat Jan 14 2012 Fedora Release Engineering - 0.50-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Mon Feb 07 2011 Fedora Release Engineering - 0.50-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Mon Jul 27 2009 Fedora Release Engineering - 0.50-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Mon May 18 2009 Hans de Goede 0.50-9 -- Update description for new trademark guidelines - -* Wed Feb 25 2009 Fedora Release Engineering - 0.50-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Tue Feb 19 2008 Fedora Release Engineering - 0.50-7 -- Autorebuild for GCC 4.3 - -* Fri Jan 11 2008 Hans de Goede 0.50-6 -- Fix compilation with gcc 4.3 - -* Fri Aug 31 2007 Hans de Goede 0.50-5 -- Update Debian patch set to 0.50-10.1 - -* Wed Aug 22 2007 Hans de Goede 0.50-4 -- Rebuild for buildId -- Update license tag for new license tag guidelines compliance - -* Tue Aug 29 2006 Hans de Goede 0.50-3 -- FE6 Rebuild - -* Sat May 13 2006 Hans de Goede 0.50-2 -- consistent use of %%{name} (everywhere). -- Add BR: libXPM-devel -- Drop NEWS from %%doc as it contains no relevant information. - -* Thu May 11 2006 Hans de Goede 0.50-1 -- Pick xarchon up from Ville and submit it for Review as Ville doens't - have the time for this. - -* Tue Mar 14 2006 Ville Skyttä - 0.50-0.2 -- Fix build with gcc >= 3.4 (partially from Debian). -- Install icon to %%{_datadir}/icons/hicolor. - -* Sat May 28 2005 Ville Skyttä - 0.50-0.1 -- Rebuild for FC4. - -* Sun Sep 14 2003 Ville Skyttä - 0:0.50-0.fdr.3 -- Install data into %%{_datadir}/games/xarchon. -- Remove #---- section markers. - -* Sun Jun 1 2003 Ville Skyttä - 0:0.50-0.fdr.2 -- Spec cleanups. - -* Sat Mar 22 2003 Ville Skyttä - 0:0.50-0.fdr.1 -- Update to current Fedora guidelines. - -* Fri Feb 7 2003 Ville Skyttä - 0.50-1.fedora.1 -- First Fedora release.