%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: gtk-recordmydesktop Version: 0.3.7.2 Release: 2%{?dist} Summary: GUI Desktop session recorder with audio and video Group: Applications/Multimedia License: GPLv2+ URL: http://recordmydesktop.iovar.org Source0: http://dl.sourceforge.net/recordmydesktop/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python-devel, pygtk2-devel BuildRequires: desktop-file-utils, gettext Requires: recordmydesktop >= %{version} %description Graphical frontend for the recordmydesktop desktop session recorder. recordMyDesktop is a desktop session recorder for linux that attempts to be easy to use, yet also effective at it's primary task. As such, the program is separated in two parts; a simple command line tool that performs the basic tasks of capturing and encoding and an interface that exposes the program functionality in a usable way. %prep %setup -q %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -c -p" %find_lang gtk-recordMyDesktop desktop-file-install --vendor fedora --delete-original \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ --remove-category Application \ $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop %clean rm -rf $RPM_BUILD_ROOT %files -f gtk-recordMyDesktop.lang %defattr(-,root,root,-) %doc AUTHORS COPYING README ChangeLog %{_bindir}/* %{python_sitelib}/* %{_datadir}/applications/* %{_datadir}/pixmaps/* %changelog * Wed May 28 2008 Sindre Pedersen Bjørdal - 0.3.7.2-2 - New upstream release * Thu Jan 17 2008 Sindre Pedersen Bjørdal - 0.3.7-1 - New upstream release * Sun Oct 21 2007 Sindre Pedersen Bjørdal - 0.3.6-1 - New version - Update URL * Sat Jun 02 2007 Sindre Pedersen Bjørdal - 0.3.4-1 - New version 0.3.4 * Tue Mar 06 2007 Sindre Pedersen Bjørdal - 0.3.3.1-2 - Preserve timestamps * Mon Mar 05 2007 Sindre Pedersen Bjørdal - 0.3.3.1-2 - Add missing BR * Sun Mar 04 2007 Sindre Pedersen Bjørdal - 0.3.3.1-1 - Initial build