Fri, 11 Mar 2011 21:36:51 +0100
Adjust specification build configurations to port packages to MeeGo.
michael@0 | 1 | Name: faac |
michael@1 | 2 | Summary: Encoder and encoding library for MPEG2/4 AAC |
michael@1 | 3 | Vendor: Europalab Software |
michael@1 | 4 | Packager: Michael Schloh von Bennewitz |
michael@1 | 5 | Distribution: MeeGo Thirdparty |
michael@0 | 6 | Version: 1.28 |
michael@1 | 7 | Release: 20101201 |
michael@0 | 8 | Group: Applications/Multimedia |
michael@0 | 9 | License: LGPLv2+ |
michael@1 | 10 | URL: http://www.audiocoding.com/faac.html |
michael@0 | 11 | Source0: http://downloads.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2 |
michael@1 | 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
michael@0 | 13 | BuildRequires: libmp4v2-devel |
michael@0 | 14 | |
michael@0 | 15 | %description |
michael@0 | 16 | FAAC is an AAC audio encoder. It currently supports MPEG-4 LTP, MAIN and LOW |
michael@0 | 17 | COMPLEXITY object types and MAIN and LOW MPEG-2 object types. It also supports |
michael@0 | 18 | multichannel and gapless encoding. |
michael@0 | 19 | |
michael@0 | 20 | %package devel |
michael@0 | 21 | Summary: Development libraries of the FAAC AAC encoder |
michael@1 | 22 | Vendor: Europalab Software |
michael@1 | 23 | Packager: Michael Schloh von Bennewitz |
michael@1 | 24 | Distribution: MeeGo Thirdparty |
michael@0 | 25 | Group: Development/Libraries |
michael@0 | 26 | Requires: %{name} = %{version}-%{release} |
michael@0 | 27 | |
michael@0 | 28 | %description devel |
michael@0 | 29 | FAAC is an AAC audio encoder. It currently supports MPEG-4 LTP, MAIN and LOW |
michael@0 | 30 | COMPLEXITY object types and MAIN and LOW MPEG-2 object types. It also supports |
michael@0 | 31 | multichannel and gapless encoding. |
michael@0 | 32 | |
michael@0 | 33 | This package contains development files and documentation for libfaac. |
michael@0 | 34 | |
michael@0 | 35 | %prep |
michael@0 | 36 | %setup -q |
michael@1 | 37 | touch configure.in |
michael@0 | 38 | find . -type f \( -name \*.h -or -name \*.c \) -exec chmod 644 {} \; |
michael@0 | 39 | chmod 644 AUTHORS COPYING ChangeLog NEWS README TODO docs/* |
michael@0 | 40 | |
michael@1 | 41 | %build |
michael@1 | 42 | %configure |
michael@0 | 43 | |
michael@0 | 44 | # remove rpath from libtool |
michael@0 | 45 | sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
michael@0 | 46 | sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
michael@0 | 47 | make %{?_smp_mflags} |
michael@0 | 48 | |
michael@0 | 49 | %install |
michael@0 | 50 | rm -rf $RPM_BUILD_ROOT |
michael@1 | 51 | make install DESTDIR=$RPM_BUILD_ROOT |
michael@0 | 52 | |
michael@0 | 53 | %clean |
michael@0 | 54 | rm -rf $RPM_BUILD_ROOT |
michael@0 | 55 | |
michael@0 | 56 | %post -p /sbin/ldconfig |
michael@0 | 57 | |
michael@0 | 58 | %postun -p /sbin/ldconfig |
michael@0 | 59 | |
michael@1 | 60 | %files |
michael@0 | 61 | %defattr(-,root,root,-) |
michael@0 | 62 | %doc AUTHORS COPYING ChangeLog NEWS README TODO docs/* |
michael@0 | 63 | %{_bindir}/* |
michael@0 | 64 | %{_libdir}/*.so.* |
michael@0 | 65 | %{_mandir}/man1/%{name}* |
michael@0 | 66 | |
michael@0 | 67 | %files devel |
michael@0 | 68 | %defattr(-,root,root,-) |
michael@1 | 69 | %{_libdir}/*.a |
michael@1 | 70 | %{_libdir}/*.la |
michael@0 | 71 | %{_libdir}/*.so |
michael@0 | 72 | %{_includedir}/*.h |
michael@0 | 73 | |
michael@0 | 74 | %changelog |
michael@1 | 75 | * Wed Dec 1 2010 Michael Schloh von Bennewitz <michael@schloh.com> - 1.28-20101201 |
michael@1 | 76 | - Adjust packaging and patch logic |
michael@1 | 77 | |
michael@0 | 78 | * Fri Oct 29 2010 Kozinov Ivan - 1.25-1 |
michael@1 | 79 | - Package for MeeGo 1.1 |