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