diff -r 4f133201e207 -r 4667f24fe848 faac/faac.spec --- a/faac/faac.spec Fri Mar 11 21:30:26 2011 +0100 +++ b/faac/faac.spec Fri Mar 11 21:36:51 2011 +0100 @@ -1,19 +1,17 @@ Name: faac +Summary: Encoder and encoding library for MPEG2/4 AAC +Vendor: Europalab Software +Packager: Michael Schloh von Bennewitz +Distribution: MeeGo Thirdparty Version: 1.28 -Release: 1%{?dist} -Summary: Encoder and encoding library for MPEG2/4 AAC - +Release: 20101201 Group: Applications/Multimedia License: LGPLv2+ -URL: http://www.audiocoding.com/ +URL: http://www.audiocoding.com/faac.html Source0: http://downloads.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2 -Patch0: %{name}-libmp4v2.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: libmp4v2-devel - %description FAAC is an AAC audio encoder. It currently supports MPEG-4 LTP, MAIN and LOW COMPLEXITY object types and MAIN and LOW MPEG-2 object types. It also supports @@ -21,6 +19,9 @@ %package devel Summary: Development libraries of the FAAC AAC encoder +Vendor: Europalab Software +Packager: Michael Schloh von Bennewitz +Distribution: MeeGo Thirdparty Group: Development/Libraries Requires: %{name} = %{version}-%{release} @@ -33,38 +34,30 @@ %prep %setup -q -%patch0 -p1 -b .mp4v2 -touch -r configure.in.mp4v2 configure.in -#fix permissions +touch configure.in find . -type f \( -name \*.h -or -name \*.c \) -exec chmod 644 {} \; chmod 644 AUTHORS COPYING ChangeLog NEWS README TODO docs/* -#fix encoding -/usr/bin/iconv -f iso8859-1 -t utf-8 AUTHORS > AUTHORS.conv && touch -r AUTHORS AUTHORS.conv && /bin/mv -f AUTHORS.conv AUTHORS +%build +%configure -%build -%configure --disable-static # remove rpath from libtool sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool make %{?_smp_mflags} - %install rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" - +make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig - -%files +%files %defattr(-,root,root,-) %doc AUTHORS COPYING ChangeLog NEWS README TODO docs/* %{_bindir}/* @@ -73,10 +66,14 @@ %files devel %defattr(-,root,root,-) -%exclude %{_libdir}/*.la +%{_libdir}/*.a +%{_libdir}/*.la %{_libdir}/*.so %{_includedir}/*.h %changelog +* Wed Dec 1 2010 Michael Schloh von Bennewitz - 1.28-20101201 +- Adjust packaging and patch logic + * Fri Oct 29 2010 Kozinov Ivan - 1.25-1 -- Build for 1.1 +- Package for MeeGo 1.1