]> git.pld-linux.org Git - packages/aisleriot.git/blobdiff - aisleriot.spec
- up to 3.22.30
[packages/aisleriot.git] / aisleriot.spec
index cc91b27db9b05ab09f7a992f82240079824da648..3558226c3b05740cb613efe8b90cca4b99c8abe6 100644 (file)
@@ -5,43 +5,38 @@
 Summary:       A collection of card games
 Summary(pl.UTF-8):     Kolekcja gier karcianych
 Name:          aisleriot
-Version:       3.22.7
-Release:       2
+Version:       3.22.30
+Release:       1
 License:       GPL v3+ and LGPL v3+ and GFDL
 Group:         X11/Applications/Games
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/aisleriot/3.22/%{name}-%{version}.tar.xz
-# Source0-md5: d62c15ea4e30afcda4fd94e8f440336e
+Source0:       https://gitlab.gnome.org/GNOME/aisleriot/-/archive/%{version}/%{name}-%{version}.tar.bz2
+# Source0-md5: 5fe4f20aa7cf5f53c5e0497409b11b22
 URL:           https://wiki.gnome.org/Apps/Aisleriot
-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
 BuildRequires: desktop-file-utils
 BuildRequires: gettext-tools
-BuildRequires: glib2-devel >= 1:2.32.0
-BuildRequires: gnome-common
-BuildRequires: gtk+3-devel >= 3.4.0
+BuildRequires: gtk+3-devel >= 3.18.0
 BuildRequires: guile-devel >= 5:2.2
-BuildRequires: intltool >= 0.40.0
 BuildRequires: itstool
 BuildRequires: libcanberra-gtk3-devel >= 0.26
 BuildRequires: librsvg-devel >= 2.32.0
-BuildRequires: libstdc++-devel
-BuildRequires: libtool
+BuildRequires: libstdc++-devel >= 6:4.7
+BuildRequires: libtool >= 2:2.2
 BuildRequires: libxml2-progs
+BuildRequires: lsb-release
+BuildRequires: meson >= 0.62.0
+BuildRequires: ninja >= 1.5
 BuildRequires: pkgconfig >= 1:0.15
 BuildRequires: rpmbuild(find_lang) >= 1.35
-BuildRequires: rpmbuild(macros) >= 1.311
+BuildRequires: rpmbuild(macros) >= 2.000
 BuildRequires: tar >= 1:1.22
-BuildRequires: xz
 BuildRequires: yelp-tools >= 3.2.0
-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:      gtk+3 >= 3.18.0
 Requires:      guile >= 5:2.2
 Requires:      hicolor-icon-theme
 Requires:      libcanberra-gtk3 >= 0.26
@@ -78,25 +73,18 @@ ObsÅ‚uga Aisleriota dla Valgrinda.
 %setup -q
 
 %build
-%{__intltoolize}
-%{__libtoolize}
-%{__aclocal} -I m4
-%{__autoconf}
-%{__autoheader}
-%{__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.2"
-%{__make} -j1
+%meson build \
+       -Dtheme_kde=false \
+       %{?with_qt:-Dtheme_svg_qtsvg=true -Dtheme_kde=true -Dtheme_kde_path=%{_datadir}/apps/carddecks} \
+       -Dtheme_pysol=true \
+       -Dtheme_pysol_path=%{_datadir}/pysol \
+
+%ninja_build -C build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+%ninja_install -C build
 
 %find_lang %{name} --with-gnome
 
@@ -104,31 +92,26 @@ rm -rf $RPM_BUILD_ROOT
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%update_icon_cache HighContrast
 %update_icon_cache hicolor
-%gconf_schema_install aisleriot.schemas
 %glib_compile_schemas
 
-%preun
-%gconf_schema_uninstall aisleriot.schemas
-
 %postun
-%update_icon_cache HighContrast
 %update_icon_cache hicolor
 %glib_compile_schemas
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS TODO
+%doc AUTHORS TODO
 %attr(755,root,root) %{_bindir}/sol
+%if "%{_libexecdir}" != "%{_libdir}"
 %dir %{_libexecdir}/aisleriot
+%endif
 %attr(755,root,root) %{_libexecdir}/aisleriot/ar-cards-renderer
 %dir %{_libdir}/aisleriot
 %{_libdir}/aisleriot/guile
-%{_sysconfdir}/gconf/schemas/aisleriot.schemas
 %{_datadir}/aisleriot
 %{_datadir}/glib-2.0/schemas/org.gnome.Patience.WindowState.gschema.xml
-%{_datadir}/metainfo/sol.appdata.xml
+%{_datadir}/metainfo/sol.metainfo.xml
 %{_desktopdir}/sol.desktop
 %{_iconsdir}/hicolor/*x*/apps/gnome-aisleriot.png
 %{_iconsdir}/hicolor/*x*/apps/gnome-freecell.png
This page took 0.105825 seconds and 4 git commands to generate.