aisleriot-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. Summary: A collection of patience games written in guile scheme
  2. Name: aisleriot
  3. Version: 3.22.8
  4. Release: 1%{?_dist_release}
  5. %global shortver %(echo "%{version}" | sed -e 's/\.[0-9]*$//')
  6. Source: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
  7. Source1: https://github.com/GNOME/%{name}/raw/master/po/ja.po
  8. License: GFDL,GPLv3,LGPLv3
  9. Group: Applications/Games
  10. URL: https://live.gnome.org/Aisleriot
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: gtk3-devel
  13. BuildRequires: GConf2-devel
  14. BuildRequires: libtool-ltdl-devel
  15. BuildRequires: libcanberra-gtk3-devel
  16. BuildRequires: librsvg2-devel
  17. BuildRequires: libSM-devel
  18. BuildRequires: guile-devel > 2.2.0
  19. BuildRequires: gc-devel
  20. BuildRequires: itstool
  21. BuildRequires: desktop-file-utils
  22. BuildRequires: libappstream-glib
  23. Requires(postun,posttrans): desktop-file-utils
  24. Requires(postun,posttrans): glib2
  25. Requires(post,postun): gtk2
  26. Requires(post,preun): GConf2
  27. Vendor: Project Vine
  28. Distribution: Vine Linux
  29. %description
  30. Aisleriot (also known as Solitaire or sol) is a collection of card games
  31. which are easy to play with the aid of a mouse. The rules for the games
  32. have been coded for your pleasure in the GNOME scripting language (Scheme).
  33. %prep
  34. %setup -q
  35. %build
  36. %configure \
  37. --disable-static \
  38. --with-card-theme-formats=svg,fixed
  39. %{__make} %{?_smp_mflags}
  40. %install
  41. %{__rm} -rf $RPM_BUILD_ROOT
  42. %{__make} install DESTDIR=$RPM_BUILD_ROOT
  43. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  44. %find_lang %{name}
  45. %clean
  46. %{__rm} -rf $RPM_BUILD_ROOT
  47. %post
  48. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  49. gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/aisleriot.schemas >& /dev/null ||:
  50. touch %{_datadir}/icons/hicolor
  51. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  52. /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
  53. fi
  54. %postun
  55. touch %{_datadir}/icons/hicolor
  56. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  57. /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
  58. fi
  59. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  60. %preun
  61. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  62. gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/aisleriot.schemas >& /dev/null ||:
  63. %posttrans
  64. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  65. %files -f %{name}.lang
  66. %defattr(-,root,root,-)
  67. %license COPYING.GFDL COPYING.GPL3 COPYING.LGPL3
  68. %doc AUTHORS ChangeLog NEWS
  69. %{_sysconfdir}/gconf/schemas/%{name}.schemas
  70. %{_bindir}/sol
  71. %{_libdir}/%{name}
  72. %{_libdir}/valgrind/aisleriot.supp
  73. %{_libexecdir}/%{name}/ar-cards-renderer
  74. %{_datadir}/%{name}
  75. %{_datadir}/metainfo/sol.appdata.xml
  76. %{_datadir}/applications/sol.desktop
  77. %{_datadir}/glib-2.0/schemas/org.gnome.Patience.WindowState.gschema.xml
  78. %{_datadir}/help
  79. %{_datadir}/icons/hicolor/*/*/*
  80. %{_mandir}/man6/sol.6.gz
  81. %changelog
  82. * Mon Sep 09 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.22.8-1
  83. - new upstream release.
  84. - imported newest ja.po from upstream.
  85. * Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.2-1
  86. - new upstream release
  87. * Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.2-1
  88. - new upstream release
  89. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1
  90. - new upstream release
  91. * Sat May 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1
  92. - new upstream release
  93. * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1
  94. - new upstream release
  95. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  96. - new upstream release
  97. * Sun Jan 25 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1
  98. - new upstream release
  99. - add BuildRequires: desktop-file-utils, appdata-tools, gc-devel
  100. * Sat Dec 13 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.2.3.2-1
  101. - updated to 3.2.3.2
  102. - built with guile 1.8.8
  103. * Tue Nov 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  104. - new upstream release
  105. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  106. - initial build for Vine Linux