diff -r 4f133201e207 -r 4667f24fe848 a52dec/a52dec.spec --- a/a52dec/a52dec.spec Fri Mar 11 21:30:26 2011 +0100 +++ b/a52dec/a52dec.spec Fri Mar 11 21:36:51 2011 +0100 @@ -1,66 +1,61 @@ -Summary: A free ATSC A/52 stream decoder -Name: a52dec -Version: 0.7.4 -Release: 17.4 -License: GPLv2 -Group: System Environment/Libraries -URL: http://liba52.sourceforge.net/ -Source0: http://liba52.sourceforge.net/files/%{name}-%{version}.tar.gz -Patch0: a52dec-configure-optflags.patch -Patch1: a52dec-0.7.4-rpath64.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot -BuildRequires: perl +Summary: A free ATSC A/52 stream decoder +Vendor: Europalab Software +Packager: Michael Schloh von Bennewitz +Distribution: MeeGo Thirdparty +Name: a52dec +Version: 0.7.4 +Release: 20101201 +License: GPLv2 +Group: System Environment/Libraries +URL: http://liba52.sourceforge.net/ +Source0: http://liba52.sourceforge.net/files/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot -%package devel -Summary: Development files needed for a52dec -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -#--------------------------------------------------------------------- +%package devel +Summary: Development files needed for a52dec +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + %description -liba52 is a free library for decoding ATSC A/52 streams. The A/52 -standard is used in a variety of applications, including digital -television and DVD. It is also known as AC-3. The package also -includes a52dec, a small test program for liba52. +The liba52 library decodes ATSC A/52 streams. The A/52 standard +is used in a variety of applications, including digital television +and DVD. It is also known as AC-3. This package also includes a52dec, +a small test program for liba52. + %description devel -liba52 is a free library for decoding ATSC A/52 streams. The A/52 -standard is used in a variety of applications, including digital -television and DVD. It is also known as AC-3. -This package contains development files for a52dec. +The liba52 library decodes ATSC A/52 streams. The A/52 standard +is used in a variety of applications, including digital television +and DVD. It is also known as AC-3. This package contains development +files for a52dec. -#--------------------------------------------------------------------- %prep %setup -q -%patch0 -%patch1 -p1 -%{__perl} -pi -e 's/-prefer-non-pic\b/-prefer-pic/' \ - configure liba52/configure.incl -#--------------------------------------------------------------------- %build %configure --enable-shared --disable-static make %{?_smp_mflags} -#--------------------------------------------------------------------- %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=%{buildroot} -#--------------------------------------------------------------------- %clean rm -rf $RPM_BUILD_ROOT -#--------------------------------------------------------------------- %post -p /sbin/ldconfig + + %postun -p /sbin/ldconfig + %files %defattr(-,root,root,-) %exclude %{_libdir}/liba52.la @@ -71,15 +66,18 @@ %{_mandir}/man1/a52dec.1* %{_mandir}/man1/extract_a52.1* + %files devel %defattr(-,root,root,-) %doc doc/liba52.txt %{_includedir}/a52dec %{_libdir}/liba52.so -#--------------------------------------------------------------------- %changelog +* Wed Dec 1 2010 Michael Schloh von Bennewitz - 0.7.4-20101201 +- Adjust packaging + * Mon Nov 1 2010 Kozinov Ivan - 0.7.4-16 - Build for MeeGo 1.1