1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libraw1394/libraw1394.spec Fri Mar 11 21:30:26 2011 +0100 1.3 @@ -0,0 +1,71 @@ 1.4 +Summary: Library providing low-level IEEE-1394 access 1.5 +Name: libraw1394 1.6 +Version: 2.0.5 1.7 +Release: 1%{?dist} 1.8 +License: LGPLv2+ 1.9 +Group: System Environment/Libraries 1.10 +Source: http://www.kernel.org/pub/linux/libs/ieee1394/%{name}-%{version}.tar.gz 1.11 +URL: http://www.dennedy.org/libraw1394/ 1.12 +Patch: libraw1394-fix-missed-hup-signal.patch 1.13 +ExcludeArch: s390 s390x 1.14 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 1.15 +BuildRequires: autoconf automake libtool kernel-headers 1.16 + 1.17 +%description 1.18 +The libraw1394 library provides direct access to the IEEE-1394 bus through 1.19 +the Linux 1394 subsystem's raw1394 user space interface. Support for both 1.20 +the classic ieee1394 and new firewire linux driver stacks is included, with 1.21 +run-time detection of the active stack. Fedora comes with the firewire stack 1.22 +by default. 1.23 + 1.24 +%package devel 1.25 +Summary: Development libs for libraw1394 1.26 +Group: Development/Libraries 1.27 +Requires: %{name} = %{version}-%{release}, pkgconfig 1.28 + 1.29 +%description devel 1.30 +Development libraries needed to build applications against libraw1394. 1.31 + 1.32 +%prep 1.33 +%setup -q 1.34 +%patch -p1 1.35 + 1.36 +%build 1.37 +%configure --disable-static 1.38 +make %{?_smp_mflags} 1.39 + 1.40 +%install 1.41 +rm -rf $RPM_BUILD_ROOT 1.42 +make install DESTDIR=$RPM_BUILD_ROOT 1.43 +rm -f $RPM_BUILD_ROOT%{_libdir}/libraw1394.la 1.44 + 1.45 +%clean 1.46 +rm -rf $RPM_BUILD_ROOT 1.47 + 1.48 +%post -p /sbin/ldconfig 1.49 + 1.50 +%postun -p /sbin/ldconfig 1.51 + 1.52 +%files 1.53 +%defattr(-,root,root,0755) 1.54 +%doc COPYING.LIB README NEWS 1.55 +%{_bindir}/dumpiso 1.56 +%{_bindir}/sendiso 1.57 +%{_bindir}/testlibraw 1.58 +%{_libdir}/libraw1394.so.* 1.59 +%{_mandir}/man1/dumpiso.1.gz 1.60 +%{_mandir}/man1/sendiso.1.gz 1.61 +%{_mandir}/man1/testlibraw.1.gz 1.62 +%{_mandir}/man5/isodump.5.gz 1.63 + 1.64 +%files devel 1.65 +%defattr(-,root,root,0755) 1.66 +%doc doc/libraw1394.sgml 1.67 +%{_includedir}/libraw1394/ 1.68 +%{_libdir}/libraw1394.so 1.69 +%{_libdir}/pkgconfig/libraw1394.pc 1.70 + 1.71 + 1.72 +%changelog 1.73 +* Fri Oct 29 2010 Kozinov Ivan <kozinov@gmail.com> 2.0.5-1 1.74 +- build for 1.1