automatic update by autodist [release 1.28-1mamba;Thu Jul 09 2009]
This commit is contained in:
parent
a7bb6966a3
commit
7066c1aae8
@ -1,2 +1,5 @@
|
|||||||
# faac
|
# faac
|
||||||
|
|
||||||
|
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 multichannel and gapless encoding.
|
||||||
|
|
||||||
|
17
faac-1.28-internal-mpeg4ip-gcc.patch
Normal file
17
faac-1.28-internal-mpeg4ip-gcc.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
--- faac-1.28.orig/common/mp4v2/mpeg4ip.h 2009-01-26 22:42:35.000000000 +0000
|
||||||
|
+++ faac-1.28/common/mp4v2/mpeg4ip.h 2012-09-02 23:31:29.968723268 +0000
|
||||||
|
@@ -120,14 +120,6 @@
|
||||||
|
#endif
|
||||||
|
#include <sys/param.h>
|
||||||
|
|
||||||
|
-#ifdef __cplusplus
|
||||||
|
-extern "C" {
|
||||||
|
-#endif
|
||||||
|
-char *strcasestr(const char *haystack, const char *needle);
|
||||||
|
-#ifdef __cplusplus
|
||||||
|
-}
|
||||||
|
-#endif
|
||||||
|
-
|
||||||
|
#define OPEN_RDWR O_RDWR
|
||||||
|
#define OPEN_CREAT O_CREAT
|
||||||
|
#define OPEN_RDONLY O_RDONLY
|
112
faac.spec
Normal file
112
faac.spec
Normal file
@ -0,0 +1,112 @@
|
|||||||
|
%define libname lib%{name}
|
||||||
|
|
||||||
|
Name: faac
|
||||||
|
Version: 1.28
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: Freeware Advanced Audio Coder
|
||||||
|
Group: Applications/Multimedia
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: http://www.audiocoding.com/
|
||||||
|
Source: http://downloads.sourceforge.net/faac/faac-%{version}.tar.gz
|
||||||
|
Patch0: faac-1.28-internal-mpeg4ip-gcc.patch
|
||||||
|
License: GPL
|
||||||
|
Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: hd2u
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: libfaad2-devel >= 2.0
|
||||||
|
%if "%{stage1}" != "1"
|
||||||
|
BuildRequires: libmp4v2-devel
|
||||||
|
%endif
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%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 multichannel and gapless encoding.
|
||||||
|
|
||||||
|
%package -n %{libname}
|
||||||
|
Summary: Reference encoder and encoding library for MPEG2/4 AAC
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n %{libname}
|
||||||
|
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 multichannel and gapless encoding.
|
||||||
|
|
||||||
|
%package -n %{libname}-devel
|
||||||
|
Summary: Static libraries and headers for %{libname}
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Obsoletes: %{name}-devel
|
||||||
|
|
||||||
|
%description -n %{libname}-devel
|
||||||
|
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 multichannel and gapless encoding.
|
||||||
|
|
||||||
|
This package contains static libraries and header files need for development.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
%if "%{stage1}" == "1"
|
||||||
|
%patch0 -p1
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%build
|
||||||
|
#dos2unix configure.in
|
||||||
|
#autoreconf -vif
|
||||||
|
%configure \
|
||||||
|
%if "%{stage1}" != "1"
|
||||||
|
--with-mp4v2
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%make
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%post -n %{libname} -p /sbin/ldconfig
|
||||||
|
%postun -n %{libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%{_bindir}/*
|
||||||
|
%doc AUTHORS ChangeLog COPYING NEWS README TODO
|
||||||
|
|
||||||
|
%files -n %{libname}
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%{_libdir}/*.so.*
|
||||||
|
%{_mandir}/man1/faac.1*
|
||||||
|
|
||||||
|
%files -n %{libname}-devel
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%{_includedir}/*.h
|
||||||
|
%{_libdir}/*.a
|
||||||
|
%{_libdir}/*.la
|
||||||
|
%{_libdir}/*.so
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Jul 09 2009 Automatic Build System <autodist@mambasoft.it> 1.28-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Mon May 21 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.25-2mamba
|
||||||
|
- group entry fixed
|
||||||
|
|
||||||
|
* Sun May 13 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.25-1mamba
|
||||||
|
- update to 1.25
|
||||||
|
- added faac package
|
||||||
|
- added missing build requirements
|
||||||
|
|
||||||
|
* Sat Oct 02 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.24-2qilnx
|
||||||
|
- specfile fixed and modified to match QiLinux standards
|
||||||
|
- library name modified (was faac)
|
||||||
|
- added missing BuildRequires (libfaad2-devel)
|
||||||
|
|
||||||
|
* Mon Sep 13 2004 Matteo Bernasconi <voyagernm@virgilio.it> 1.24-1qilnx
|
||||||
|
- first build
|
Loading…
Reference in New Issue
Block a user