%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: gtk-recordmydesktop Version: 0.3.4 Release: 1%{?dist}.1 Summary: GUI Desktop session recorder with audio and video Group: Applications/Multimedia License: GPL URL: http://recordmydesktop.sourceforge.net/ 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 * 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