- Merge-review cleanup (#226030)

This commit is contained in:
paragn 2010-10-21 10:31:33 +05:30
parent c25fd43edd
commit 7a2ff94fea

View File

@ -1,22 +1,21 @@
Summary: Streaming library for IEEE1394 Summary: Streaming library for IEEE1394
Name: libiec61883 Name: libiec61883
Version: 1.2.0 Version: 1.2.0
Release: 4%{?dist} Release: 5%{?dist}
License: LGPLv2+ License: LGPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
Source: http://www.kernel.org/pub/linux/libs/ieee1394/%{name}-%{version}.tar.gz Source: http://www.kernel.org/pub/linux/libs/ieee1394/%{name}-%{version}.tar.gz
# Fedora specific patches.
Patch0: libiec61883-1.2.0-installtests.patch Patch0: libiec61883-1.2.0-installtests.patch
Patch1: libiec61883-channel-allocation-without-local-node-rw.patch Patch1: libiec61883-channel-allocation-without-local-node-rw.patch
URL: http://ieee1394.wiki.kernel.org/index.php/Libraries#libiec61883 URL: http://ieee1394.wiki.kernel.org/index.php/Libraries#libiec61883
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
ExcludeArch: s390 s390x ExcludeArch: s390 s390x
# Works only with newer libraw1394 versions # Works only with newer libraw1394 versions
BuildRequires: libraw1394-devel >= 1.2.1 BuildRequires: libraw1394-devel
Requires: libraw1394 >= 1.2.1
%description %description
The libiec61883 library provides an higher level API for streaming DV, The libiec61883 library provides an higher level API for streaming DV,
MPEG-2 and audio over IEEE1394. Based on the libraw1394 isochronous MPEG-2 and audio over IEEE1394. Based on the libraw1394 isochronous
functionality, this library acts as a filter that accepts DV-frames, functionality, this library acts as a filter that accepts DV-frames,
@ -27,7 +26,6 @@ down to isochronous packets, which are transmitted using libraw1394.
Summary: Development files for libiec61883 Summary: Development files for libiec61883
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: pkgconfig, libraw1394-devel >= 1.2.1
%description devel %description devel
Development files needed to build applications against libiec61883 Development files needed to build applications against libiec61883
@ -46,18 +44,15 @@ Utilities that make use of iec61883
%patch1 -p1 %patch1 -p1
%build %build
export CFLAGS="$RPM_OPT_FLAGS" %configure --disable-static
%configure sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
make DESTDIR=$RPM_BUILD_ROOT install
rm -f $RPM_BUILD_ROOT%{_libdir}/libiec61883.a
rm -f $RPM_BUILD_ROOT%{_libdir}/libiec61883.la
%clean find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
@ -81,6 +76,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/*.1* %{_mandir}/man1/*.1*
%changelog %changelog
* Fri Sep 24 2010 Parag Nemade <paragn AT fedoraproject.org> 1.2.0-5
- Merge-review cleanup (#226030)
* Fri Jan 8 2010 Jay Fenlason <fenlason@redhat.com> 1.2.0-4 * Fri Jan 8 2010 Jay Fenlason <fenlason@redhat.com> 1.2.0-4
- Update the Source and URL fields to point to correct locations. - Update the Source and URL fields to point to correct locations.