aisleriot-vl.spec 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. Summary: A collection of patience games written in guile scheme
  2. Name: aisleriot
  3. Version: 3.2.2
  4. Release: 1%{?_dist_release}
  5. Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.2/%{name}-%{version}.tar.xz
  6. License: GFDL,GPLv3,LGPLv3
  7. Group: Applications/Games
  8. URL: https://live.gnome.org/Aisleriot
  9. BuildRequires: gtk3-devel
  10. BuildRequires: GConf2-devel
  11. BuildRequires: libtool-ltdl-devel
  12. BuildRequires: libcanberra-gtk3-devel
  13. BuildRequires: librsvg2-devel
  14. BuildRequires: libSM-devel
  15. BuildRequires: guile-devel
  16. BuildRequires: itstool
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: Takemikaduchi
  21. %description
  22. Aisleriot (also known as Solitaire or sol) is a collection of card games
  23. which are easy to play with the aid of a mouse. The rules for the games
  24. have been coded for your pleasure in the GNOME scripting language (Scheme).
  25. %prep
  26. %setup -q
  27. %build
  28. %configure --disable-static
  29. %{__make} %{?_smp_mflags}
  30. %install
  31. %{__rm} -rf $RPM_BUILD_ROOT
  32. %{__make} install DESTDIR=$RPM_BUILD_ROOT
  33. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  34. %find_lang %{name}
  35. %clean
  36. %{__rm} -rf $RPM_BUILD_ROOT
  37. %post
  38. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  39. gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/aisleriot.schemas >& /dev/null ||:
  40. touch %{_datadir}/icons/hicolor
  41. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  42. /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
  43. fi
  44. %postun
  45. touch %{_datadir}/icons/hicolor
  46. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  47. /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
  48. fi
  49. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  50. %preun
  51. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  52. gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/aisleriot.schemas >& /dev/null ||:
  53. %posttrans
  54. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  55. %files -f %{name}.lang
  56. %defattr(-,root,root,-)
  57. %doc AUTHORS ChangeLog COPYING.GFDL COPYING.GPL3 COPYING.LGPL3 NEWS
  58. %{_sysconfdir}/gconf/schemas/aisleriot.schemas
  59. %{_bindir}/sol
  60. %{_libdir}/%{name}/ar-cards-renderer
  61. %{_datadir}/%{name}
  62. %{_datadir}/applications/freecell.desktop
  63. %{_datadir}/applications/sol.desktop
  64. %{_datadir}/glib-2.0/schemas/org.gnome.Patience.WindowState.gschema.xml
  65. %{_datadir}/help
  66. %{_datadir}/icons/hicolor/*/*/*
  67. %{_mandir}/man6/sol.6.gz
  68. %changelog
  69. * Tue Nov 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  70. - new upstream release
  71. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  72. - initial build for Vine Linux