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