# $Id$
# Authority: matthias
%{?fc4:%define _without_modxorg 1}
%{?el4:%define _without_modxorg 1}
%{?fc3:%define _without_modxorg 1}
%{?fc2:%define _without_modxorg 1}
%{?fc1:%define _without_modxorg 1}
%{?el3:%define _without_modxorg 1}
%{?rh9:%define _without_modxorg 1}
%{?rh7:%define _without_modxorg 1}
%{?el2:%define _without_modxorg 1}
%{?yd3:%define _without_modxorg 1}
Summary: Rewrite of the xawtv webcam app, which adds imlib2 support
Name: camE
Version: 1.9
Release: 1%{?dist}
License: GPL
Group: System Environment/Daemons
Source: http://linuxbrit.co.uk/downloads/camE-%{version}.tar.gz
URL: http://linuxbrit.co.uk/camE/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: giblib >= 1.2.3, imlib2, curl, zlib
BuildRequires: giblib-devel >= 1.2.3, imlib2-devel, curl-devel
BuildRequires: zlib-devel
%{!?_without_modxorg:BuildRequires: libX11-devel}
%{?_without_modxorg:BuildRequires: XFree86-devel}
%description
camE is a rewrite of the xawtv webcam app, which adds imlib2 support and
thus many new possibilities.
%prep
%setup
%build
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
%makeinstall
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%doc *.style AUTHORS COPYING example.camErc*
%{_bindir}/camE
%changelog
* Thu Jul 1 2004 Matthias Saou 1.9-1
- Update to 1.9.
* Fri Jun 25 2004 Matthias Saou 1.8-1
- Update to 1.8.
* Tue May 18 2004 Matthias Saou 1.7-2
- Rebuilt for Fedora Core 2.
* Fri Nov 7 2003 Matthias Saou 1.7-2
- Rebuilt for Fedora Core 1.
- Added missing zlib dependency.
* Wed Oct 1 2003 Matthias Saou
- Update to 1.7.
* Mon Jun 23 2003 Matthias Saou
- Update to 1.6.
* Mon Mar 31 2003 Matthias Saou
- Rebuilt for Red Hat Linux 9.
* Wed Mar 26 2003 Matthias Saou
- Update to 1.5.
* Wed Feb 26 2003 Matthias Saou
- Update to 1.4.
* Sun Jan 12 2003 Matthias Saou
- Added missing imlib2 dependency.
* Wed Nov 13 2002 Matthias Saou
- Rebuilt against Red Hat Linux 8.0.
* Fri May 3 2002 Matthias Saou
- Initial RPM release.