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.5.0 |
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 |
# From upstream git: |
13 |
Patch1: aisleriot-3.5.0-fix-build.patch |
14 |
Summary: A compilation of solitaire card games |
15 |
License: GPLv3+ |
16 |
Group: Games/Other |
17 |
Conflicts: gnome-games < 2.29.6-2 |
18 |
BuildRequires: pkgconfig(cairo) >= 1.10.0 |
19 |
BuildRequires: pkgconfig(gconf-2.0) >= 2.0 |
20 |
BuildRequires: pkgconfig(gmodule-2.0) |
21 |
BuildRequires: pkgconfig(gobject-2.0) |
22 |
BuildRequires: pkgconfig(gthread-2.0) |
23 |
BuildRequires: pkgconfig(gtk+-3.0) >= 3.0.0 |
24 |
BuildRequires: pkgconfig(guile-2.0) >= 2.0.0 |
25 |
BuildRequires: pkgconfig(ice) |
26 |
BuildRequires: pkgconfig(libcanberra-gtk3) >= 0.26 |
27 |
BuildRequires: pkgconfig(librsvg-2.0) >= 2.32.0 |
28 |
BuildRequires: pkgconfig(sm) |
29 |
BuildRequires: intltool |
30 |
BuildRequires: yelp-tools |
31 |
BuildRequires: itstool |
32 |
BuildRequires: gnome-doc-utils |
33 |
BuildRequires: docbook-dtds |
34 |
BuildRequires: rpm-mageia-setup-build >= 1.144 |
35 |
BuildRequires: guile |
36 |
# For autoreconf, due to Patch0 |
37 |
BuildRequires: gettext-devel |
38 |
|
39 |
%description |
40 |
Aisleriot (also known as Solitaire or sol) is a collection of card games |
41 |
which are easy to play with the aid of a mouse. The rules for the games |
42 |
have been coded for your pleasure in the GNOME scripting language (Scheme). |
43 |
|
44 |
%prep |
45 |
%setup -q |
46 |
%apply_patches |
47 |
|
48 |
%build |
49 |
autoreconf -vfi |
50 |
%configure2_5x \ |
51 |
--disable-schemas-compile \ |
52 |
--disable-schemas-install \ |
53 |
--disable-static |
54 |
%make V=1 |
55 |
|
56 |
%install |
57 |
%makeinstall_std |
58 |
|
59 |
%find_lang %{name} --with-help |
60 |
|
61 |
%preun |
62 |
%preun_uninstall_gconf_schemas %{name} |
63 |
|
64 |
%files -f %{name}.lang |
65 |
%{_sysconfdir}/gconf/schemas/%{name}.schemas |
66 |
%attr(2555, root, games) %{_bindir}/sol |
67 |
%{_libdir}/%{name}/ |
68 |
%{_libdir}/valgrind/aisleriot.supp |
69 |
%{_datadir}/applications/sol.desktop |
70 |
%{_datadir}/applications/freecell.desktop |
71 |
%{_datadir}/glib-2.0/schemas/org.gnome.Patience.WindowState.gschema.xml |
72 |
%{_iconsdir}/hicolor/*/apps/gnome-aisleriot.* |
73 |
%{_iconsdir}/hicolor/*/apps/gnome-freecell.* |
74 |
%{_mandir}/man6/sol.* |
75 |
%{_datadir}/%{name}/ |