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

Revision 5168, 2.5 KB checked in by Takemikaduchi, 12 years ago (diff)

new upstream release

Line 
1Summary:        A collection of patience games written in guile scheme
2Name:           aisleriot
3Version:        3.2.2
4Release:        1%{?_dist_release}
5
6Source0:        http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.2/%{name}-%{version}.tar.xz
7
8License:        GFDL,GPLv3,LGPLv3
9Group:          Applications/Games
10URL:            https://live.gnome.org/Aisleriot
11
12BuildRequires:  gtk3-devel
13BuildRequires:  GConf2-devel
14BuildRequires:  libtool-ltdl-devel
15BuildRequires:  libcanberra-gtk3-devel
16BuildRequires:  librsvg2-devel
17BuildRequires:  libSM-devel
18BuildRequires:  guile-devel
19BuildRequires:  itstool
20
21BuildRoot:      %{_tmppath}/%{name}-%{version}-root
22
23Vendor: Project Vine
24Distribution: Vine Linux
25Packager: Takemikaduchi
26
27
28%description
29Aisleriot (also known as Solitaire or sol) is a collection of card games
30which are easy to play with the aid of a mouse. The rules for the games
31have 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
45find $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
54export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
55gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/aisleriot.schemas >& /dev/null ||:
56touch %{_datadir}/icons/hicolor
57if [ -x /usr/bin/gtk-update-icon-cache ]; then
58        /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
59fi
60
61%postun
62touch %{_datadir}/icons/hicolor
63if [ -x /usr/bin/gtk-update-icon-cache ]; then
64        /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
65fi
66glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
67
68%preun
69export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
70gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/aisleriot.schemas >& /dev/null ||:
71
72%posttrans
73glib-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
92* Tue Nov 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
93- new upstream release
94
95* Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
96- initial build for Vine Linux
97
Note: See TracBrowser for help on using the repository browser.