File app-icon-preview.spec of Package app-icon-preview
#
# spec file for package app-icon-preview
#
# Copyright (c) 2020 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/
#
%define _lto_cflags %{nil}
%define appname org.gnome.design.AppIconPreview
Name: app-icon-preview
Version: 3.5.1
Release: 0
Summary: Tool for designing applications icons
License: GPL-3.0-only
URL: https://gitlab.gnome.org/World/design/%{name}
Source0: %{name}-%{version}.tar.gz
Source1: vendor.tar.zst
Source2: cargo_config
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: cargo-packaging
BuildRequires: desktop-file-utils
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(libadwaita-1)
%description
%{summary}.
%lang_package
%prep
%autosetup -a1
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{name}
%files
%license LICENSE
%doc README.md
%{_bindir}/%{name}
%{_datadir}/applications/%{appname}.desktop
%{_datadir}/dbus-1/services/%{appname}.service
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
%{_datadir}/metainfo/%{appname}.metainfo.xml
%{_datadir}/icons/hicolor/*/apps/*.svg
%{_datadir}/app-icon-preview/
%files lang -f %{name}.lang
%changelog