1 Summary: A collection of card games
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.12/%{name}-%{version}.tar.xz
8 # Source0-md5: a901064d8b14f35457cf017d9f073405
9 URL: https://wiki.gnome.org/Apps/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
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)
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
57 --disable-silent-rules \
58 --with-pysol-card-theme-path=%{_datadir}/pysol \
63 rm -rf $RPM_BUILD_ROOT
66 DESTDIR=$RPM_BUILD_ROOT
68 %find_lang %{name} --with-gnome
71 rm -rf $RPM_BUILD_ROOT
74 %update_icon_cache HighContrast
75 %update_icon_cache hicolor
76 %gconf_schema_install aisleriot.schemas
80 %gconf_schema_uninstall aisleriot.schemas
83 %update_icon_cache HighContrast
84 %update_icon_cache hicolor
87 %files -f %{name}.lang
88 %defattr(644,root,root,755)
89 %doc AUTHORS ChangeLog NEWS TODO
90 %attr(755,root,root) %{_bindir}/sol
91 %dir %{_libdir}/aisleriot
92 %attr(755,root,root) %{_libdir}/aisleriot/ar-cards-renderer
93 %{_libdir}/aisleriot/guile
94 %{_sysconfdir}/gconf/schemas/aisleriot.schemas
96 %{_datadir}/glib-2.0/schemas/org.gnome.Patience.WindowState.gschema.xml
97 %{_desktopdir}/sol.desktop
98 %{_iconsdir}/hicolor/*/*/*.png
99 %{_iconsdir}/HighContrast/scalable/*/*.svg
100 %{_mandir}/man6/sol.6*