%define name w3cam %define version 0.7.1 %define release 1mdk Name: %name Version: %version Release: %release Summary: Web camera CGI for video4linux License: GPL Group: Video Url: http://www.hdk-berlin.de/~rasca/w3cam/ Source: %{name}-%{version}.tar.bz2 Patch: %name.c.patch.bz2 BuildRoot: %{_tmppath}/%{name}-buildroot %description w3cam is a small and fast CGI program to retrieve images from a video4linux device. It supports PPM, PNG and JPEG as output format. You can select size, quality, input device (TV, S-Video, etc.) and more. w3cam is distributed under the GNU GPL. %prep rm -rf $RPM_BUILD_ROOT %setup -n %name-%{version} %patch -p1 %build %configure %make %install mkdir -p $RPM_BUILD_ROOT%_bindir mkdir -p $RPM_BUILD_ROOT/var/www/cgi-bin/. install -m 755 w3cam.cgi $RPM_BUILD_ROOT/var/www/cgi-bin/ install -m 755 {vidcat,ppmtoascii} $RPM_BUILD_ROOT%_bindir/. %files %defattr(-,root,root) %doc *.html %doc COPYING.txt ChangeLog.txt FAQ.txt README SAMPLES /var/www/cgi-bin/* %_bindir/* %changelog * Sun Nov 11 2001 Daouda LO <daouda@mandrakesoft.com> 0.7.1-1mdk - release 0.7.1 * Fri Oct 12 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.7.0-2mdk - rebuild against new libpng3 * Fri Aug 31 2001 Etienne Faure <etienne@mandrakesoft.com> 0.7.0-1mdk - version 0.7.0 * Thu Apr 05 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.6.6-2mdk - fix cgi directory * Wed Dec 06 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.6.6-1mdk - new in contribs