1.1 --- a/libdv/libdv.spec Fri Mar 11 21:30:26 2011 +0100 1.2 +++ b/libdv/libdv.spec Fri Mar 11 21:36:51 2011 +0100 1.3 @@ -1,22 +1,17 @@ 1.4 +Name: libdv 1.5 Summary: Software decoder for DV format video 1.6 -Name: libdv 1.7 +Vendor: Europalab Software 1.8 +Packager: Michael Schloh von Bennewitz 1.9 +Distribution: MeeGo Thirdparty 1.10 Version: 1.0.0 1.11 -Release: 10%{?dist} 1.12 +Release: 20101201 1.13 License: LGPLv2+ 1.14 Group: System Environment/Libraries 1.15 URL: http://libdv.sourceforge.net/ 1.16 Source: http://downloads.sourceforge.net/libdv/libdv-%{version}.tar.gz 1.17 -Patch1: libdv-0.104-no-exec-stack.patch 1.18 -Patch2: libdv-1.0.0-pic.patch 1.19 -Patch3: libdv-1.0.0-gtk2.patch 1.20 -Patch4: libdv-1.0.0-dso-linking.patch 1.21 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot 1.22 -BuildRequires: gtk2-devel 1.23 -BuildRequires: libXt-devel, libXv-devel 1.24 -# Required for the gtk2 patch 1.25 -BuildRequires: autoconf, automake, libtool, SDL-devel 1.26 -BuildRequires: popt-devel 1.27 -ExcludeArch: s390 s390x 1.28 +BuildRequires: libXt-devel, libXv-devel, SDL-devel 1.29 +BuildRequires: popt-devel 1.30 1.31 %description 1.32 The Quasar DV codec (libdv) is a software codec for DV video, the 1.33 @@ -27,6 +22,9 @@ 1.34 1.35 %package tools 1.36 Summary: Basic tools to manipulate Digital Video streams 1.37 +Vendor: Europalab Software 1.38 +Packager: Michael Schloh von Bennewitz 1.39 +Distribution: MeeGo Thirdparty 1.40 Group: Applications/Multimedia 1.41 Requires: %{name} = %{version}-%{release} 1.42 1.43 @@ -39,33 +37,32 @@ 1.44 1.45 %package devel 1.46 Summary: Development package for libdv 1.47 +Vendor: Europalab Software 1.48 +Packager: Michael Schloh von Bennewitz 1.49 +Distribution: MeeGo Thirdparty 1.50 Group: Development/Libraries 1.51 Requires: %{name} = %{version}-%{release} 1.52 Requires: pkgconfig 1.53 1.54 %description devel 1.55 +The Quasar DV codec (libdv) is a software codec for DV video, the 1.56 +encoding format used by most digital camcorders, typically those that 1.57 +support the IEEE 1394 (a.k.a. FireWire or i.Link) interface. libdv was 1.58 +developed according to the official standards for DV video: IEC 61834 1.59 +and SMPTE 314M. 1.60 + 1.61 This package contains development files for libdv. 1.62 1.63 %prep 1.64 %setup -q 1.65 -%patch1 -p0 -b .no-exec-stack 1.66 -%patch2 -p1 -b .pic 1.67 -%patch3 -p1 -b .gtk2 1.68 -%patch4 -p1 -b .dso-linking 1.69 -# Required for libtool 2.2 1.70 -libtoolize 1.71 -# Required for the gtk2 patch 1.72 -autoreconf 1.73 1.74 %build 1.75 -%configure --with-pic 1.76 +%configure 1.77 make %{?_smp_mflags} 1.78 1.79 %install 1.80 rm -rf $RPM_BUILD_ROOT 1.81 make DESTDIR=$RPM_BUILD_ROOT install 1.82 -rm $RPM_BUILD_ROOT%{_libdir}/libdv.a 1.83 -rm $RPM_BUILD_ROOT%{_libdir}/libdv.la 1.84 1.85 %clean 1.86 rm -rf $RPM_BUILD_ROOT 1.87 @@ -85,19 +82,22 @@ 1.88 %{_bindir}/dubdv 1.89 %{_bindir}/dvconnect 1.90 %{_bindir}/encodedv 1.91 -%{_bindir}/playdv 1.92 %{_mandir}/man1/dubdv.1* 1.93 %{_mandir}/man1/dvconnect.1* 1.94 %{_mandir}/man1/encodedv.1* 1.95 -%{_mandir}/man1/playdv.1* 1.96 1.97 %files devel 1.98 %defattr(-,root,root,-) 1.99 %{_includedir}/libdv/ 1.100 +%{_libdir}/libdv.a 1.101 +%{_libdir}/libdv.la 1.102 %{_libdir}/libdv.so 1.103 %{_libdir}/pkgconfig/libdv.pc 1.104 1.105 %changelog 1.106 +* Wed Dec 1 2010 Michael Schloh von Bennewitz <michael@schloh.com> - 1.0.0-20101201 1.107 +- Adjust packaging and patch logic 1.108 + 1.109 * Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 1.0.0-10 1.110 - Build for MeeGo 1.1 1.111