source: projects/specs/trunk/a/aisleriot/aisleriot-vl.spec @ 9804

Revision 9804, 3.5 KB checked in by Takemikaduchi, 8 years ago (diff)

GNOME-3.18.2 & Cinnamon-2.8.4

Line 
1Summary:        A collection of patience games written in guile scheme
2Name:           aisleriot
3Version:        3.18.2
4Release:        1%{?_dist_release}
5
6Source0:        http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.18/%{name}-%{version}.tar.xz
7
8License:        GFDL,GPLv3,LGPLv3
9Group:          Applications/Games
10URL:            https://live.gnome.org/Aisleriot
11
12BuildRoot:      %{_tmppath}/%{name}-%{version}-root
13BuildRequires:  gtk3-devel
14BuildRequires:  GConf2-devel
15BuildRequires:  libtool-ltdl-devel
16BuildRequires:  libcanberra-gtk3-devel
17BuildRequires:  librsvg2-devel
18BuildRequires:  libSM-devel
19BuildRequires:  guile-devel
20BuildRequires:  gc-devel
21BuildRequires:  itstool
22BuildRequires:  desktop-file-utils
23BuildRequires:  appdata-tools
24
25Requires(postun,posttrans):     desktop-file-utils
26Requires(postun,posttrans):     glib2
27Requires(post,postun):  gtk2
28Requires(post,preun):   GConf2
29
30Vendor: Project Vine
31Distribution: Vine Linux
32Packager: Takemikaduchi
33
34
35%description
36Aisleriot (also known as Solitaire or sol) is a collection of card games
37which are easy to play with the aid of a mouse. The rules for the games
38have been coded for your pleasure in the GNOME scripting language (Scheme).
39
40
41%prep
42%setup -q
43
44%build
45%configure \
46        --disable-static \
47        --with-card-theme-formats=svg,fixed
48
49%{__make} %{?_smp_mflags}
50
51%install
52%{__rm} -rf $RPM_BUILD_ROOT
53%{__make} install DESTDIR=$RPM_BUILD_ROOT
54
55find $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
64export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
65gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/aisleriot.schemas >& /dev/null ||:
66touch %{_datadir}/icons/hicolor
67if [ -x /usr/bin/gtk-update-icon-cache ]; then
68        /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
69fi
70
71%postun
72touch %{_datadir}/icons/hicolor
73if [ -x /usr/bin/gtk-update-icon-cache ]; then
74        /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
75fi
76glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
77
78%preun
79export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
80gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/aisleriot.schemas >& /dev/null ||:
81
82%posttrans
83glib-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
89%{_sysconfdir}/gconf/schemas/%{name}.schemas
90%{_bindir}/sol
91%{_libdir}/%{name}
92%{_libdir}/valgrind/aisleriot.supp
93%{_libexecdir}/%{name}/ar-cards-renderer
94%{_datadir}/%{name}
95%{_datadir}/appdata/sol.appdata.xml
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
104* Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.2-1
105- new upstream release
106
107* Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1
108- new upstream release
109
110* Sat May 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1
111- new upstream release
112
113* Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1
114- new upstream release
115
116* Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
117- new upstream release
118
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
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
127* Tue Nov 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
128- new upstream release
129
130* Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
131- initial build for Vine Linux
132
Note: See TracBrowser for help on using the repository browser.