aisleriot-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. Summary: A collection of patience games written in guile scheme
  2. Name: aisleriot
  3. Version: 3.18.2
  4. Release: 1%{?_dist_release}
  5. Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.18/%{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: gc-devel
  18. BuildRequires: itstool
  19. BuildRequires: desktop-file-utils
  20. BuildRequires: appdata-tools
  21. Requires(postun,posttrans): desktop-file-utils
  22. Requires(postun,posttrans): glib2
  23. Requires(post,postun): gtk2
  24. Requires(post,preun): GConf2
  25. Vendor: Project Vine
  26. Distribution: Vine Linux
  27. Packager: Takemikaduchi
  28. %description
  29. Aisleriot (also known as Solitaire or sol) is a collection of card games
  30. which are easy to play with the aid of a mouse. The rules for the games
  31. have been coded for your pleasure in the GNOME scripting language (Scheme).
  32. %prep
  33. %setup -q
  34. %build
  35. %configure \
  36. --disable-static \
  37. --with-card-theme-formats=svg,fixed
  38. %{__make} %{?_smp_mflags}
  39. %install
  40. %{__rm} -rf $RPM_BUILD_ROOT
  41. %{__make} install DESTDIR=$RPM_BUILD_ROOT
  42. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  43. %find_lang %{name}
  44. %clean
  45. %{__rm} -rf $RPM_BUILD_ROOT
  46. %post
  47. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  48. gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/aisleriot.schemas >& /dev/null ||:
  49. touch %{_datadir}/icons/hicolor
  50. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  51. /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
  52. fi
  53. %postun
  54. touch %{_datadir}/icons/hicolor
  55. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  56. /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
  57. fi
  58. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  59. %preun
  60. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  61. gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/aisleriot.schemas >& /dev/null ||:
  62. %posttrans
  63. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  64. %files -f %{name}.lang
  65. %defattr(-,root,root,-)
  66. %doc AUTHORS ChangeLog COPYING.GFDL COPYING.GPL3 COPYING.LGPL3 NEWS
  67. %{_sysconfdir}/gconf/schemas/%{name}.schemas
  68. %{_bindir}/sol
  69. %{_libdir}/%{name}
  70. %{_libdir}/valgrind/aisleriot.supp
  71. %{_libexecdir}/%{name}/ar-cards-renderer
  72. %{_datadir}/%{name}
  73. %{_datadir}/appdata/sol.appdata.xml
  74. %{_datadir}/applications/sol.desktop
  75. %{_datadir}/glib-2.0/schemas/org.gnome.Patience.WindowState.gschema.xml
  76. %{_datadir}/help
  77. %{_datadir}/icons/hicolor/*/*/*
  78. %{_mandir}/man6/sol.6.gz
  79. %changelog
  80. * Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.2-1
  81. - new upstream release
  82. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1
  83. - new upstream release
  84. * Sat May 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1
  85. - new upstream release
  86. * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1
  87. - new upstream release
  88. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  89. - new upstream release
  90. * Sun Jan 25 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1
  91. - new upstream release
  92. - add BuildRequires: desktop-file-utils, appdata-tools, gc-devel
  93. * Sat Dec 13 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.2.3.2-1
  94. - updated to 3.2.3.2
  95. - built with guile 1.8.8
  96. * Tue Nov 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  97. - new upstream release
  98. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  99. - initial build for Vine Linux