82 lines
2.0 KiB
RPMSpec
82 lines
2.0 KiB
RPMSpec
Name: libaacplus
|
|
Version: 2.0.2
|
|
Release: 1mamba
|
|
Summary: AAC+ encoding library
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://tipok.org.ua/node/17
|
|
Source: http://217.20.164.161/~tipok/aacplus/libaacplus-%{version}.tar.gz
|
|
License: LGPL, 3GPP
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libfftw-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
AAC+ encoding library.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
## note: you can add this requirement if .pc files are provided by this package
|
|
#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
|
|
sed -i "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|" configure.ac
|
|
|
|
%build
|
|
./autogen.sh
|
|
%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.gz
|
|
|
|
%changelog
|
|
* Fri Jan 11 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.2-1mamba
|
|
- package created by silvan using the webbuild interface
|