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 |
ovitters |
226632 |
Version: 3.4.0 |
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 |
pterjan |
225605 |
# For autoreconf, due to Patch0 |
34 |
|
|
BuildRequires: gettext-devel |
35 |
wally |
119470 |
|
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 |
|
|
%prep |
42 |
|
|
%setup -q |
43 |
pterjan |
225599 |
%apply_patches |
44 |
|
|
autoreconf -fi |
45 |
wally |
119470 |
|
46 |
|
|
%build |
47 |
|
|
%configure2_5x \ |
48 |
|
|
--disable-schemas-compile \ |
49 |
|
|
--disable-schemas-install \ |
50 |
fwang |
145257 |
--disable-static |
51 |
fwang |
215781 |
%make V=1 |
52 |
wally |
119470 |
|
53 |
|
|
%install |
54 |
|
|
%makeinstall_std |
55 |
|
|
|
56 |
fwang |
145272 |
%find_lang %{name} --with-help |
57 |
wally |
119470 |
|
58 |
|
|
%preun |
59 |
|
|
%preun_uninstall_gconf_schemas %{name} |
60 |
|
|
|
61 |
|
|
%files -f %{name}.lang |
62 |
|
|
%defattr(-, root, root) |
63 |
|
|
%{_sysconfdir}/gconf/schemas/%{name}.schemas |
64 |
|
|
%attr(2555, root, games) %{_bindir}/sol |
65 |
wally |
188406 |
%{_libdir}/%{name}/ |
66 |
pterjan |
225600 |
%{_libdir}/valgrind/aisleriot.supp |
67 |
wally |
119470 |
%{_datadir}/applications/sol.desktop |
68 |
|
|
%{_datadir}/applications/freecell.desktop |
69 |
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.Patience.WindowState.gschema.xml |
70 |
|
|
%{_iconsdir}/*/*/*/gnome-aisleriot.* |
71 |
|
|
%{_iconsdir}/*/*/*/gnome-freecell.* |
72 |
|
|
%{_mandir}/man6/sol.* |
73 |
|
|
%{_datadir}/%{name} |