diff -r 000000000000 -r 4f133201e207 libraw1394/libraw1394.spec --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libraw1394/libraw1394.spec Fri Mar 11 21:30:26 2011 +0100 @@ -0,0 +1,71 @@ +Summary: Library providing low-level IEEE-1394 access +Name: libraw1394 +Version: 2.0.5 +Release: 1%{?dist} +License: LGPLv2+ +Group: System Environment/Libraries +Source: http://www.kernel.org/pub/linux/libs/ieee1394/%{name}-%{version}.tar.gz +URL: http://www.dennedy.org/libraw1394/ +Patch: libraw1394-fix-missed-hup-signal.patch +ExcludeArch: s390 s390x +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: autoconf automake libtool kernel-headers + +%description +The libraw1394 library provides direct access to the IEEE-1394 bus through +the Linux 1394 subsystem's raw1394 user space interface. Support for both +the classic ieee1394 and new firewire linux driver stacks is included, with +run-time detection of the active stack. Fedora comes with the firewire stack +by default. + +%package devel +Summary: Development libs for libraw1394 +Group: Development/Libraries +Requires: %{name} = %{version}-%{release}, pkgconfig + +%description devel +Development libraries needed to build applications against libraw1394. + +%prep +%setup -q +%patch -p1 + +%build +%configure --disable-static +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{_libdir}/libraw1394.la + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,0755) +%doc COPYING.LIB README NEWS +%{_bindir}/dumpiso +%{_bindir}/sendiso +%{_bindir}/testlibraw +%{_libdir}/libraw1394.so.* +%{_mandir}/man1/dumpiso.1.gz +%{_mandir}/man1/sendiso.1.gz +%{_mandir}/man1/testlibraw.1.gz +%{_mandir}/man5/isodump.5.gz + +%files devel +%defattr(-,root,root,0755) +%doc doc/libraw1394.sgml +%{_includedir}/libraw1394/ +%{_libdir}/libraw1394.so +%{_libdir}/pkgconfig/libraw1394.pc + + +%changelog +* Fri Oct 29 2010 Kozinov Ivan 2.0.5-1 +- build for 1.1