Name: libunicap Version: 0.9.12 Release: 3mamba Summary: A library that provides a uniform interface to video capture devices Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.unicap-imaging.org Source: http://www.unicap-imaging.org/downloads/libunicap-%{version}.tar.gz Patch0: %{name}-0.9.12-videodev.patch Patch1: %{name}-0.9.12-includes.patch Patch2: %{name}-0.9.12-arraycmp.patch Patch3: %{name}-0.9.12-memerrs.patch Patch4: %{name}-bz641623.patch Patch5: %{name}-bz642118.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libraw1394-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description unicap provides a uniform interface to video capture devices. It allows applications to use any supported video capture device via a single API %package devel Summary: Devel package for %{name} Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel unicap provides a uniform interface to video capture devices. It allows applications to use any supported video capture device via a single API This package contains static libraries and header files need for development. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall sed -i 's/SYSFS/ATTRS/g' %{buildroot}%{_sysconfdir}/udev/rules.d/50-euvccam.rules %find_lang unicap %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f unicap.lang %defattr(-,root,root) %{_sysconfdir}/udev/rules.d/50-euvccam.rules %{_libdir}/libunicap.so.* %doc AUTHORS COPYING README %files devel %defattr(-,root,root) %{_includedir}/unicap/*.h %{_libdir}/libunicap.a %{_libdir}/libunicap.la %{_libdir}/libunicap.so %{_libdir}/unicap2/cpi/*.so %{_libdir}/unicap2/cpi/*.la %{_libdir}/unicap2/cpi/*.a %{_libdir}/pkgconfig/*.pc %{_datadir}/gtk-doc/html/libunicap/* %doc ChangeLog %changelog * Fri Dec 09 2011 Silvan Calarco 0.9.12-3mamba - added build and stability patches from fedora * Sat Dec 18 2010 Davide Madrisan 0.9.12-2mamba - fix udev warning about deprecated SYSFS tag - run ldconfig * Wed Dec 15 2010 Automatic Build System 0.9.12-1mamba - update to 0.9.12 * Wed Dec 15 2010 Automatic Build System 0.9.3-3mamba - automatic rebuild by autodist * Wed Jan 07 2009 Silvan Calarco 0.9.3-2mamba - automatic rebuild by autodist * Tue Dec 02 2008 Silvan Calarco 0.9.3-1mamba - automatic update by autodist * Mon May 05 2008 Silvan Calarco 0.2.21-1mamba - package created by autospec