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