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