Blame SPECS/fros.spec

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