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