1
0
gnome-mahjongg/gnome-mahjongg.spec
Bjørn Lie 2b198b4d82 Accepting request 688483 from GNOME:Next
- Update to version 3.32.0:
  + Updated translations.
- Update to version 3.31.92:
  + Localize date column of score list.
  + Updated translations.
- Update to version 3.31.90:
  + Validate the AppStream metadata and .desktop file as build
    tests.
  + Miscellaneous cleanup.
- Update to version 3.31.4:
  + Consistently use org.gnome.Mahjongg as app ID.
  + Fix pause button when clicking on game to unpause.
  + Miscellaneous improvements.
  + Updated translations.
- Update to version 3.31.3:
  + Switch from autotools to meson.
  + Follow GNOME 3.32 app menu recommendations.
  + Add Keyboard Shortcuts overlay.
  + Hide Keyboard Shortcuts section in app help.
  + Add Flatpak manifest.
  + Stop using intltool.
  + Miscellaneous improvements.
- Switch to meson buildsystem, add meson BuildRequires and macros.
- Drop intltool BuildRequires, no longer needed.
- Drop post(un) handling of glib2_gsettings_schema_post(un),
  desktop_database_post(un) and icon_theme_cache_post(un) and drop
  glib2_gsettings_schema_requires, no longer needed.
- Drop update-desktop-files BuildRequires and
  suse_update_desktop_file macro, no longer needed.
- Add fdupes BuildRequires and macro, remove duplicate files.

OBS-URL: https://build.opensuse.org/request/show/688483
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-mahjongg?expand=0&rev=45
2019-03-28 20:45:06 +00:00

77 lines
2.3 KiB
RPMSpec

#
# spec file for package gnome-mahjongg
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: gnome-mahjongg
Version: 3.32.0
Release: 0
Summary: Mahjong Solitaire Game for GNOME
License: GPL-2.0-or-later
Group: Amusements/Games/Board/Puzzle
URL: https://live.gnome.org/GnomeMahongg
Source0: https://download.gnome.org/sources/gnome-mahjongg/3.32/%{name}-%{version}.tar.xz
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: vala >= 0.24.0
BuildRequires: yelp-tools
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.40.0
BuildRequires: pkgconfig(gtk+-3.0) >= 3.13.2
BuildRequires: pkgconfig(librsvg-2.0) >= 2.32.0
Recommends: %{name}-lang
# 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
%prep
%autosetup -p1
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}%{_datadir}
%files
%license COPYING
%doc NEWS
%doc %{_datadir}/help/C/%{name}/
%{_bindir}/%{name}
%{_datadir}/%{name}/
%{_datadir}/metainfo/org.gnome.Mahjongg.appdata.xml
%{_datadir}/applications/org.gnome.Mahjongg.desktop
%{_datadir}/glib-2.0/schemas/org.gnome.Mahjongg.gschema.xml
%{_datadir}/icons/hicolor/*/apps/org.gnome.Mahjongg*
%{_mandir}/man6/%{name}.6%{?ext_man}
%files lang -f %{name}.lang
%changelog