Name: kcheckers Version: 0.8.1 Release: 29%{?dist} Summary: Checkers board game License: GPLv2+ URL: http://qcheckers.sourceforge.net/ Source0: http://downloads.sourceforge.net/qcheckers/%{name}-%{version}.tar.gz # Desktop file and patches are taken from ALT Linux package Source1: kcheckers.desktop # Fedora specific prefix Patch0: kcheckers-0.8.1-prefix.patch # Patch is committed into upstream CVS Patch1: kcheckers-0.8.1-qt-translator.patch Requires: hicolor-icon-theme BuildRequires: qt4-devel desktop-file-utils BuildRequires: make %description The Qt version of the classic board game checkers. This game is also known as draughts. %prep %setup -q %patch0 -p1 %patch1 -p1 %build %{qmake_qt4} make %{?_smp_mflags} lrelease-qt4 i18n/*.ts %install rm -rf $RPM_BUILD_ROOT install -Dp -m 755 %{name} $RPM_BUILD_ROOT/%{_bindir}/%{name} desktop-file-install --dir=$RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1} install -Dp -m 644 icons/biglogo.png $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/32x32/apps/%{name}.png mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name}/ install -p -m 644 i18n/*.qm $RPM_BUILD_ROOT/%{_datadir}/%{name}/ cp -p -r themes $RPM_BUILD_ROOT/%{_datadir}/%{name}/ %find_lang %{name} --with-qt %files -f %{name}.lang %doc AUTHORS COPYING ChangeLog FAQ README TODO %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/32x32/apps/%{name}.png %dir %{_datadir}/%{name} %{_datadir}/%{name}/themes %changelog * Thu Jul 21 2022 Fedora Release Engineering - 0.8.1-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.8.1-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.8.1-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.8.1-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.8.1-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.8.1-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.8.1-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.8.1-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.8.1-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0.8.1-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 11 2018 Igor Gnatenko - 0.8.1-19 - Remove obsolete scriptlets * Thu Aug 03 2017 Fedora Release Engineering - 0.8.1-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.8.1-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.8.1-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.8.1-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Feb 02 2016 Rex Dieter - 0.8.1-14 - use %%qmake_qt4 macro to ensure proper build flags * Wed Jun 17 2015 Fedora Release Engineering - 0.8.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 0.8.1-12 - Rebuilt for GCC 5 C++11 ABI change * Sat Aug 16 2014 Fedora Release Engineering - 0.8.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 0.8.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.8.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.8.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 0.8.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.8.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Feb 07 2011 Fedora Release Engineering - 0.8.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Sep 29 2009 Alexey Torkhov - 0.8.1-4 - Use qt4-devel build requires * Thu Apr 09 2009 Alexey Torkhov - 0.8.1-4 - Adding comments for patches * Sat Mar 21 2009 Alexey Torkhov - 0.8.1-3 - Install icon to hicolor theme - Use qt-devel build requires instead of qt4-devel * Fri Mar 20 2009 Alexey Torkhov - 0.8.1-2 - Using find_lang to find qt translations - Use desktop-file-install * Sun Mar 08 2009 Alexey Torkhov - 0.8.1-1 - Initial package