From 94beba08ac61c128d25ede6587078ef64b277553 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:26:42 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.4.20211231git-1mamba;Fri Dec 31 2021] --- README.md | 2 ++ rnnoise.spec | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 rnnoise.spec diff --git a/README.md b/README.md index 752dd89..7f50576 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # rnnoise +Recurrent neural network for audio noise reduction. + diff --git a/rnnoise.spec b/rnnoise.spec new file mode 100644 index 0000000..fa97efb --- /dev/null +++ b/rnnoise.spec @@ -0,0 +1,74 @@ +Name: rnnoise +Version: 0.4.20211231git +Release: 1mamba +Summary: Recurrent neural network for audio noise reduction +Group: Applications/Multimedia +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://gitlab.xiph.org/xiph/rnnoise +Source: https://gitlab.xiph.org/xiph/rnnoise.git/master/rnnoise-%{version}.tar.bz2 +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description +Recurrent neural network for audio noise reduction. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q +./autogen.sh + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/librnnoise.so.* +%doc AUTHORS COPYING + +%files -n lib%{name}-devel +%defattr(-,root,root) +%{_includedir}/rnnoise.h +%{_libdir}/librnnoise.a +%{_libdir}/librnnoise.la +%{_libdir}/librnnoise.so +%{_libdir}/pkgconfig/rnnoise.pc +%dir %{_datadir}/doc/rnnoise +%{_datadir}/doc/rnnoise/* +%doc README + +%changelog +* Fri Dec 31 2021 Silvan Calarco 0.4.20211231git-1mamba +- package created using the webbuild interface