Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > 66925072b0fe2d0353f3106caa6edccd > files > 2

libdc1394-0.9.2-1mdk.src.rpm

%define name 	libdc1394
%define version 0.9.2
%define release 1mdk

%define major 	0
%define libname %mklibname dc1394_ %major
%define libname_devel %mklibname dc1394_ %major -d

Name: 		%name
Version: 	%version
Release: 	%release
License: 	GPL
Group: 		System/Libraries
Source0: 	%{name}-%{version}.tar.bz2
URL: 		http://sourceforge.net/projects/libdc1394
Buildroot: 	%{_tmppath}/%{name}-buildroot
BuildRequires: 	libraw1394-devel
BuildRequires: 	XFree86-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: 	Dynamic library from 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: 		Development/C
Requires: 	%libname = %version-%release
Provides: 	libdc1394-devel = %version-%release

%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
%setup -q 

%build
%configure
%make

%install
rm -rf %{buildroot}
%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
%_bindir/dc1394_vloopback
%{_includedir}/libdc1394/
%_libdir/*.so
%_libdir/*.la
%_libdir/*.a

%changelog
* Sat Dec 13 2003 Austin Acton <austin@linux.ca> 0.9.2-1mdk
- 0.9.2
- make the spec pretty

* Wed Jul 30 2003 Götz Waschk <waschk@linux-mandrake.com> 0.9.1-1mdk
- add example program to the devel package
- spec fixes
- mklibname
- buildrequires
- url
- new version 

* 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