1 |
#FIXME: disabled temporarily to get package build (wally 07/2011) |
2 |
%define Werror_cflags %nil |
3 |
|
4 |
%define url_ver %(echo %{version}|cut -d. -f1,2) |
5 |
|
6 |
Name: aisleriot |
7 |
Version: 3.4.0.1 |
8 |
Release: %mkrel 1 |
9 |
Url: http://live.gnome.org/Aisleriot |
10 |
Source0: http://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz |
11 |
Patch0: aisleriot-3.3.2-help_linguas.patch |
12 |
Summary: A compilation of solitaire card games |
13 |
License: GPLv3+ |
14 |
Group: Games/Other |
15 |
Conflicts: gnome-games < 2.29.6-2 |
16 |
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 |
BuildRequires: pkgconfig(guile-2.0) >= 2.0.0 |
23 |
BuildRequires: pkgconfig(ice) |
24 |
BuildRequires: pkgconfig(libcanberra-gtk3) >= 0.26 |
25 |
BuildRequires: pkgconfig(librsvg-2.0) >= 2.32.0 |
26 |
BuildRequires: pkgconfig(sm) |
27 |
BuildRequires: intltool |
28 |
BuildRequires: yelp-tools |
29 |
BuildRequires: itstool |
30 |
BuildRequires: gnome-doc-utils |
31 |
BuildRequires: docbook-dtds |
32 |
BuildRequires: rpm-mageia-setup-build >= 1.144 |
33 |
# For autoreconf, due to Patch0 |
34 |
BuildRequires: gettext-devel |
35 |
|
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 |
%apply_patches |
44 |
autoreconf -fi |
45 |
|
46 |
%build |
47 |
%configure2_5x \ |
48 |
--disable-schemas-compile \ |
49 |
--disable-schemas-install \ |
50 |
--disable-static |
51 |
%make V=1 |
52 |
|
53 |
%install |
54 |
%makeinstall_std |
55 |
|
56 |
%find_lang %{name} --with-help |
57 |
|
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 |
%{_libdir}/%{name}/ |
66 |
%{_libdir}/valgrind/aisleriot.supp |
67 |
%{_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} |