%define name libdc1394 %define version 0.9.0 %define release 2mdk %define major 0 %define libname libdc1394_%major Name: %name Version: %version Release: %release License: GPL Group: System/Librairies Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 Buildroot: %{_tmppath}/%{name}-buildroot BuildRequires: libraw1394-devel Requires: libraw1394 kernel >= 2.4.2 Summary: Library for 1394 Digital Camera Specification %description libdc1394 is a library that is intended to provide a high level programming interface for application developers who wish to control IEEE 1394 based cameras that conform to the 1394-based Digital Camera Specification (found at http://www.1394ta.org/). %package -n %libname Summary: Development and include files for libdc1394 Group: System/Libraries Provides: libdc1394 %description -n %libname libdc1394 is a library that is intended to provide a high level programming interface for application developers who wish to control IEEE 1394 based cameras that conform to the 1394-based Digital Camera Specification (found at http://www.1394ta.org/). %package -n %libname-devel Summary: Development components for libdc1394 Group: System/Libraries Requires: %libname = %version Provides: libdc1394-devel %description -n %libname-devel libdc1394 is a library that is intended to provide a high level programming interface for application developers who wish to control IEEE 1394 based cameras that conform to the 1394-based Digital Camera Specification (found at http://www.1394ta.org/). This archive contains the header-files for libdc1394 development %prep rm -rf %{buildroot} %setup -q -n %{name}-%{version} %build %configure %make %install %makeinstall %post -n %libname -p /sbin/ldconfig %postun -n %libname -p /sbin/ldconfig %clean rm -rf %{buildroot} %files -n %libname %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog INSTALL NEWS README %{_libdir}/*.so.* %files -n %libname-devel %defattr(-,root,root) %attr(0755,root,root) %dir %{_includedir}/libdc1394 %{_includedir}/libdc1394/ %_libdir/*.so %_libdir/*.la %_libdir/*.a %changelog * Wed Jan 29 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.9.0-2mdk - rebuild * Fri Oct 11 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.9.0-1mdk - 0.9.0 * Wed Sep 26 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.8.3-1mdk - 0.8.3 * Thu Sep 06 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.8.1-1mdk - new