#%define _skip_check yes
BuildRequires: gcc gtk2-devel scrollkeeper-devel perl-XML-Parser libglade-devel automake autoconf
Summary: Xvidcap
Name: xvidcap
Version: 1.1.6
Release: 1
Group: Multimedia/Video
Source: %{name}-%{version}.tar.gz
License: GPL
BuildRoot: %{_tmppath}/kde-%{name}-buildroot
Requires: kdelibs
Packager: James Stenner
URL: http://xvidcap.sourceforge.net/
Source: http://downloads.sourceforge.net/xvidcap/xvidcap-1.1.6.tar.gz
%description
Xvidcap is a tool that can capture movement on an X11 display. It works in two distinct modes: It can capture to single frames (like a number of jpeg images) or it can encode the captured frames to a video on-line.
It is intended to be a standards-based alternative to tools like Lotus ScreenCam for UNIX platforms. On-line encoding is done through FFMPEG and also allows for audio grabbing on OSS compatible systems.
%prep
%setup -q
%build
%configure --disable-debug
make
%install
rm -rf $RPM_BUILD_ROOT
%{find_lang} %{name} --all-name
make DESTDIR="$RPM_BUILD_ROOT" install
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(755,root,root)
%_bindir/xvidcap
%_datadir/applications/xvidcap.desktop
%_datadir/doc/xvidcap/AUTHORS
%_datadir/doc/xvidcap/README
%_datadir/doc/xvidcap/COPYING
%_datadir/doc/xvidcap/ChangeLog
%_datadir/gnome/help/xvidcap/C/figures/*.png
%_datadir/gnome/help/xvidcap/C/xvidcap.xml
%_datadir/gnome/help/xvidcap/de/figures/*.png
%_datadir/gnome/help/xvidcap/de/xvidcap.xml
%_datadir/gnome/help/xvidcap/es/figures/*.png
%_datadir/gnome/help/xvidcap/es/xvidcap.xml
%_datadir/gnome/help/xvidcap/it/figures/*.png
%_datadir/gnome/help/xvidcap/it/xvidcap.xml
%_datadir/man/de/man1/xvidcap.1.gz
%_datadir/man/es/man1/xvidcap.1.gz
%_datadir/man/it/man1/xvidcap.1.gz
%_datadir/man/man1/xvidcap.1.gz
%_datadir/omf/xvidcap/xvidcap-C.omf
%_datadir/omf/xvidcap/xvidcap-de.omf
%_datadir/omf/xvidcap/xvidcap-es.omf
%_datadir/omf/xvidcap/xvidcap-it.omf
%_datadir/pixmaps/xvidcap.png
%_datadir/xvidcap/glade/gnome-xvidcap.glade
%_datadir/xvidcap/glade/xvidcap_logo.png
%_datadir/xvidcap/ppm2mpeg.sh
%_datadir/xvidcap/xvidcap.desktop
%_datadir/xvidcap/xvidcap.png