source: spec/trunk/SPECS/faac.spec@ 1796

Last change on this file since 1796 was 1672, checked in by tellie, 6 years ago

spec: faac: Release version 1.29.9.2-1.

File size: 2.2 KB
Line 
1Name: faac
2Version: 1.29.9.2
3Release: 1%{?dist}
4Summary: Encoder and encoding library for MPEG2/4 AAC
5
6License: LGPLv2+
7URL: http://www.audiocoding.com/
8#Source0: http://downloads.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
9%scm_source github https://github.com/komh/faac-os2 master
10BuildRequires: gcc
11#Patch0: faac-1.29.9.2-drm.patch
12
13
14%description
15FAAC is an AAC audio encoder. It currently supports MPEG-4 LTP, MAIN and LOW
16COMPLEXITY object types and MAIN and LOW MPEG-2 object types. It also supports
17multichannel and gapless encoding.
18
19%package devel
20Summary: Development libraries of the FAAC AAC encoder
21Requires: %{name}%{?_isa} = %{version}-%{release}
22
23%description devel
24FAAC is an AAC audio encoder. It currently supports MPEG-4 LTP, MAIN and LOW
25COMPLEXITY object types and MAIN and LOW MPEG-2 object types. It also supports
26multichannel and gapless encoding.
27
28This package contains development files and documentation for libfaac.
29
30%prep
31#%setup -q
32#%patch0 -p1 -b .drm
33%scm_setup
34autoreconf -vif
35#fix encoding
36#/usr/bin/iconv -f iso8859-1 -t utf-8 AUTHORS > AUTHORS.conv && touch -r AUTHORS AUTHORS.conv && /bin/mv -f AUTHORS.conv AUTHORS
37
38%build
39export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
40export LIBS="-lcx"
41%configure --disable-static
42#sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
43#sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
44make %{?_smp_mflags}
45
46
47%install
48
49make DESTDIR=$RPM_BUILD_ROOT install
50#Remove libtool archives.
51#find %buildroot -name '*.la' -or -name '*.a' | xargs rm -f
52rm -f ${RPM_BUILD_ROOT}%{_libdir}/*.la
53#%ldconfig_scriptlets
54
55%files
56%doc AUTHORS ChangeLog NEWS README TODO docs/*
57%license COPYING
58%{_bindir}/*.exe
59%{_libdir}/faac*.dll
60%{_mandir}/man1/%{name}*
61
62%files devel
63%{_libdir}/*.a
64%{_includedir}/*.h
65
66%changelog
67* Wed Oct 09 2019 Elbert Pol <elbert.pol@gmail.com> - 1.29.9.2-1
68- First rpm for OS2
69- Thankz KO Myung-Hun for the OS2 source
70
71* Tue Mar 05 2019 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 1.29.9.2-6
72- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Note: See TracBrowser for help on using the repository browser.