1 |
#FIXME: disabled temporarily to get package build (wally 07/2011) |
2 |
%define Werror_cflags %nil |
3 |
|
4 |
Name: aisleriot |
5 |
Version: 3.1.1 |
6 |
Release: %mkrel 1 |
7 |
Url: http://live.gnome.org/Aisleriot |
8 |
Source0: ftp://ftp.gnome.org/sources/%{name}/3.1/%{name}-%{version}.tar.xz |
9 |
Summary: A compilation of solitaire card games |
10 |
License: GPLv3+ |
11 |
Group: Games/Other |
12 |
Conflicts: gnome-games < 2.29.6-2 |
13 |
BuildRequires: gtk+3-devel |
14 |
BuildRequires: guile-devel |
15 |
BuildRequires: clutter-devel |
16 |
BuildRequires: clutter-gtk-devel |
17 |
BuildRequires: intltool |
18 |
BuildRequires: libcanberra-gtk-devel |
19 |
BuildRequires: libGConf2-devel |
20 |
BuildRequires: librsvg-devel |
21 |
BuildRequires: libsm-devel |
22 |
BuildRequires: gnome-doc-utils |
23 |
|
24 |
%description |
25 |
Aisleriot (also known as Solitaire or sol) is a collection of card games |
26 |
which are easy to play with the aid of a mouse. The rules for the games |
27 |
have been coded for your pleasure in the GNOME scripting language (Scheme). |
28 |
|
29 |
%prep |
30 |
%setup -q |
31 |
|
32 |
%build |
33 |
%configure2_5x \ |
34 |
--disable-schemas-compile \ |
35 |
--disable-schemas-install \ |
36 |
--disable-scrollkeeper \ |
37 |
--disable-static \ |
38 |
--with-gtk=3.0 \ |
39 |
--with-clutter |
40 |
|
41 |
%make |
42 |
|
43 |
%install |
44 |
%makeinstall_std |
45 |
|
46 |
%find_lang %{name} --with-gnome |
47 |
|
48 |
for omf in `find %{buildroot}%{_datadir}/omf/%{name}/*.omf|grep -v \\\-C\\\.omf`; do |
49 |
echo "%lang($(basename $omf|sed -e s/.*-// -e s/.omf//)) $(echo $omf|sed -e s!%{buildroot}!!)" >> %{name}.lang |
50 |
done |
51 |
|
52 |
%preun |
53 |
%preun_uninstall_gconf_schemas %{name} |
54 |
|
55 |
%files -f %{name}.lang |
56 |
%defattr(-, root, root) |
57 |
%{_sysconfdir}/gconf/schemas/%{name}.schemas |
58 |
%attr(2555, root, games) %{_bindir}/sol |
59 |
%dir %{_libdir}/%{name} |
60 |
%{_libdir}/%{name}/ar-cards-renderer |
61 |
%{_datadir}/applications/sol.desktop |
62 |
%{_datadir}/applications/freecell.desktop |
63 |
%{_datadir}/glib-2.0/schemas/org.gnome.Patience.WindowState.gschema.xml |
64 |
%{_iconsdir}/*/*/*/gnome-aisleriot.* |
65 |
%{_iconsdir}/*/*/*/gnome-freecell.* |
66 |
%{_mandir}/man6/sol.* |
67 |
%{_datadir}/%{name} |
68 |
%dir %{_datadir}/omf/%{name} |
69 |
%{_datadir}/omf/%{name}/%{name}-C.omf |