libaacplus/libaacplus.spec

88 lines
2.1 KiB
RPMSpec
Raw Permalink Normal View History

Name: libaacplus
Version: 2.0.2
Release: 2mamba
Summary: AAC+ encoding library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://tipok.org.ua/node/17
Source: http://tipok.org.ua/downloads/media/aac+/libaacplus/libaacplus-%{version}.tar.gz
Source1: https://www.3gpp.org/ftp/Specs/archive/26_series/26.410/26410-800.zip
Patch0: libaacplus-2.0.2-au.patch
License: LGPL, 3GPP
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libfftw-devel
## AUTOBUILDREQ-END
%description
AAC+ encoding library.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%package tools
Group: Applications/Multimedia
Summary: Utility applications for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
This package contains utility applications for %{name}.
%debug_package
%prep
%setup -q
%patch0 -p1 -b .au
cp %{SOURCE1} src
sed -i "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|" configure.ac
./autogen.sh
%build
%configure
make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libaacplus.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/aacplus.h
%{_libdir}/libaacplus.a
%{_libdir}/libaacplus.la
%{_libdir}/libaacplus.so
%{_libdir}/pkgconfig/aacplus.pc
%doc ChangeLog NEWS README TODO
%files tools
%defattr(-,root,root)
%{_bindir}/aacplusenc
%{_mandir}/man1/aacplusenc.1*
%changelog
* Sat Nov 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.2-2mamba
- rebuilt
* Fri Jan 11 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.2-1mamba
- package created by silvan using the webbuild interface