From 8eec15820faebfe1f4349e5fd3793e0a630f9d8e Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 03:43:57 +0100 Subject: [PATCH] package created by silvan using the webbuild interface [release 2.0.2-1mamba;Fri Jan 11 2013] --- README.md | 2 ++ libaacplus.spec | 81 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+) create mode 100644 libaacplus.spec diff --git a/README.md b/README.md index b0be470..d8f80ab 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libaacplus +AAC+ encoding library. + diff --git a/libaacplus.spec b/libaacplus.spec new file mode 100644 index 0000000..2a84ed2 --- /dev/null +++ b/libaacplus.spec @@ -0,0 +1,81 @@ +Name: libaacplus +Version: 2.0.2 +Release: 1mamba +Summary: AAC+ encoding library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +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 2.0.2-1mamba +- package created by silvan using the webbuild interface