File recapp.spec of Package recapp
#
# spec file for package recapp
#
# 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 appname com.github.amikha1lov.RecApp
Name: recapp
Version: 1.1.0
Release: 0
Summary: Screen capture software
License: GPL-3.0-only
URL: https://github.com/amikha1lov/RecApp
Source: https://github.com/amikha1lov/RecApp/archive/v%{version}.tar.gz
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gtk+-3.0)
Requires: python3-pulsectl
Requires: python3-pydbus
Requires: slop
BuildArch: noarch
%lang_package
%description
Screen capture software using free gstreamer libraries.
%prep
%autosetup -n RecApp-%{version}
%build
%meson
%meson_build
%install
%meson_install
%suse_update_desktop_file -r %{appname} "GTK;GNOME;AudioVideo;Recorder"
%find_lang %{appname}
%files
%doc README.md CREDITS
%license COPYING
%{_bindir}/recapp
%{_datadir}/metainfo/*.appdata.xml
%{_datadir}/applications/*.desktop
%{_datadir}/glib-2.0/schemas/*.gschema.xml
%{_datadir}/recapp/
%{_datadir}/icons/hicolor/*/*/*.png
%files lang -f %{appname}.lang
%changelog