File extension-manager.spec of Package extension-manager

#
# spec file for package extension-manager
#
# Copyright (c) 2022 SUSE LLC
#
# 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:           extension-manager
Version:        0.4.2
Release:        1
Summary:        A utility for browsing and installing GNOME Shell Extensions
# FIXME: Select a correct license from https://github.com/openSUSE/spec-cleaner#spdx-licenses
License:        GPL
URL:            https://github.com/mjakeman/extension-manager
BuildRequires:  meson
BuildRequires:  gcc-c++
BuildRequires:  libbacktrace-devel
BuildRequires:  json-glib-devel
BuildRequires:  desktop-file-utils
BuildRequires:  python3-gobject-devel
BuildRequires:  pkgconfig(libxml-2.0)
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gtk4)
BuildRequires:  pkgconfig(libadwaita-1)
BuildRequires:  pkgconfig(libsoup-3.0)
BuildRequires:  pkgconfig(text-engine-0.1) 
BuildRequires:  pkgconfig(blueprint-compiler)
BuildRequires:  pkg-config
BuildRequires:  cmake
Requires: unzip
Requires: gjs
Source0:        https://github.com/mjakeman/extension-manager/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
%description
A native tool for browsing, installing, and managing GNOME Shell Extensions.
Written with GTK 4 and libadwaita.

%package lang
BuildArch: noarch
Summary: Languages for extension manager
%description lang
Languages for extension manager.

%prep
%autosetup



%build
export CFLAGS="-Wno-error -fPIC"
export CXXFLAGS="-Wno-error -fPIC"
%meson
%meson_build

%install
%meson_install
%find_lang %{name}

%files
%license COPYING
%doc README.md
%{_bindir}/%{name}
%{_datadir}/applications/*.desktop
%{_datadir}/glib-2.0/schemas/com.mattjakeman.ExtensionManager.gschema.xml
%{_datadir}/icons/*/*/*/*.svg
%{_datadir}/metainfo/*

%files lang
%{_datadir}/locale/**/*
%dir %{_datadir}/locale

%changelog


openSUSE Build Service is sponsored by