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