package created using the webbuild interface [release 0.2.1-1mamba;Sun Jul 31 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 05:18:15 +01:00
parent 6c16895fdb
commit cdffc75816
2 changed files with 72 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libopusenc # libopusenc
Opus encoding library.

70
libopusenc.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 0.2.1-1mamba
- package created using the webbuild interface