%define vineseed 1 Summary: Streaming library for IEEE1394 SUmmary(ja): IEEE1394 用ストリーミングライブラリ Name: libiec61883 Version: 1.1.0 Release: 4%{?_dist_release} License: LGPL Group: System Environment/Libraries Source: http://linux1394.org/dl/%{name}-%{version}.tar.gz Patch: libiec61883-1.1.0-installtests.patch URL: http://linux1394.org BuildRoot: %{_tmppath}/%{name}-%{version}-root ExcludeArch: s390 s390x # Works only with newer libraw1394 versions %if %{vineseed} BuildRequires: libraw1394-devel >= 1.2.1 %else BuildRequires: libraw1394_121-devel >= 1.2.1 Requires: libraw1394_121 >= 1.2.1 %endif BuildRequires: autoconf, automake, libtool %description The libiec61883 library provides an higher level API for streaming DV, MPEG-2 and audio over IEEE1394. Based on the libraw1394 isochronous functionality, this library acts as a filter that accepts DV-frames, MPEG-2 frames or audio samples from the application and breaks these down to isochronous packets, which are transmitted using libraw1394. %package devel Summary: Development files for libiec61883 Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig %if %{vineseed} Requires: libraw1394-devel >= 1.2.1 %else Requiers: libraw1394_121-devel >= 1.2.1 %endif %description devel Development files needed to build applications against libiec61883 %package utils Summary: Utilities for use with libiec61883 Group: Applications/Multimedia Requires: %{name} = %{version}-%{release} %description utils Utilities that make use of iec61883 %prep %setup -q %patch -p1 -b .installtests %build autoreconf export CFLAGS="%{optflags}" %configure make %install rm -rf %{buildroot} make DESTDIR=%{buildroot} install rm $RPM_BUILD_ROOT%{_libdir}/libiec61883.a rm $RPM_BUILD_ROOT%{_libdir}/libiec61883.la %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS COPYING NEWS README %{_libdir}/libiec61883.so.* %files devel %defattr(-,root,root,-) %{_libdir}/libiec61883.so %{_includedir}/libiec61883/*.h %{_libdir}/pkgconfig/libiec61883.pc %files utils %defattr(-,root,root,-) %{_bindir}/* %{_mandir}/man1/*.1* %changelog * Sat Nov 1 2008 Ryoichi INAGAKI - 1.1.0-4vl5 - macros for VineSeed and VinePlus/4.0 - spec in UTF-8 * Wed Oct 29 2008 Seiichirou Babasaki - 1.1.0-3 - Version 1.1.0 for VineLinux-4.2 (From VineSeed) - replase libraw1394(-devel) -> libraw1394_121(-devel) * Wed Jul 09 2008 Daisuke SUZUKI 1.1.0-2 - new versioning policy * Sat Jun 9 2007 Ryoichi INAGAKI - 1.1.0-1vl1 - initial build for Vine Linux * Wed Oct 25 2006 Jarod Wilson - 1.1.0-1 - Update to 1.1.0 release * Wed Oct 11 2006 Jarod Wilson - 1.0.0-11 - Use %dist tag * Wed Jul 12 2006 Jesse Keating - 1.0.0-10.fc5.2.1 - rebuild * Fri Feb 10 2006 Jesse Keating - 1.0.0-10.fc5.2 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 1.0.0-10.fc5.1 - rebuilt for new gcc4.1 snapshot and glibc changes * Fri Dec 30 2005 Jarod Wilson 1.0.0-10 - Add missing autoconf, automake and libtool BuildRequires * Fri Dec 09 2005 Jesse Keating - rebuilt * Fri Nov 11 2005 Warren Togami 1.0.0-9 - incorporate some spec improvements from Matthias (#172105) * Mon Sep 19 2005 Warren Togami 1.0.0-8 - split -devel for pkgconfig chain - remove .a and .la - exclude s390 and s390x * Tue Apr 5 2005 Axel Thimm - Fixes for building properly on x86_64. * Mon Mar 28 2005 Jarod Wilson - Fixed utils so they build properly * Sat Feb 26 2005 Jarod Wilson - Rolled in utils * Wed Feb 23 2005 Jarod Wilson - Initial build