|
1 Summary: Library providing low-level IEEE-1394 access |
|
2 Name: libraw1394 |
|
3 Version: 2.0.5 |
|
4 Release: 1%{?dist} |
|
5 License: LGPLv2+ |
|
6 Group: System Environment/Libraries |
|
7 Source: http://www.kernel.org/pub/linux/libs/ieee1394/%{name}-%{version}.tar.gz |
|
8 URL: http://www.dennedy.org/libraw1394/ |
|
9 Patch: libraw1394-fix-missed-hup-signal.patch |
|
10 ExcludeArch: s390 s390x |
|
11 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
|
12 BuildRequires: autoconf automake libtool kernel-headers |
|
13 |
|
14 %description |
|
15 The libraw1394 library provides direct access to the IEEE-1394 bus through |
|
16 the Linux 1394 subsystem's raw1394 user space interface. Support for both |
|
17 the classic ieee1394 and new firewire linux driver stacks is included, with |
|
18 run-time detection of the active stack. Fedora comes with the firewire stack |
|
19 by default. |
|
20 |
|
21 %package devel |
|
22 Summary: Development libs for libraw1394 |
|
23 Group: Development/Libraries |
|
24 Requires: %{name} = %{version}-%{release}, pkgconfig |
|
25 |
|
26 %description devel |
|
27 Development libraries needed to build applications against libraw1394. |
|
28 |
|
29 %prep |
|
30 %setup -q |
|
31 %patch -p1 |
|
32 |
|
33 %build |
|
34 %configure --disable-static |
|
35 make %{?_smp_mflags} |
|
36 |
|
37 %install |
|
38 rm -rf $RPM_BUILD_ROOT |
|
39 make install DESTDIR=$RPM_BUILD_ROOT |
|
40 rm -f $RPM_BUILD_ROOT%{_libdir}/libraw1394.la |
|
41 |
|
42 %clean |
|
43 rm -rf $RPM_BUILD_ROOT |
|
44 |
|
45 %post -p /sbin/ldconfig |
|
46 |
|
47 %postun -p /sbin/ldconfig |
|
48 |
|
49 %files |
|
50 %defattr(-,root,root,0755) |
|
51 %doc COPYING.LIB README NEWS |
|
52 %{_bindir}/dumpiso |
|
53 %{_bindir}/sendiso |
|
54 %{_bindir}/testlibraw |
|
55 %{_libdir}/libraw1394.so.* |
|
56 %{_mandir}/man1/dumpiso.1.gz |
|
57 %{_mandir}/man1/sendiso.1.gz |
|
58 %{_mandir}/man1/testlibraw.1.gz |
|
59 %{_mandir}/man5/isodump.5.gz |
|
60 |
|
61 %files devel |
|
62 %defattr(-,root,root,0755) |
|
63 %doc doc/libraw1394.sgml |
|
64 %{_includedir}/libraw1394/ |
|
65 %{_libdir}/libraw1394.so |
|
66 %{_libdir}/pkgconfig/libraw1394.pc |
|
67 |
|
68 |
|
69 %changelog |
|
70 * Fri Oct 29 2010 Kozinov Ivan <kozinov@gmail.com> 2.0.5-1 |
|
71 - build for 1.1 |