48c668179089c19df1f78a7cd40baa9ced7019cb
[packages/aisleriot.git] / aisleriot.spec
1 Summary:        A collection of card games
2 Name:           aisleriot
3 Version:        3.12.1
4 Release:        2
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:  439d677774ffbefda6290972b48c9235
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-tools
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-pysol-card-theme-path=%{_datadir}/pysol \
59         --with-guile="2.0"
60 %{__make} -j1
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT
67
68 %find_lang %{name} --with-gnome
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post
74 %update_icon_cache HighContrast
75 %update_icon_cache hicolor
76 %gconf_schema_install aisleriot.schemas
77 %glib_compile_schemas
78
79 %preun
80 %gconf_schema_uninstall aisleriot.schemas
81
82 %postun
83 %update_icon_cache HighContrast
84 %update_icon_cache hicolor
85 %glib_compile_schemas
86
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
95 %{_datadir}/aisleriot
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*
This page took 0.04413 seconds and 2 git commands to generate.