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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 119470 - (hide annotations) (download)
Wed Jul 6 16:11:54 2011 UTC (9 years, 11 months ago) by wally
File size: 1904 byte(s)
imported package aisleriot
1 wally 119470 #FIXME: disabled temporarily to get package build (wally 07/2011)
2     %define Werror_cflags %nil
3    
4     Name: aisleriot
5     Version: 3.1.0
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: gtk+3-devel
14     BuildRequires: guile-devel
15     BuildRequires: clutter-devel
16     BuildRequires: clutter-gtk-devel
17     BuildRequires: intltool
18     BuildRequires: libcanberra-gtk-devel
19     BuildRequires: libGConf2-devel
20     BuildRequires: librsvg-devel
21     BuildRequires: libsm-devel
22    
23     %description
24     Aisleriot (also known as Solitaire or sol) is a collection of card games
25     which are easy to play with the aid of a mouse. The rules for the games
26     have been coded for your pleasure in the GNOME scripting language (Scheme).
27    
28     %prep
29     %setup -q
30    
31     %build
32     %configure2_5x \
33     --disable-schemas-compile \
34     --disable-schemas-install \
35     --disable-scrollkeeper \
36     --disable-static \
37     --with-gtk=3.0 \
38     --with-clutter
39    
40     %make
41    
42     %install
43     %makeinstall_std
44    
45     %find_lang %{name} --with-gnome
46    
47     for omf in `find %{buildroot}%{_datadir}/omf/%{name}/*.omf|grep -v \\\-C\\\.omf`; do
48     echo "%lang($(basename $omf|sed -e s/.*-// -e s/.omf//)) $(echo $omf|sed -e s!%{buildroot}!!)" >> %{name}.lang
49     done
50    
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     %dir %{_libdir}/%{name}
59     %{_libdir}/%{name}/ar-cards-renderer
60     %{_datadir}/applications/sol.desktop
61     %{_datadir}/applications/freecell.desktop
62     %{_datadir}/glib-2.0/schemas/org.gnome.Patience.WindowState.gschema.xml
63     %{_iconsdir}/*/*/*/gnome-aisleriot.*
64     %{_iconsdir}/*/*/*/gnome-freecell.*
65     %{_mandir}/man6/sol.*
66     %{_datadir}/%{name}
67     %dir %{_datadir}/omf/%{name}
68     %{_datadir}/omf/%{name}/%{name}-C.omf

  ViewVC Help
Powered by ViewVC 1.1.28