Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > f3160de900a5bba41a3841fff8e36708 > files > 2

xvidcap-1.1.3-1mdk.src.rpm

%define name	xvidcap
%define version	1.1.3
%define release 1mdk

Name: 	 	%{name}
Summary: 	Screen capture video recorder
Version: 	%{version}
Release: 	%{release}

Source:		%{name}-%{version}.tar.bz2
URL:		http://xvidcap.sourceforge.net/
License:	GPL
Group:		Video
BuildRoot:	%{_tmppath}/%{name}-buildroot
BuildRequires:	ffmpeg-devel gtk2-devel jpeg-devel png-devel zlib-devel 
Requires:	ffmpeg

%description
xvidcap is a screen capture enabling you to capture videos off your X-Window
desktop for illustration or documentation purposes. It is intended to be a
standards-based alternative to tools like Lotus ScreenCam.

%prep
%setup -q

%build
%configure --with-gtk2
%make
										
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
rm -fr $RPM_BUILD_ROOT/%_docdir

#menu
mkdir -p $RPM_BUILD_ROOT%{_menudir}
cat << EOF > $RPM_BUILD_ROOT%{_menudir}/%{name}
?package(%{name}): command="gvidcap" icon="video_section.png" needs="x11" title="XVidCap" longtitle="Screen Capture Video Recorder" section="Multimedia/Video"
EOF

%clean
rm -rf $RPM_BUILD_ROOT

%post
%update_menus
		
%postun
%clean_menus

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README TODO
%{_bindir}/%name
%{_bindir}/gvidcap
%{_mandir}/man1/*
%{_menudir}/%name

%changelog
* Tue Feb 17 2004 2004 Austin Acton <austin@mandrake.org> 1.1.3-1mdk
- initial package