]> git.pld-linux.org Git - packages/aisleriot.git/blame_incremental - aisleriot.spec
- rel 2; one more dir
[packages/aisleriot.git] / aisleriot.spec
... / ...
CommitLineData
1#
2# Conditional build:
3%bcond_with qt # Support for QtSvg based formats (kde,native)
4#
5Summary: A collection of card games
6Summary(pl.UTF-8): Kolekcja gier karcianych
7Name: aisleriot
8Version: 3.22.7
9Release: 2
10License: GPL v3+ and LGPL v3+ and GFDL
11Group: X11/Applications/Games
12Source0: http://ftp.gnome.org/pub/GNOME/sources/aisleriot/3.22/%{name}-%{version}.tar.xz
13# Source0-md5: d62c15ea4e30afcda4fd94e8f440336e
14URL: https://wiki.gnome.org/Apps/Aisleriot
15BuildRequires: GConf2-devel >= 2.0
16%{?with_qt:BuildRequires: Qt5Svg-devel >= 5.0.0}
17BuildRequires: autoconf >= 2.53
18BuildRequires: automake >= 1:1.9
19BuildRequires: cairo-devel >= 1.10.0
20BuildRequires: desktop-file-utils
21BuildRequires: gettext-tools
22BuildRequires: glib2-devel >= 1:2.32.0
23BuildRequires: gnome-common
24BuildRequires: gtk+3-devel >= 3.4.0
25BuildRequires: guile-devel >= 5:2.2
26BuildRequires: intltool >= 0.40.0
27BuildRequires: itstool
28BuildRequires: libcanberra-gtk3-devel >= 0.26
29BuildRequires: librsvg-devel >= 2.32.0
30BuildRequires: libstdc++-devel
31BuildRequires: libtool
32BuildRequires: libxml2-progs
33BuildRequires: pkgconfig >= 1:0.15
34BuildRequires: rpmbuild(find_lang) >= 1.35
35BuildRequires: rpmbuild(macros) >= 1.311
36BuildRequires: tar >= 1:1.22
37BuildRequires: xz
38BuildRequires: yelp-tools >= 3.2.0
39Requires(post,preun): GConf2 >= 2.0
40Requires(post,postun): glib2 >= 1:2.32.0
41Requires(post,postun): gtk-update-icon-cache
42Requires: cairo >= 1.10.0
43Requires: glib2 >= 1:2.32.0
44Requires: gtk+3 >= 3.4.0
45Requires: guile >= 5:2.2
46Requires: hicolor-icon-theme
47Requires: libcanberra-gtk3 >= 0.26
48Requires: librsvg >= 2.32.0
49Provides: gnome-games-sol = %{version}
50Obsoletes: gnome-games-sol
51BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
52
53%description
54Aisleriot (also known as Solitaire or sol) is a collection of card
55games which are easy to play with the aid of a mouse. The rules for
56the games have been coded for your pleasure in the GNOME scripting
57language (Scheme).
58
59%description -l pl.UTF-8
60Aisleriot (znany także jako Pasjans, Solitaire lub sol) to kolekcja
61gier karcianych, łatwych do rozgrywania przy pomocy myszy. Zasady gier
62zostały zakodowane w języku skryptowym GNOME (Scheme).
63
64%package -n valgrind-aisleriot
65Summary: Aisleriot support for Valgrind
66Summary(pl.UTF-8): Obsługa Aisleriota dla Valgrinda
67Group: Development/Libraries
68Requires: %{name} = %{version}-%{release}
69Requires: valgrind
70
71%description -n valgrind-aisleriot
72Aisleriot support for Valgrind.
73
74%description -n valgrind-aisleriot -l pl.UTF-8
75Obsługa Aisleriota dla Valgrinda.
76
77%prep
78%setup -q
79
80%build
81%{__intltoolize}
82%{__libtoolize}
83%{__aclocal} -I m4
84%{__autoconf}
85%{__autoheader}
86%{__automake}
87bash %configure \
88 --disable-silent-rules \
89 --with-card-theme-formats=svg,fixed,pysol%{?with_qt:,kde,native} \
90 --with-kde-card-theme-path=%{_datadir}/apps/carddecks \
91 --with-pysol-card-theme-path=%{_datadir}/pysol \
92 --with-guile="2.2"
93%{__make} -j1
94
95%install
96rm -rf $RPM_BUILD_ROOT
97
98%{__make} install \
99 DESTDIR=$RPM_BUILD_ROOT
100
101%find_lang %{name} --with-gnome
102
103%clean
104rm -rf $RPM_BUILD_ROOT
105
106%post
107%update_icon_cache HighContrast
108%update_icon_cache hicolor
109%gconf_schema_install aisleriot.schemas
110%glib_compile_schemas
111
112%preun
113%gconf_schema_uninstall aisleriot.schemas
114
115%postun
116%update_icon_cache HighContrast
117%update_icon_cache hicolor
118%glib_compile_schemas
119
120%files -f %{name}.lang
121%defattr(644,root,root,755)
122%doc AUTHORS ChangeLog NEWS TODO
123%attr(755,root,root) %{_bindir}/sol
124%dir %{_libexecdir}/aisleriot
125%attr(755,root,root) %{_libexecdir}/aisleriot/ar-cards-renderer
126%dir %{_libdir}/aisleriot
127%{_libdir}/aisleriot/guile
128%{_sysconfdir}/gconf/schemas/aisleriot.schemas
129%{_datadir}/aisleriot
130%{_datadir}/glib-2.0/schemas/org.gnome.Patience.WindowState.gschema.xml
131%{_datadir}/metainfo/sol.appdata.xml
132%{_desktopdir}/sol.desktop
133%{_iconsdir}/hicolor/*x*/apps/gnome-aisleriot.png
134%{_iconsdir}/hicolor/*x*/apps/gnome-freecell.png
135%{_iconsdir}/hicolor/symbolic/apps/gnome-aisleriot-symbolic.svg
136%{_mandir}/man6/sol.6*
137
138%files -n valgrind-aisleriot
139%defattr(644,root,root,755)
140%{_libdir}/valgrind/aisleriot.supp
This page took 0.051097 seconds and 4 git commands to generate.