File passbook.spec of Package passbook

#
# spec file for package passbook
#
# Copyright (c) 2018 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 http://bugs.opensuse.org/
#


%global gobject_introspection_version 1.35.9
Name:           passbook
Version:        0.8.r2.g6d6284d
Release:        0
Summary:        GNOME music playing application
License:        GPL-3.0-or-later
Group:          Productivity/Security
Url:            https://wiki.gnome.org/Apps/Passbook
Source0:        %{name}-%{version}.tar.xz
BuildRequires:  desktop-file-utils
BuildRequires:  intltool
BuildRequires:  itstool
BuildRequires:  meson >= 0.41
BuildRequires:  pkgconfig
BuildRequires:  python3-devel
BuildRequires:  pkgconfig(gobject-introspection-1.0) >= %{gobject_introspection_version}
BuildRequires:  pkgconfig(gtk+-3.0) >= 3.20
Requires:       gobject-introspection >= %{gobject_introspection_version}
Requires:       python3-cairo
Requires:       python3-gobject
Recommends:     %{name}-lang = %{version}
BuildArch:      noarch

%description
Passbook is a password manager for GNOME

%lang_package

%prep
%setup -q

%build
%meson

%install
%meson_install
%find_lang %{name} %{?no_lang_C}

%check
%meson_test

%files -f %{name}.lang
%doc AUTHORS README.md
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_datadir}/metainfo/org.gnome.Passbook.appdata.xml
%{_datadir}/applications/org.gnome.Passbook.desktop
%{_datadir}/icons/hicolor/scalable/apps/*.svg
%{_datadir}/glib-2.0/schemas/org.gnome.Passbook.gschema.xml
%{python3_sitelib}/passbook/
openSUSE Build Service is sponsored by