# http://fedoraproject.org/wiki/Packaging/Debuginfo#Useless_or_incomplete_debuginfo_packages_due_to_other_reasons %global debug_package %{nil} Name: gbrainy Version: 2.2.3 Epoch: 1 Release: 1%{?dist} Summary: A brain teaser game and trainer to keep your brain trained Group: Amusements/Games License: GPLv2 URL: http://live.gnome.org/gbrainy Source0: http://gent.softcatala.org/jmas/%{name}/%{name}-%{version}.tar.gz # To fix 460353 : Patch0: %{name}-fix-location.patch BuildRequires: gtk-sharp2-devel mono-addins-devel gnome-sharp-devel BuildRequires: librsvg2-devel gnome-doc-utils BuildRequires: intltool # JIT (mono) only availible on these: ExclusiveArch: %ix86 x86_64 ia64 %{arm} sparcv9 alpha s390x ppc ppc64 %description gbrainy is a brain teaser game and trainer to have fun and to keep your brain trained. It provides the following types of games: * Logic puzzles. Games designed to challenge your reasoning and thinking skills. * Mental calculation. Games based on arithmetical operations designed to prove your mental calculation skills. * Memory trainers. Games designed to challenge your short term memory. %package devel Summary: Files needed for developing with gbrainy Group: Development/Libraries Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} %description devel This package provides the necessary development libraries and headers for writing gbrainy applications. %prep %setup -q %patch0 -p0 sed -i -e 's!{exec_prefix}/lib!%{_libdir}!' data/gbrainy.pc.in echo "sed done $PWD" %build %configure make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT desktop-file-install \ --delete-original \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop # To fix a rpmlint issue chmod a-x $RPM_BUILD_ROOT%{_libdir}/%{name}/%{name}.exe.config %find_lang %{name} %post touch --no-create %{_datadir}/icons/hicolor 2> /dev/null ||: %postun if [ $1 -eq 0 ] ;then touch --no-create %{_datadir}/icons/hicolor 2> /dev/null ||: if [ -x %{_bindir}/gtk-update-icon-cache ] ; then %{_bindir}/gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: fi fi %posttrans if [ -x %{_bindir}/gtk-update-icon-cache ] ; then /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi %files -f %{name}.lang %doc AUTHORS NEWS README COPYING MAINTAINERS %{_bindir}/%{name} %{_libdir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/%{name} %{_datadir}/gnome/help/%{name} %{_datadir}/icons/hicolor/*/apps/%{name}* %{_mandir}/man6/%{name}.6.gz %{_datadir}/pixmaps/%{name}* %{_datadir}/appdata/%{name}.appdata.xml %files devel %{_libdir}/pkgconfig/gbrainy.pc %changelog * Wed Aug 27 2014 Filipe Rosset - 1:2.2.3-1 - Rebuilt for new upstream version 2.2.3, fixes rhbz #1008213 * Sat Aug 16 2014 Fedora Release Engineering - 1:2.2.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1:2.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat May 31 2014 Filipe Rosset - 1:2.2.2-2 - Rebuilt for new upstream version 2.2.2, spec cleanup, fixes rhbz #925388 * Sat Aug 03 2013 Fedora Release Engineering - 1:2.1.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Mon Apr 08 2013 Jon Ciesla - 1:2.1.3-5 - Drop desktop vendor tag. * Wed Feb 13 2013 Fedora Release Engineering - 1:2.1.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 1:2.1.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jun 28 2012 Benoît Marcelin 1:2.1.3-2 - Add Epoch in dependencies * Wed Jun 27 2012 Benoît Marcelin 1:2.1.3-1 - Update to 2.1.3 * Fri Jan 13 2012 Fedora Release Engineering - 2.06-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Nov 14 2011 Benoît Marcelin 2.06-1 - Update to 2.06 - Remove Ubuntu cleaner patch (now clean from upstream) * Mon Jul 25 2011 Benoît Marcelin 2.00-1 - Update to 2.00 * Wed Feb 09 2011 Fedora Release Engineering - 1.52-4.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Oct 28 2010 Paul F. Johnson 1.52-3.1 - Add BR libtool * Thu Oct 28 2010 Paul F. Johnson 1.52-3 - Change gnome-common to gnome-doc-utils * Thu Oct 28 2010 Paul F. Johnson 1.52-2 - Add BR gnome-common * Wed Oct 27 2010 Paul F. Johnson 1.52-1 - Bump to 1.52 - Add devel subpackage - Rebuild against mono-2.8 * Mon Jun 07 2010 Christian Krause - 1.1-7 - Rebuilt against new mono-addins * Mon Oct 26 2009 Dennis Gilmore - 1.1-6 - Exclude sparc64 * Thu Aug 20 2009 Toshio Kuratomi - 1.1-5 - Build with ppc64 again due to obsolecense of previous update. * Fri Jul 24 2009 Fedora Release Engineering - 1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon Jun 01 2009 Xavier Lamien - 1.1-4 - Build arch ppc64. * Tue Apr 14 2009 Benoît Marcelin 1.1-3 - Re-enable ppc * Thu Apr 09 2009 Benoît Marcelin 1.1-2 - Fix buildrequires * Wed Apr 08 2009 Benoît Marcelin 1.1-1 - Update to 1.1 - Update ExclusiveArch according to mono * Tue Feb 24 2009 Fedora Release Engineering - 1.00-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sat Nov 22 2008 Benoît Marcelin 1.00-3 - Fix Summary * Mon Oct 27 2008 Tom "spot" Callaway 1.00-2 - rebuild for new gnome-sharp * Thu Sep 25 2008 Benoît Marcelin 1.00-1 - Clean Build Requires - Fix bug 460353 - Upate to 1.00 - 1 new logic puzzle, 1 new memory puzzle - Better look and feel (new background) - Switch font drawing to Pango - Better I18N support - Bug fixes * Tue Jun 03 2008 Benoît Marcelin 0.70-1 - Update to 0.70 - 8 new puzzles - License included in the about box - The drawing area is now square and the application resizes better - Better score feedback - Player's history - Preferences persistence - Better game selection - Bug fixes * Mon Mar 24 2008 Benoît Marcelin 0.61-5 - Do if on more than one line (in %%post and %%postun) - Change ExcludeArch to AxclusiveArch - Change licence to GPLv2+ - add directory owner %%{_libdir}/%%{name} * Mon Mar 24 2008 Benoît Marcelin 0.61-4 - Update %%post ans %%postun section * Mon Mar 24 2008 Benoît Marcelin 0.61-3 - Add BuildRequires : desktop-file-utils * Mon Mar 24 2008 Benoît Marcelin 0.61-2 - Exclude arch ppc64 - Remove --add-category X-Fedora from the desktop file - Don't generate empty debuginfo - Add docfile MAINTAINERS * Mon Mar 24 2008 Benoît Marcelin 0.61-1 - Update to 0.61 - add gtk-update-icon-cache into post and unpost section * Sun Mar 09 2008 Benoît Marcelin 0.60-1 - Initial Fedora build