]> git.pld-linux.org Git - packages/aisleriot.git/blobdiff - aisleriot.spec
- rel 2; one more dir
[packages/aisleriot.git] / aisleriot.spec
index 14f35a8b734984868915a9655cbaf1e6a774ff69..cc91b27db9b05ab09f7a992f82240079824da648 100644 (file)
@@ -1,14 +1,19 @@
+#
+# Conditional build:
+%bcond_with    qt      # Support for QtSvg based formats (kde,native)
+#
 Summary:       A collection of card games
 Summary(pl.UTF-8):     Kolekcja gier karcianych
 Name:          aisleriot
-Version:       3.16.2
-Release:       1
+Version:       3.22.7
+Release:       2
 License:       GPL v3+ and LGPL v3+ and GFDL
 Group:         X11/Applications/Games
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/aisleriot/3.16/%{name}-%{version}.tar.xz
-# Source0-md5: 00a71ccef4df729178b56353453fbbcd
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/aisleriot/3.22/%{name}-%{version}.tar.xz
+# Source0-md5: d62c15ea4e30afcda4fd94e8f440336e
 URL:           https://wiki.gnome.org/Apps/Aisleriot
-BuildRequires: GConf2-devel
+BuildRequires: GConf2-devel >= 2.0
+%{?with_qt:BuildRequires:      Qt5Svg-devel >= 5.0.0}
 BuildRequires: autoconf >= 2.53
 BuildRequires: automake >= 1:1.9
 BuildRequires: cairo-devel >= 1.10.0
@@ -17,7 +22,7 @@ BuildRequires:        gettext-tools
 BuildRequires: glib2-devel >= 1:2.32.0
 BuildRequires: gnome-common
 BuildRequires: gtk+3-devel >= 3.4.0
-BuildRequires: guile-devel >= 5:2.0
+BuildRequires: guile-devel >= 5:2.2
 BuildRequires: intltool >= 0.40.0
 BuildRequires: itstool
 BuildRequires: libcanberra-gtk3-devel >= 0.26
@@ -31,13 +36,13 @@ BuildRequires:      rpmbuild(macros) >= 1.311
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
 BuildRequires: yelp-tools >= 3.2.0
-Requires(post,preun):  GConf2
+Requires(post,preun):  GConf2 >= 2.0
 Requires(post,postun): glib2 >= 1:2.32.0
 Requires(post,postun): gtk-update-icon-cache
 Requires:      cairo >= 1.10.0
 Requires:      glib2 >= 1:2.32.0
 Requires:      gtk+3 >= 3.4.0
-Requires:      guile >= 5:2.0
+Requires:      guile >= 5:2.2
 Requires:      hicolor-icon-theme
 Requires:      libcanberra-gtk3 >= 0.26
 Requires:      librsvg >= 2.32.0
@@ -81,8 +86,10 @@ ObsÅ‚uga Aisleriota dla Valgrinda.
 %{__automake}
 bash %configure \
        --disable-silent-rules \
+       --with-card-theme-formats=svg,fixed,pysol%{?with_qt:,kde,native} \
+       --with-kde-card-theme-path=%{_datadir}/apps/carddecks \
        --with-pysol-card-theme-path=%{_datadir}/pysol \
-       --with-guile="2.0"
+       --with-guile="2.2"
 %{__make} -j1
 
 %install
@@ -114,13 +121,14 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS TODO
 %attr(755,root,root) %{_bindir}/sol
+%dir %{_libexecdir}/aisleriot
+%attr(755,root,root) %{_libexecdir}/aisleriot/ar-cards-renderer
 %dir %{_libdir}/aisleriot
-%attr(755,root,root) %{_libdir}/aisleriot/ar-cards-renderer
 %{_libdir}/aisleriot/guile
 %{_sysconfdir}/gconf/schemas/aisleriot.schemas
 %{_datadir}/aisleriot
-%{_datadir}/appdata/sol.appdata.xml
 %{_datadir}/glib-2.0/schemas/org.gnome.Patience.WindowState.gschema.xml
+%{_datadir}/metainfo/sol.appdata.xml
 %{_desktopdir}/sol.desktop
 %{_iconsdir}/hicolor/*x*/apps/gnome-aisleriot.png
 %{_iconsdir}/hicolor/*x*/apps/gnome-freecell.png
This page took 0.055256 seconds and 4 git commands to generate.