File recordmydesktop.spec of Package recordmydesktop
#
# spec file for package recordmydesktop (0.3.8.1)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: recordmydesktop
Version: 0.3.8.1
Release: 1
License: GPL-2.0
Summary: Desktop Recorder
Url: http://recordmydesktop.sourceforge.net
Group: Productivity/Multimedia/Video/Editors and Convertors
Source: %{name}-%{version}.tar.gz
# PATCH-FIX-OPENSUSE add x11 includes (>= 11.3 only)
Patch0: recordmydesktop-x11-includes.patch
# PATCH-FIX-OPENSUSE add gcc includes
Patch1: recordmydesktop-gcc-includes.patch
BuildRequires: alsa-devel
BuildRequires: jack-devel
BuildRequires: libogg-devel
BuildRequires: libtheora-devel
BuildRequires: libvorbis-devel
BuildRequires: xorg-x11-devel
BuildRequires: xorg-x11-libICE-devel
BuildRequires: xorg-x11-libSM-devel
BuildRequires: xorg-x11-libXext-devel
BuildRequires: zlib-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
recordMyDesktop is a program that captures audio and video data from a Linux
desktop session, producing an Ogg-encapsulated Theora-Vorbis file. The main
goal is to be as unobstrusive as possible by proccessing only regions of the
screen that have changed.
%prep
%setup -q
%if 0%{?suse_version} >= 1130
%patch0 -p1
%endif
%patch1 -p1
%build
%configure --enable-jack=yes
make %{?_smp_mflags}
%install
%makeinstall
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README TODO
%{_bindir}/recordmydesktop
%doc %{_mandir}/man1/recordmydesktop.1*
%changelog