File green-recorder.spec of Package green-recorder

Name: green-recorder
Summary: A simple yet functional desktop recorder
Group: Video
URL: https://foss-project.com
Version: 3.0.5
Release: 1
Source0: https://github.com/foss-project/%name/archive/%version/%name-%version.tar.gz#/%name-%version.tar.gz
License: GPLv3
BuildArch: noarch
BuildRequires: python2-devel
Requires: ffmpeg
Requires: gawk
Requires: pulseaudio
Requires: ImageMagick-tools
Requires: xdg-utils

%description
A simple desktop recorder for Linux systems. Supports both Xorg
server and Wayland (GNOME).

The following formats are currently supported: mkv, avi, mp4, wmv,
gif and nut (And only WebM for Wayland's GNOME session). You can
stop the recording process easily by right-clicking the icon and
choosing "Stop Record". Or middle-clicking the recording icon in
the notifications area (but doesn't work on all interfaces).

You can choose the audio input source you want from the list. You
can also set the default values you want from the preferences
window. And a lot more.

%prep
%setup -q

%build
python setup.py build

%install
python setup.py install --skip-build --root=%{buildroot} --prefix=%{_prefix}
%find_lang %name

%files -f %name.lang
%_bindir/%name
%python_sitelib/*
%_datadir/%name
%_datadir/applications/%name.desktop
%_datadir/pixmaps/%name.png

%changelog
* Fri Oct 20 2017 Huaren Zhong <huaren.zhong@gmail.com> 3.0.5
- Rebuild for Fedora
* Tue Aug 08 2017 Anton Midyukov <antohami@altlinux.org> 3.0.3-alt1
- Initial build for ALT Sisyphus.
openSUSE Build Service is sponsored by