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.

     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
    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.
    21 %package devel
    22 Summary:       Development libs for libraw1394
    23 Group:         Development/Libraries
    24 Requires:      %{name} = %{version}-%{release}, pkgconfig
    26 %description devel
    27 Development libraries needed to build applications against libraw1394.
    29 %prep
    30 %setup -q
    31 %patch -p1
    33 %build
    34 %configure --disable-static
    35 make %{?_smp_mflags}
    37 %install
    38 rm -rf $RPM_BUILD_ROOT
    39 make install DESTDIR=$RPM_BUILD_ROOT
    40 rm -f $RPM_BUILD_ROOT%{_libdir}/libraw1394.la
    42 %clean
    43 rm -rf $RPM_BUILD_ROOT
    45 %post -p /sbin/ldconfig
    47 %postun -p /sbin/ldconfig
    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
    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
    69 %changelog
    70 * Fri Oct 29 2010 Kozinov Ivan <kozinov@gmail.com> 2.0.5-1
    71 - build for 1.1

mercurial