2013-03-13 20:53:34 +01:00
|
|
|
#
|
2013-03-20 19:02:02 +01:00
|
|
|
# spec file for package gnome-mahjongg
|
2013-03-13 20:53:34 +01:00
|
|
|
#
|
2023-04-26 11:49:46 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2013-03-13 20:53:34 +01: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.
|
|
|
|
|
2019-03-28 21:45:06 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-03-13 20:53:34 +01:00
|
|
|
#
|
|
|
|
|
2013-03-20 19:02:02 +01:00
|
|
|
|
2013-03-13 20:53:34 +01:00
|
|
|
Name: gnome-mahjongg
|
2023-09-26 09:23:15 +02:00
|
|
|
Version: 3.40.0+35
|
2013-03-13 20:53:34 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Mahjong Solitaire Game for GNOME
|
2018-03-05 14:49:06 +01:00
|
|
|
License: GPL-2.0-or-later
|
2013-03-13 20:53:34 +01:00
|
|
|
Group: Amusements/Games/Board/Puzzle
|
2018-03-05 14:49:06 +01:00
|
|
|
URL: https://live.gnome.org/GnomeMahongg
|
2023-09-26 09:23:15 +02:00
|
|
|
Source0: %{name}-%{version}.tar.zst
|
2019-03-28 21:45:06 +01:00
|
|
|
|
2023-06-01 12:54:33 +02:00
|
|
|
BuildRequires: appstream-glib
|
|
|
|
BuildRequires: desktop-file-utils
|
2019-03-28 21:45:06 +01:00
|
|
|
BuildRequires: fdupes
|
2023-06-01 12:54:33 +02:00
|
|
|
BuildRequires: itstool
|
2019-03-28 21:45:06 +01:00
|
|
|
BuildRequires: meson
|
2018-03-05 14:49:06 +01:00
|
|
|
BuildRequires: pkgconfig
|
2014-08-23 13:54:00 +02:00
|
|
|
BuildRequires: vala >= 0.24.0
|
2014-04-03 23:18:39 +02:00
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
2014-08-23 13:54:00 +02:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.40.0
|
2023-06-01 12:54:33 +02:00
|
|
|
BuildRequires: pkgconfig(gtk4)
|
|
|
|
BuildRequires: pkgconfig(libadwaita-1)
|
|
|
|
BuildRequires: pkgconfig(librsvg-2.0) >= 2.46.0
|
2013-03-13 20:53:34 +01:00
|
|
|
# Package was renamed to gnome-mahjongg, following upstreams name change during 3.6 development.
|
|
|
|
Obsoletes: mahjongg < %{version}
|
|
|
|
Provides: mahjongg = %{version}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Mahjongg is a solitaire version of the classic Eastern tile game. It
|
|
|
|
involves clearing as much of the board as possible by matching
|
|
|
|
corresponding tiles and taking them out of play.
|
|
|
|
|
|
|
|
%lang_package
|
2018-03-05 14:49:06 +01:00
|
|
|
|
2013-03-13 20:53:34 +01:00
|
|
|
%prep
|
2019-03-28 21:45:06 +01:00
|
|
|
%autosetup -p1
|
2013-03-13 20:53:34 +01:00
|
|
|
|
|
|
|
%build
|
2023-06-01 12:54:33 +02:00
|
|
|
%meson
|
2019-03-28 21:45:06 +01:00
|
|
|
%meson_build
|
2013-03-13 20:53:34 +01:00
|
|
|
|
|
|
|
%install
|
2019-03-28 21:45:06 +01:00
|
|
|
%meson_install
|
2013-03-13 20:53:34 +01:00
|
|
|
%find_lang %{name} %{?no_lang_C}
|
2019-03-28 21:45:06 +01:00
|
|
|
%fdupes %{buildroot}%{_datadir}
|
2013-03-13 20:53:34 +01:00
|
|
|
|
2023-06-01 12:54:33 +02:00
|
|
|
%check
|
|
|
|
%meson_test
|
|
|
|
|
2013-03-13 20:53:34 +01:00
|
|
|
%files
|
2018-03-05 14:49:06 +01:00
|
|
|
%license COPYING
|
|
|
|
%doc NEWS
|
2013-03-13 20:53:34 +01:00
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_datadir}/%{name}/
|
2019-03-28 21:45:06 +01:00
|
|
|
%{_datadir}/metainfo/org.gnome.Mahjongg.appdata.xml
|
|
|
|
%{_datadir}/applications/org.gnome.Mahjongg.desktop
|
2023-06-01 12:54:33 +02:00
|
|
|
%{_datadir}/dbus-1/services/org.gnome.Mahjongg.service
|
2019-03-28 21:45:06 +01:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.Mahjongg.gschema.xml
|
2022-02-03 22:52:48 +01:00
|
|
|
%{_datadir}/help/C/%{name}/
|
2019-03-28 21:45:06 +01:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/org.gnome.Mahjongg*
|
2013-03-13 20:53:34 +01:00
|
|
|
%{_mandir}/man6/%{name}.6%{?ext_man}
|
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|