michael@0: Name: faac michael@1: Summary: Encoder and encoding library for MPEG2/4 AAC michael@1: Vendor: Europalab Software michael@1: Packager: Michael Schloh von Bennewitz michael@1: Distribution: MeeGo Thirdparty michael@0: Version: 1.28 michael@1: Release: 20101201 michael@0: Group: Applications/Multimedia michael@0: License: LGPLv2+ michael@1: URL: http://www.audiocoding.com/faac.html michael@0: Source0: http://downloads.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2 michael@1: BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root michael@0: BuildRequires: libmp4v2-devel michael@0: michael@0: %description michael@0: FAAC is an AAC audio encoder. It currently supports MPEG-4 LTP, MAIN and LOW michael@0: COMPLEXITY object types and MAIN and LOW MPEG-2 object types. It also supports michael@0: multichannel and gapless encoding. michael@0: michael@0: %package devel michael@0: Summary: Development libraries of the FAAC AAC encoder michael@1: Vendor: Europalab Software michael@1: Packager: Michael Schloh von Bennewitz michael@1: Distribution: MeeGo Thirdparty michael@0: Group: Development/Libraries michael@0: Requires: %{name} = %{version}-%{release} michael@0: michael@0: %description devel michael@0: FAAC is an AAC audio encoder. It currently supports MPEG-4 LTP, MAIN and LOW michael@0: COMPLEXITY object types and MAIN and LOW MPEG-2 object types. It also supports michael@0: multichannel and gapless encoding. michael@0: michael@0: This package contains development files and documentation for libfaac. michael@0: michael@0: %prep michael@0: %setup -q michael@1: touch configure.in michael@0: find . -type f \( -name \*.h -or -name \*.c \) -exec chmod 644 {} \; michael@0: chmod 644 AUTHORS COPYING ChangeLog NEWS README TODO docs/* michael@0: michael@1: %build michael@1: %configure michael@0: michael@0: # remove rpath from libtool michael@0: sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool michael@0: sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool michael@0: make %{?_smp_mflags} michael@0: michael@0: %install michael@0: rm -rf $RPM_BUILD_ROOT michael@1: make install DESTDIR=$RPM_BUILD_ROOT michael@0: michael@0: %clean michael@0: rm -rf $RPM_BUILD_ROOT michael@0: michael@0: %post -p /sbin/ldconfig michael@0: michael@0: %postun -p /sbin/ldconfig michael@0: michael@1: %files michael@0: %defattr(-,root,root,-) michael@0: %doc AUTHORS COPYING ChangeLog NEWS README TODO docs/* michael@0: %{_bindir}/* michael@0: %{_libdir}/*.so.* michael@0: %{_mandir}/man1/%{name}* michael@0: michael@0: %files devel michael@0: %defattr(-,root,root,-) michael@1: %{_libdir}/*.a michael@1: %{_libdir}/*.la michael@0: %{_libdir}/*.so michael@0: %{_includedir}/*.h michael@0: michael@0: %changelog michael@1: * Wed Dec 1 2010 Michael Schloh von Bennewitz - 1.28-20101201 michael@1: - Adjust packaging and patch logic michael@1: michael@0: * Fri Oct 29 2010 Kozinov Ivan - 1.25-1 michael@1: - Package for MeeGo 1.1