aisleriot-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. Summary: A collection of patience games written in guile scheme
  2. Name: aisleriot
  3. Version: 3.2.3.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. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: gtk3-devel
  11. BuildRequires: GConf2-devel
  12. BuildRequires: libtool-ltdl-devel
  13. BuildRequires: libcanberra-gtk3-devel
  14. BuildRequires: librsvg2-devel
  15. BuildRequires: libSM-devel
  16. BuildRequires: guile-devel
  17. BuildRequires: itstool
  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. * Sat Dec 13 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.2.3.2-1
  70. - updated to 3.2.3.2
  71. - built with guile 1.8.8
  72. * Tue Nov 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  73. - new upstream release
  74. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  75. - initial build for Vine Linux