85314f
Name:           fros
85314f
Version:        1.0
dc24c4
Release:        5%{?dist}
85314f
Summary:        Universal screencasting frontend with pluggable support for various backends
85314f
85314f
%global commit 60d9d1c5578cd32f29ce85afbe4f6c543a97b313
85314f
%global shortcommit %(c=%{commit}; echo ${c:0:7})
85314f
85314f
Group:          Applications/System
85314f
License:        GPLv2+
85314f
URL:            https://github.com/mozeq/fros
85314f
# this url is wrong, because github doesn't offer a space for downloadable archives :(
85314f
Source:         https://github.com/mozeq/fros/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
85314f
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
85314f
dc24c4
Patch0005:      0005-Ensure-that-the-right-version-of-Gtk-gets-loaded.patch
dc24c4
85314f
BuildArch:      noarch
85314f
BuildRequires:  python2-devel
85314f
BuildRequires:  python-setuptools
85314f
dc24c4
Obsoletes:      fros-recordmydesktop < 1.0-3
dc24c4
85314f
%description
85314f
Universal screencasting frontend with pluggable support for various backends.
85314f
The goal is to provide an unified access to as many screencasting backends as
85314f
possible while still keeping the same user interface so the user experience
85314f
while across various desktops and screencasting programs is seamless.
85314f
85314f
%package gnome
85314f
Summary: fros plugin for screencasting using Gnome3 integrated screencaster
85314f
Group: Applications/System
85314f
Requires: %{name} = %{version}-%{release}
85314f
85314f
%description gnome
85314f
fros plugin for screencasting using Gnome3 integrated screencaster
85314f
85314f
%prep
85314f
%setup -qn %{name}-%{commit}
85314f
dc24c4
%patch5 -p1
dc24c4
85314f
%build
85314f
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
85314f
85314f
%install
85314f
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
85314f
85314f
%check
85314f
%{__python} setup.py test
85314f
85314f
85314f
%files
85314f
%doc README COPYING
85314f
%dir %{python_sitelib}/pyfros
85314f
%{python_sitelib}/pyfros/*.py*
85314f
%dir %{python_sitelib}/pyfros/plugins
85314f
%{python_sitelib}/pyfros/plugins/__init__.*
85314f
%{python_sitelib}/pyfros/plugins/const.*
dc24c4
%exclude %{python_sitelib}/pyfros/plugins/*recordmydesktop.*
85314f
# fros-1.0-py2.7.egg-info
85314f
%dir %{python_sitelib}/%{name}-%{version}-py2.7.egg-info
85314f
%{python_sitelib}/%{name}-%{version}-py2.7.egg-info/*
85314f
%{_bindir}/fros
85314f
%{_mandir}/man1/%{name}.1*
85314f
85314f
%files gnome
85314f
%{python_sitelib}/pyfros/plugins/*gnome.*
85314f
85314f
%changelog
dc24c4
* Tue Jan 15 2019 Ernestas Kulik <ekulik@rehdat.com> - 1.0-5
dc24c4
- Fix Obsoletes line
dc24c4
dc24c4
* Tue Dec 18 2018 Ernestas Kulik <ekulik@redhat.com> - 1.0-4
dc24c4
- Add Obsoletes line to fix installation problems when upgrading
dc24c4
dc24c4
* Mon Nov 19 2018 Ernestas Kulik <ekulik@redhat.com> - 1.0-3
dc24c4
- Drop recordmydesktop sub-package (rhbz#1647170)
dc24c4
- Load version 3.0 of Gtk namespace, silence a PyGObject warning (rhbz#1647170)
dc24c4
ab78ac
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.0-2
ab78ac
- Mass rebuild 2013-12-27
ab78ac
85314f
* Fri May 31 2013 Jiri Moskovcak <jmoskovc@redhat.com> 1.0-1
85314f
- initial rpm