2011-06-16 08:50:33 +00:00
|
|
|
#
|
|
|
|
# spec file for package aisleriot
|
|
|
|
#
|
2021-01-14 18:27:19 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2011-06-16 08:50:33 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-11-12 10:53:00 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-06-16 08:50:33 +00:00
|
|
|
#
|
|
|
|
|
2012-02-26 15:36:56 +00:00
|
|
|
|
2011-06-16 08:50:33 +00:00
|
|
|
Name: aisleriot
|
2021-12-07 10:17:35 +00:00
|
|
|
Version: 3.22.19
|
2011-12-21 05:03:56 +00:00
|
|
|
Release: 0
|
2011-06-16 08:50:33 +00:00
|
|
|
Summary: Solitaire Card Games for GNOME
|
2018-03-05 14:03:39 +00:00
|
|
|
License: GPL-3.0-or-later
|
2019-09-11 09:11:58 +00:00
|
|
|
URL: https://wiki.gnome.org/Apps/Aisleriot
|
2021-04-15 13:17:19 +00:00
|
|
|
Source0: https://gitlab.gnome.org/GNOME/aisleriot/-/archive/%{version}/aisleriot-%{version}.tar.bz2
|
2012-10-17 20:14:22 +00:00
|
|
|
BuildRequires: fdupes
|
2020-01-20 12:44:11 +00:00
|
|
|
BuildRequires: gcc-c++
|
2019-09-11 09:11:58 +00:00
|
|
|
# Needed to get lsb data
|
2011-06-16 08:50:33 +00:00
|
|
|
BuildRequires: lsb-release
|
2020-01-20 12:44:11 +00:00
|
|
|
BuildRequires: meson >= 0.49
|
2018-03-05 14:03:39 +00:00
|
|
|
BuildRequires: pkgconfig
|
2011-06-16 08:50:33 +00:00
|
|
|
BuildRequires: update-desktop-files
|
2012-02-26 15:36:56 +00:00
|
|
|
BuildRequires: yelp-tools
|
2011-06-16 08:50:33 +00:00
|
|
|
BuildRequires: pkgconfig(cairo)
|
2012-09-07 15:39:46 +00:00
|
|
|
BuildRequires: pkgconfig(gobject-2.0) >= 2.32.0
|
2019-03-28 20:44:42 +00:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.18.0
|
2021-01-14 18:27:19 +00:00
|
|
|
BuildRequires: pkgconfig(guile-3.0)
|
2011-06-16 08:50:33 +00:00
|
|
|
BuildRequires: pkgconfig(libcanberra-gtk3)
|
|
|
|
BuildRequires: pkgconfig(librsvg-2.0)
|
2020-01-20 12:44:11 +00:00
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
2011-11-13 19:15:36 +00:00
|
|
|
Requires: guile
|
2011-06-16 08:50:33 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Aisleriot is a compilation of 80 different solitaire card games.
|
|
|
|
|
2011-08-08 13:42:02 +00:00
|
|
|
%package themes
|
2017-10-03 11:16:52 +00:00
|
|
|
Summary: Extra themes for the Aisleriot solitaire card game program
|
2011-08-08 13:42:02 +00:00
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Enhances: %{name}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description themes
|
|
|
|
Aisleriot is a compilation of 80 different solitaire card games.
|
|
|
|
|
|
|
|
This package provides extra themes for Aisleriot.
|
|
|
|
|
2011-06-16 08:50:33 +00:00
|
|
|
%lang_package
|
2018-03-05 14:03:39 +00:00
|
|
|
|
2011-06-16 08:50:33 +00:00
|
|
|
%prep
|
2019-09-11 09:11:58 +00:00
|
|
|
%autosetup -p1
|
2011-06-16 08:50:33 +00:00
|
|
|
|
|
|
|
%build
|
2020-01-20 12:44:11 +00:00
|
|
|
%meson \
|
2021-04-15 13:17:19 +00:00
|
|
|
-Dtheme_kde=false
|
2020-01-20 12:44:11 +00:00
|
|
|
%meson_build
|
2011-06-16 08:50:33 +00:00
|
|
|
|
|
|
|
%install
|
2020-01-20 12:44:11 +00:00
|
|
|
%meson_install
|
2017-11-02 13:53:05 +00:00
|
|
|
%fdupes -s %{buildroot}%{_datadir}/help
|
2011-06-16 08:50:33 +00:00
|
|
|
%suse_update_desktop_file -N "AisleRiot" -G "Solitaire" sol
|
|
|
|
%find_lang %{name} %{?no_lang_C}
|
|
|
|
|
2018-06-05 12:17:56 +00:00
|
|
|
%files
|
2018-03-05 14:03:39 +00:00
|
|
|
%license COPYING.GFDL
|
2020-01-20 12:44:11 +00:00
|
|
|
%doc AUTHORS README.md
|
2011-09-22 12:03:29 +00:00
|
|
|
%doc %{_datadir}/help/C/aisleriot/
|
2011-06-16 08:50:33 +00:00
|
|
|
%{_bindir}/sol
|
2017-05-10 20:03:18 +00:00
|
|
|
%dir %{_datadir}/metainfo
|
2020-01-20 12:44:11 +00:00
|
|
|
%{_datadir}/metainfo/sol.metainfo.xml
|
2011-06-16 08:50:33 +00:00
|
|
|
%{_datadir}/applications/sol.desktop
|
|
|
|
%{_datadir}/aisleriot/
|
|
|
|
%dir %{_libdir}/aisleriot
|
2011-12-21 05:03:56 +00:00
|
|
|
%dir %{_libdir}/aisleriot/guile
|
2017-05-10 10:13:32 +00:00
|
|
|
%dir %{_libdir}/aisleriot/guile/*
|
|
|
|
%dir %{_libdir}/aisleriot/guile/*/aisleriot
|
|
|
|
%{_libdir}/aisleriot/guile/*/aisleriot/api.go
|
|
|
|
%{_libdir}/aisleriot/guile/*/*.go
|
2012-02-08 10:57:23 +00:00
|
|
|
%if "%{_libdir}" != "%{_libexecdir}"
|
|
|
|
%dir %{_libexecdir}/aisleriot
|
|
|
|
%endif
|
|
|
|
%{_libexecdir}/aisleriot/ar-cards-renderer
|
2011-06-16 08:50:33 +00:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.Patience.WindowState.gschema.xml
|
2015-05-12 07:01:23 +00:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/gnome-aisleriot*
|
2011-06-16 08:50:33 +00:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/gnome-freecell.*
|
2018-03-05 14:03:39 +00:00
|
|
|
%{_mandir}/man?/sol*%{ext_man}
|
2012-02-08 10:57:23 +00:00
|
|
|
# Kind of ugly to own the valgrind directory, but the other solutions (a dep on
|
|
|
|
# valgrind, a subpackage, etc.) are not worth it
|
|
|
|
%dir %{_libdir}/valgrind
|
|
|
|
%{_libdir}/valgrind/aisleriot.supp
|
2011-08-08 13:42:02 +00:00
|
|
|
# Exclude files that are in themes
|
2011-11-28 08:28:30 +00:00
|
|
|
%exclude %{_datadir}/aisleriot/cards/anglo.svgz
|
|
|
|
%exclude %{_datadir}/aisleriot/cards/anglo_bitmap.svgz
|
|
|
|
%exclude %{_datadir}/aisleriot/cards/bellot.svgz
|
|
|
|
%exclude %{_datadir}/aisleriot/cards/bonded.svgz
|
|
|
|
%exclude %{_datadir}/aisleriot/cards/dondorf.svgz
|
|
|
|
%exclude %{_datadir}/aisleriot/cards/gnomangelo_bitmap.svgz
|
|
|
|
%exclude %{_datadir}/aisleriot/cards/ornamental.svgz
|
2011-08-08 13:42:02 +00:00
|
|
|
|
|
|
|
%files themes
|
2011-11-28 08:28:30 +00:00
|
|
|
%{_datadir}/aisleriot/cards/anglo.svgz
|
|
|
|
%{_datadir}/aisleriot/cards/anglo_bitmap.svgz
|
|
|
|
%{_datadir}/aisleriot/cards/bellot.svgz
|
|
|
|
%{_datadir}/aisleriot/cards/bonded.svgz
|
|
|
|
%{_datadir}/aisleriot/cards/dondorf.svgz
|
|
|
|
%{_datadir}/aisleriot/cards/gnomangelo_bitmap.svgz
|
|
|
|
%{_datadir}/aisleriot/cards/ornamental.svgz
|
2011-06-16 08:50:33 +00:00
|
|
|
|
2012-03-26 08:04:31 +00:00
|
|
|
%files lang -f aisleriot.lang
|
2011-06-16 08:50:33 +00:00
|
|
|
|
|
|
|
%changelog
|