1 |
wally |
119470 |
#FIXME: disabled temporarily to get package build (wally 07/2011) |
2 |
|
|
%define Werror_cflags %nil |
3 |
|
|
|
4 |
wally |
167780 |
%define url_ver %(echo %{version}|cut -d. -f1,2) |
5 |
|
|
|
6 |
wally |
119470 |
Name: aisleriot |
7 |
fwang |
205737 |
Version: 3.3.2 |
8 |
fwang |
148639 |
Release: %mkrel 1 |
9 |
wally |
119470 |
Url: http://live.gnome.org/Aisleriot |
10 |
wally |
167780 |
Source0: http://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz |
11 |
pterjan |
225599 |
Patch0: aisleriot-3.3.2-help_linguas.patch |
12 |
wally |
119470 |
Summary: A compilation of solitaire card games |
13 |
|
|
License: GPLv3+ |
14 |
|
|
Group: Games/Other |
15 |
|
|
Conflicts: gnome-games < 2.29.6-2 |
16 |
wally |
167780 |
BuildRequires: pkgconfig(cairo) >= 1.10.0 |
17 |
|
|
BuildRequires: pkgconfig(gconf-2.0) >= 2.0 |
18 |
|
|
BuildRequires: pkgconfig(gmodule-2.0) |
19 |
|
|
BuildRequires: pkgconfig(gobject-2.0) |
20 |
|
|
BuildRequires: pkgconfig(gthread-2.0) |
21 |
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.0.0 |
22 |
wally |
184560 |
BuildRequires: pkgconfig(guile-2.0) >= 2.0.0 |
23 |
wally |
167780 |
BuildRequires: pkgconfig(ice) |
24 |
|
|
BuildRequires: pkgconfig(libcanberra-gtk3) >= 0.26 |
25 |
|
|
BuildRequires: pkgconfig(librsvg-2.0) >= 2.32.0 |
26 |
|
|
BuildRequires: pkgconfig(sm) |
27 |
wally |
119470 |
BuildRequires: intltool |
28 |
fwang |
145242 |
BuildRequires: yelp-tools |
29 |
|
|
BuildRequires: itstool |
30 |
tv |
222341 |
BuildRequires: gnome-doc-utils |
31 |
|
|
BuildRequires: docbook-dtds |
32 |
fwang |
145272 |
BuildRequires: rpm-mageia-setup-build >= 1.144 |
33 |
wally |
119470 |
|
34 |
|
|
%description |
35 |
|
|
Aisleriot (also known as Solitaire or sol) is a collection of card games |
36 |
|
|
which are easy to play with the aid of a mouse. The rules for the games |
37 |
|
|
have been coded for your pleasure in the GNOME scripting language (Scheme). |
38 |
|
|
|
39 |
|
|
%prep |
40 |
|
|
%setup -q |
41 |
pterjan |
225599 |
%apply_patches |
42 |
|
|
autoreconf -fi |
43 |
wally |
119470 |
|
44 |
|
|
%build |
45 |
|
|
%configure2_5x \ |
46 |
|
|
--disable-schemas-compile \ |
47 |
|
|
--disable-schemas-install \ |
48 |
fwang |
145257 |
--disable-static |
49 |
fwang |
215781 |
%make V=1 |
50 |
wally |
119470 |
|
51 |
|
|
%install |
52 |
|
|
%makeinstall_std |
53 |
|
|
|
54 |
fwang |
145272 |
%find_lang %{name} --with-help |
55 |
wally |
119470 |
|
56 |
|
|
%preun |
57 |
|
|
%preun_uninstall_gconf_schemas %{name} |
58 |
|
|
|
59 |
|
|
%files -f %{name}.lang |
60 |
|
|
%defattr(-, root, root) |
61 |
|
|
%{_sysconfdir}/gconf/schemas/%{name}.schemas |
62 |
|
|
%attr(2555, root, games) %{_bindir}/sol |
63 |
wally |
188406 |
%{_libdir}/%{name}/ |
64 |
wally |
119470 |
%{_datadir}/applications/sol.desktop |
65 |
|
|
%{_datadir}/applications/freecell.desktop |
66 |
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.Patience.WindowState.gschema.xml |
67 |
|
|
%{_iconsdir}/*/*/*/gnome-aisleriot.* |
68 |
|
|
%{_iconsdir}/*/*/*/gnome-freecell.* |
69 |
|
|
%{_mandir}/man6/sol.* |
70 |
|
|
%{_datadir}/%{name} |