diff --git a/.fros.metadata b/.fros.metadata new file mode 100644 index 0000000..8c74418 --- /dev/null +++ b/.fros.metadata @@ -0,0 +1 @@ +b16d98ae526ba161f93fb3f136f4334686e92476 SOURCES/fros-1.0-60d9d1c.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/fros.spec b/SPECS/fros.spec new file mode 100644 index 0000000..30a2429 --- /dev/null +++ b/SPECS/fros.spec @@ -0,0 +1,76 @@ +Name: fros +Version: 1.0 +Release: 1%{?dist} +Summary: Universal screencasting frontend with pluggable support for various backends + +%global commit 60d9d1c5578cd32f29ce85afbe4f6c543a97b313 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + +Group: Applications/System +License: GPLv2+ +URL: https://github.com/mozeq/fros +# this url is wrong, because github doesn't offer a space for downloadable archives :( +Source: https://github.com/mozeq/fros/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: python2-devel +BuildRequires: python-setuptools + +%description +Universal screencasting frontend with pluggable support for various backends. +The goal is to provide an unified access to as many screencasting backends as +possible while still keeping the same user interface so the user experience +while across various desktops and screencasting programs is seamless. + +%package recordmydesktop +Summary: fros plugin for screencasting using recordmydesktop as a backend +Group: Applications/System +Requires: %{name} = %{version}-%{release} + +%description recordmydesktop +fros plugin for screencasting using recordmydesktop as a backend + +%package gnome +Summary: fros plugin for screencasting using Gnome3 integrated screencaster +Group: Applications/System +Requires: %{name} = %{version}-%{release} + +%description gnome +fros plugin for screencasting using Gnome3 integrated screencaster + +%prep +%setup -qn %{name}-%{commit} + +%build +CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build + +%install +%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT + +%check +%{__python} setup.py test + + +%files +%doc README COPYING +%dir %{python_sitelib}/pyfros +%{python_sitelib}/pyfros/*.py* +%dir %{python_sitelib}/pyfros/plugins +%{python_sitelib}/pyfros/plugins/__init__.* +%{python_sitelib}/pyfros/plugins/const.* +# fros-1.0-py2.7.egg-info +%dir %{python_sitelib}/%{name}-%{version}-py2.7.egg-info +%{python_sitelib}/%{name}-%{version}-py2.7.egg-info/* +%{_bindir}/fros +%{_mandir}/man1/%{name}.1* + +%files recordmydesktop +%{python_sitelib}/pyfros/plugins/*recordmydesktop.* + +%files gnome +%{python_sitelib}/pyfros/plugins/*gnome.* + +%changelog +* Fri May 31 2013 Jiri Moskovcak 1.0-1 +- initial rpm