libraw1394/libraw1394.spec

Fri, 11 Mar 2011 21:30:26 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 11 Mar 2011 21:30:26 +0100
changeset 0
4f133201e207
child 1
4667f24fe848
permissions
-rw-r--r--

Import package vendor original specs for necessary manipulations.

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

mercurial