rpm-recordmydesktop/gtk-recordmydesktop.spec

71 lines
2.0 KiB
RPMSpec
Raw Normal View History

%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: gtk-recordmydesktop
Version: 0.3.3.1
Release: 3%{?dist}
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
* Tue Mar 06 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.3.1-2
- Preserve timestamps
* Mon Mar 05 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.3.1-2
- Add missing BR
* Sun Mar 04 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.3.1-1
- Initial build