]> git.pld-linux.org Git - packages/aisleriot.git/blob - aisleriot.spec
- new
[packages/aisleriot.git] / aisleriot.spec
1 Summary:        A collection of card games
2 Name:           aisleriot
3 Version:        3.2.0
4 Release:        1
5 License:        GPL v3+ and LGPL v3+ and GFDL
6 Group:          X11/Applications/Games
7 Source0:        http://ftp.gnome.org/pub/GNOME/sources/aisleriot/3.2/%{name}-%{version}.tar.xz
8 # Source0-md5:  899072be0b57c4da0b7c4e80f67e68d5
9 URL:            http://live.gnome.org/Aisleriot
10 BuildRequires:  GConf2-devel
11 BuildRequires:  autoconf >= 2.53
12 BuildRequires:  automake >= 1:1.9
13 BuildRequires:  cairo-devel >= 1.10.0
14 BuildRequires:  gettext-devel
15 BuildRequires:  glib2-devel >= 1:2.26.0
16 BuildRequires:  gnome-common
17 BuildRequires:  gtk+3-devel >= 3.0.0
18 BuildRequires:  guile-devel >= 5:2.0
19 BuildRequires:  intltool >= 0.40.0
20 BuildRequires:  libcanberra-gtk3-devel >= 0.26
21 BuildRequires:  librsvg-devel >= 2.32.0
22 BuildRequires:  libtool
23 BuildRequires:  pkgconfig
24 BuildRequires:  rpmbuild(find_lang) >= 1.35
25 BuildRequires:  rpmbuild(macros) >= 1.311
26 BuildRequires:  tar >= 1:1.22
27 BuildRequires:  xz
28 BuildRequires:  yelp-tools >= 3.2.0
29 Requires(post,preun):   GConf2
30 Requires(post,postun):  glib2 >= 1:2.26.0
31 Requires:       guile >= 5:2.0
32 Requires:       hicolor-icon-theme
33 Requires(post,postun):  gtk-update-icon-cache
34 Provides:       gnome-games-sol = %{version}
35 Obsoletes:      gnome-games-sol
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %description
39 Aisleriot (also known as Solitaire or sol) is a collection of card
40 games which are easy to play with the aid of a mouse. The rules for
41 the games have been coded for your pleasure in the GNOME scripting
42 language (Scheme).
43
44 %prep
45 %setup -q
46
47 %build
48 %{__intltoolize}
49 %{__libtoolize}
50 %{__aclocal} -I m4
51 %{__autoconf}
52 %{__autoheader}
53 %{__automake}
54 %configure \
55         --disable-silent-rules \
56         --with-guile="2.0"
57 %{__make} -j1
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61
62 %{__make} install \
63         DESTDIR=$RPM_BUILD_ROOT
64
65 %find_lang %{name} --with-gnome
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %post
71 %update_icon_cache hicolor
72 %gconf_schema_install aisleriot.schemas
73 %glib_compile_schemas
74
75 %preun
76 %gconf_schema_uninstall aisleriot.schemas
77
78 %postun
79 %update_icon_cache hicolor
80 %glib_compile_schemas
81
82 %files -f %{name}.lang
83 %defattr(644,root,root,755)
84 %doc AUTHORS ChangeLog NEWS TODO
85 %attr(755,root,root) %{_bindir}/sol
86 %dir %{_libdir}/aisleriot
87 %attr(755,root,root) %{_libdir}/aisleriot/ar-cards-renderer
88 %{_sysconfdir}/gconf/schemas/aisleriot.schemas
89 %{_datadir}/aisleriot
90 %{_datadir}/glib-2.0/schemas/org.gnome.Patience.WindowState.gschema.xml
91 %{_desktopdir}/freecell.desktop
92 %{_desktopdir}/sol.desktop
93 %{_iconsdir}/hicolor/*/*/*.png
94 %{_mandir}/man6/sol.6*
This page took 0.123956 seconds and 3 git commands to generate.