diff -r 4f133201e207 -r 4667f24fe848 libdv/libdv.spec --- a/libdv/libdv.spec Fri Mar 11 21:30:26 2011 +0100 +++ b/libdv/libdv.spec Fri Mar 11 21:36:51 2011 +0100 @@ -1,22 +1,17 @@ +Name: libdv Summary: Software decoder for DV format video -Name: libdv +Vendor: Europalab Software +Packager: Michael Schloh von Bennewitz +Distribution: MeeGo Thirdparty Version: 1.0.0 -Release: 10%{?dist} +Release: 20101201 License: LGPLv2+ Group: System Environment/Libraries URL: http://libdv.sourceforge.net/ Source: http://downloads.sourceforge.net/libdv/libdv-%{version}.tar.gz -Patch1: libdv-0.104-no-exec-stack.patch -Patch2: libdv-1.0.0-pic.patch -Patch3: libdv-1.0.0-gtk2.patch -Patch4: libdv-1.0.0-dso-linking.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot -BuildRequires: gtk2-devel -BuildRequires: libXt-devel, libXv-devel -# Required for the gtk2 patch -BuildRequires: autoconf, automake, libtool, SDL-devel -BuildRequires: popt-devel -ExcludeArch: s390 s390x +BuildRequires: libXt-devel, libXv-devel, SDL-devel +BuildRequires: popt-devel %description The Quasar DV codec (libdv) is a software codec for DV video, the @@ -27,6 +22,9 @@ %package tools Summary: Basic tools to manipulate Digital Video streams +Vendor: Europalab Software +Packager: Michael Schloh von Bennewitz +Distribution: MeeGo Thirdparty Group: Applications/Multimedia Requires: %{name} = %{version}-%{release} @@ -39,33 +37,32 @@ %package devel Summary: Development package for libdv +Vendor: Europalab Software +Packager: Michael Schloh von Bennewitz +Distribution: MeeGo Thirdparty Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel +The Quasar DV codec (libdv) is a software codec for DV video, the +encoding format used by most digital camcorders, typically those that +support the IEEE 1394 (a.k.a. FireWire or i.Link) interface. libdv was +developed according to the official standards for DV video: IEC 61834 +and SMPTE 314M. + This package contains development files for libdv. %prep %setup -q -%patch1 -p0 -b .no-exec-stack -%patch2 -p1 -b .pic -%patch3 -p1 -b .gtk2 -%patch4 -p1 -b .dso-linking -# Required for libtool 2.2 -libtoolize -# Required for the gtk2 patch -autoreconf %build -%configure --with-pic +%configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install -rm $RPM_BUILD_ROOT%{_libdir}/libdv.a -rm $RPM_BUILD_ROOT%{_libdir}/libdv.la %clean rm -rf $RPM_BUILD_ROOT @@ -85,19 +82,22 @@ %{_bindir}/dubdv %{_bindir}/dvconnect %{_bindir}/encodedv -%{_bindir}/playdv %{_mandir}/man1/dubdv.1* %{_mandir}/man1/dvconnect.1* %{_mandir}/man1/encodedv.1* -%{_mandir}/man1/playdv.1* %files devel %defattr(-,root,root,-) %{_includedir}/libdv/ +%{_libdir}/libdv.a +%{_libdir}/libdv.la %{_libdir}/libdv.so %{_libdir}/pkgconfig/libdv.pc %changelog +* Wed Dec 1 2010 Michael Schloh von Bennewitz - 1.0.0-20101201 +- Adjust packaging and patch logic + * Mon Nov 1 2010 Kozinov Ivan - 1.0.0-10 - Build for MeeGo 1.1