From cdffc7581652808e02eec62fb68401f2692f9b42 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:18:15 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.2.1-1mamba;Sun Jul 31 2022] --- README.md | 2 ++ libopusenc.spec | 70 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 libopusenc.spec diff --git a/README.md b/README.md index 4442e32..6ff503a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libopusenc +Opus encoding library. + diff --git a/libopusenc.spec b/libopusenc.spec new file mode 100644 index 0000000..f5dc6bb --- /dev/null +++ b/libopusenc.spec @@ -0,0 +1,70 @@ +Name: libopusenc +Version: 0.2.1 +Release: 1mamba +Summary: Opus encoding library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://opus-codec.org/ +Source: https://archive.mozilla.org/pub/opus/libopusenc-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libopus-devel +## AUTOBUILDREQ-END + +%description +Opus 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}. + +%debug_package + +%prep +%setup -q + +%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}/libopusenc.so.* +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%{_includedir}/opus/opusenc.h +%{_libdir}/libopusenc.a +%{_libdir}/libopusenc.la +%{_libdir}/libopusenc.so +%{_libdir}/pkgconfig/libopusenc.pc +%dir %{_docdir}/libopusenc +%{_datadir}/doc/libopusenc/AUTHORS +%{_datadir}/doc/libopusenc/COPYING +%{_datadir}/doc/libopusenc/README.md +%dir %{_docdir}/libopusenc/html +%{_docdir}/libopusenc/html/* +%doc README.md + +%changelog +* Sun Jul 31 2022 Silvan Calarco 0.2.1-1mamba +- package created using the webbuild interface