Blame SPECS/fros.spec

85314f
Name:           fros
85314f
Version:        1.0
85314f
Release:        1%{?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
85314f
BuildArch:      noarch
85314f
BuildRequires:  python2-devel
85314f
BuildRequires:  python-setuptools
85314f
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 recordmydesktop
85314f
Summary: fros plugin for screencasting using recordmydesktop as a backend
85314f
Group: Applications/System
85314f
Requires: %{name} = %{version}-%{release}
85314f
85314f
%description recordmydesktop
85314f
fros plugin for screencasting using recordmydesktop as a backend
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
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.*
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 recordmydesktop
85314f
%{python_sitelib}/pyfros/plugins/*recordmydesktop.*
85314f
85314f
%files gnome
85314f
%{python_sitelib}/pyfros/plugins/*gnome.*
85314f
85314f
%changelog
85314f
* Fri May 31 2013 Jiri Moskovcak <jmoskovc@redhat.com> 1.0-1
85314f
- initial rpm