File obfuscate.spec of Package obfuscate
#
# spec file for package obfuscate
#
# Copyright (c) 2024 mantarimay
#
# 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 rurl 7286537df58cb49424c1b4871b915421
%define appid com.belmoussaoui.Obfuscate
Name: obfuscate
Version: 0.0.10
Release: 0
Summary: Censor private information
License: GPL-3.0-or-later
URL: https://gitlab.gnome.org/World/obfuscate
Source: %{url}/uploads/%{rurl}/%{name}-%{version}.tar.xz
BuildRequires: appstream-glib
BuildRequires: cargo-packaging
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(libadwaita-1)
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
%description
Obfuscate lets you redact your private information from any image.
%lang_package
%prep
%autosetup
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{name} %{?no_lang_C}
%files
%license LICENSE.md
%doc README.md
%{_bindir}/%{name}
%{_datadir}/applications/%{appid}.desktop
%{_datadir}/glib-2.0/schemas/%{appid}.gschema.xml
%{_datadir}/icons/hicolor/scalable/apps/%{appid}.svg
%{_datadir}/icons/hicolor/symbolic/apps/%{appid}-symbolic.svg
%{_datadir}/metainfo/%{appid}.metainfo.xml
%{_datadir}/%{name}/
%files lang -f %{name}.lang
%changelog