/[packages]/cauldron/aisleriot/current/SPECS/aisleriot.spec
ViewVC logotype

Contents of /cauldron/aisleriot/current/SPECS/aisleriot.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 145241 - (show annotations) (download)
Mon Sep 19 01:25:23 2011 UTC (9 years, 10 months ago) by fwang
File size: 2104 byte(s)
new version 3.1.92
1 #FIXME: disabled temporarily to get package build (wally 07/2011)
2 %define Werror_cflags %nil
3
4 Name: aisleriot
5 Version: 3.1.92
6 Release: %mkrel 1
7 Url: http://live.gnome.org/Aisleriot
8 Source0: ftp://ftp.gnome.org/sources/%{name}/3.1/%{name}-%{version}.tar.xz
9 Summary: A compilation of solitaire card games
10 License: GPLv3+
11 Group: Games/Other
12 Conflicts: gnome-games < 2.29.6-2
13 BuildRequires: pkgconfig(cairo) >= 1.10.0
14 BuildRequires: pkgconfig(gconf-2.0) >= 2.0
15 BuildRequires: pkgconfig(gmodule-2.0)
16 BuildRequires: pkgconfig(gobject-2.0)
17 BuildRequires: pkgconfig(gthread-2.0)
18 BuildRequires: pkgconfig(gtk+-3.0) >= 3.0.0
19 BuildRequires: pkgconfig(guile-1.8) >= 1.8.0
20 BuildRequires: pkgconfig(ice)
21 BuildRequires: pkgconfig(libcanberra-gtk3) >= 0.26
22 BuildRequires: pkgconfig(librsvg-2.0) >= 2.32.0
23 BuildRequires: pkgconfig(sm)
24 BuildRequires: intltool
25 BuildRequires: gnome-doc-utils
26
27 %description
28 Aisleriot (also known as Solitaire or sol) is a collection of card games
29 which are easy to play with the aid of a mouse. The rules for the games
30 have been coded for your pleasure in the GNOME scripting language (Scheme).
31
32 %prep
33 %setup -q
34
35 %build
36 %configure2_5x \
37 --disable-schemas-compile \
38 --disable-schemas-install \
39 --disable-scrollkeeper \
40 --disable-static
41 %make
42
43 %install
44 %makeinstall_std
45
46 %find_lang %{name} --with-gnome
47
48 for omf in `find %{buildroot}%{_datadir}/omf/%{name}/*.omf|grep -v \\\-C\\\.omf`; do
49 echo "%lang($(basename $omf|sed -e s/.*-// -e s/.omf//)) $(echo $omf|sed -e s!%{buildroot}!!)" >> %{name}.lang
50 done
51
52 %preun
53 %preun_uninstall_gconf_schemas %{name}
54
55 %files -f %{name}.lang
56 %defattr(-, root, root)
57 %{_sysconfdir}/gconf/schemas/%{name}.schemas
58 %attr(2555, root, games) %{_bindir}/sol
59 %dir %{_libdir}/%{name}
60 %{_libdir}/%{name}/ar-cards-renderer
61 %{_datadir}/applications/sol.desktop
62 %{_datadir}/applications/freecell.desktop
63 %{_datadir}/glib-2.0/schemas/org.gnome.Patience.WindowState.gschema.xml
64 %{_iconsdir}/*/*/*/gnome-aisleriot.*
65 %{_iconsdir}/*/*/*/gnome-freecell.*
66 %{_mandir}/man6/sol.*
67 %{_datadir}/%{name}
68 %dir %{_datadir}/omf/%{name}
69 %{_datadir}/omf/%{name}/%{name}-C.omf

  ViewVC Help
Powered by ViewVC 1.1.28