]> git.pld-linux.org Git - packages/aisleriot.git/blame - aisleriot.spec
- updated gettext BR
[packages/aisleriot.git] / aisleriot.spec
CommitLineData
de77fa88
MB
1Summary: A collection of card games
2Name: aisleriot
0b138520 3Version: 3.12.1
de77fa88
MB
4Release: 1
5License: GPL v3+ and LGPL v3+ and GFDL
6Group: X11/Applications/Games
ca1f6c85 7Source0: http://ftp.gnome.org/pub/GNOME/sources/aisleriot/3.12/%{name}-%{version}.tar.xz
0b138520 8# Source0-md5: 439d677774ffbefda6290972b48c9235
ca1f6c85 9URL: https://wiki.gnome.org/Apps/Aisleriot
de77fa88
MB
10BuildRequires: GConf2-devel
11BuildRequires: autoconf >= 2.53
12BuildRequires: automake >= 1:1.9
13BuildRequires: cairo-devel >= 1.10.0
78cbcbf8 14BuildRequires: gettext-tools
40994bfc 15BuildRequires: glib2-devel >= 1:2.32.0
de77fa88 16BuildRequires: gnome-common
f73c2984 17BuildRequires: gtk+3-devel >= 3.4.0
de77fa88
MB
18BuildRequires: guile-devel >= 5:2.0
19BuildRequires: intltool >= 0.40.0
fa028694 20BuildRequires: itstool
de77fa88
MB
21BuildRequires: libcanberra-gtk3-devel >= 0.26
22BuildRequires: librsvg-devel >= 2.32.0
23BuildRequires: libtool
24BuildRequires: pkgconfig
25BuildRequires: rpmbuild(find_lang) >= 1.35
26BuildRequires: rpmbuild(macros) >= 1.311
27BuildRequires: tar >= 1:1.22
28BuildRequires: xz
29BuildRequires: yelp-tools >= 3.2.0
30Requires(post,preun): GConf2
31Requires(post,postun): glib2 >= 1:2.26.0
754f16f1 32Requires(post,postun): gtk-update-icon-cache
40994bfc 33Requires: glib2 >= 1:2.32.0
de77fa88
MB
34Requires: guile >= 5:2.0
35Requires: hicolor-icon-theme
de77fa88
MB
36Provides: gnome-games-sol = %{version}
37Obsoletes: gnome-games-sol
38BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40%description
41Aisleriot (also known as Solitaire or sol) is a collection of card
42games which are easy to play with the aid of a mouse. The rules for
43the games have been coded for your pleasure in the GNOME scripting
44language (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 \
ca1f6c85 58 --with-pysol-card-theme-path=%{_datadir}/pysol \
de77fa88
MB
59 --with-guile="2.0"
60%{__make} -j1
61
62%install
63rm -rf $RPM_BUILD_ROOT
64
65%{__make} install \
66 DESTDIR=$RPM_BUILD_ROOT
67
68%find_lang %{name} --with-gnome
69
70%clean
71rm -rf $RPM_BUILD_ROOT
72
73%post
ca1f6c85 74%update_icon_cache HighContrast
de77fa88
MB
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
ca1f6c85 83%update_icon_cache HighContrast
de77fa88
MB
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
40994bfc 93%{_libdir}/aisleriot/guile
de77fa88
MB
94%{_sysconfdir}/gconf/schemas/aisleriot.schemas
95%{_datadir}/aisleriot
96%{_datadir}/glib-2.0/schemas/org.gnome.Patience.WindowState.gschema.xml
de77fa88
MB
97%{_desktopdir}/sol.desktop
98%{_iconsdir}/hicolor/*/*/*.png
ca1f6c85 99%{_iconsdir}/HighContrast/scalable/*/*.svg
de77fa88 100%{_mandir}/man6/sol.6*
This page took 0.087177 seconds and 4 git commands to generate.