[5038] | 1 | Summary: A collection of patience games written in guile scheme |
---|
| 2 | Name: aisleriot |
---|
[5168] | 3 | Version: 3.2.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 | |
---|
| 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 |
---|
| 19 | BuildRequires: itstool |
---|
| 20 | |
---|
| 21 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 22 | |
---|
| 23 | Vendor: Project Vine |
---|
| 24 | Distribution: Vine Linux |
---|
| 25 | Packager: Takemikaduchi |
---|
| 26 | |
---|
| 27 | |
---|
| 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 | |
---|
| 33 | |
---|
| 34 | %prep |
---|
| 35 | %setup -q |
---|
| 36 | |
---|
| 37 | %build |
---|
| 38 | %configure --disable-static |
---|
| 39 | %{__make} %{?_smp_mflags} |
---|
| 40 | |
---|
| 41 | %install |
---|
| 42 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 43 | %{__make} install DESTDIR=$RPM_BUILD_ROOT |
---|
| 44 | |
---|
| 45 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
| 46 | |
---|
| 47 | %find_lang %{name} |
---|
| 48 | |
---|
| 49 | %clean |
---|
| 50 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | %post |
---|
| 54 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 55 | gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/aisleriot.schemas >& /dev/null ||: |
---|
| 56 | touch %{_datadir}/icons/hicolor |
---|
| 57 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 58 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor |
---|
| 59 | fi |
---|
| 60 | |
---|
| 61 | %postun |
---|
| 62 | touch %{_datadir}/icons/hicolor |
---|
| 63 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 64 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor |
---|
| 65 | fi |
---|
| 66 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 67 | |
---|
| 68 | %preun |
---|
| 69 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 70 | gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/aisleriot.schemas >& /dev/null ||: |
---|
| 71 | |
---|
| 72 | %posttrans |
---|
| 73 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 74 | |
---|
| 75 | |
---|
| 76 | %files -f %{name}.lang |
---|
| 77 | %defattr(-,root,root,-) |
---|
| 78 | %doc AUTHORS ChangeLog COPYING.GFDL COPYING.GPL3 COPYING.LGPL3 NEWS |
---|
| 79 | %{_sysconfdir}/gconf/schemas/aisleriot.schemas |
---|
| 80 | %{_bindir}/sol |
---|
| 81 | %{_libdir}/%{name}/ar-cards-renderer |
---|
| 82 | %{_datadir}/%{name} |
---|
| 83 | %{_datadir}/applications/freecell.desktop |
---|
| 84 | %{_datadir}/applications/sol.desktop |
---|
| 85 | %{_datadir}/glib-2.0/schemas/org.gnome.Patience.WindowState.gschema.xml |
---|
| 86 | %{_datadir}/help |
---|
| 87 | %{_datadir}/icons/hicolor/*/*/* |
---|
| 88 | %{_mandir}/man6/sol.6.gz |
---|
| 89 | |
---|
| 90 | |
---|
| 91 | %changelog |
---|
[5168] | 92 | * Tue Nov 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1 |
---|
| 93 | - new upstream release |
---|
| 94 | |
---|
[5038] | 95 | * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1 |
---|
| 96 | - initial build for Vine Linux |
---|
| 97 | |
---|