package created using the webbuild interface [release 0.1.3-1mamba;Sat Nov 24 2018]

This commit is contained in:
Silvan Calarco 2024-01-05 18:01:45 +01:00
parent 66535e962b
commit 3de8d9a5fc
2 changed files with 80 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# soxr # soxr
SoX Resampler Library.

78
soxr.spec Normal file
View File

@ -0,0 +1,78 @@
Name: soxr
Version: 0.1.3
Release: 1mamba
Summary: SoX Resampler Library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://sourceforge.net/p/soxr/wiki/Home/
Source: https://sourceforge.net/projects/soxr/files/soxr-%{version}-Source.tar.xz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgomp-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
SoX Resampler Library.
%package -n lib%{name}
Group: System/Libraries
Summary: SoX Resampler Library
%description -n lib%{name}
SoX Resampler Library.
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 -n %{name}-%{version}-Source
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%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}/libsoxr-lsr.so.*
%{_libdir}/libsoxr.so.*
%doc AUTHORS LICENCE
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/soxr-lsr.h
%{_includedir}/soxr.h
%{_libdir}/libsoxr-lsr.so
%{_libdir}/libsoxr.so
%{_libdir}/pkgconfig/soxr-lsr.pc
%{_libdir}/pkgconfig/soxr.pc
%dir %{_datadir}/doc/libsoxr
%{_datadir}/doc/libsoxr/*
%doc NEWS README TODO
%changelog
* Sat Nov 24 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.3-1mamba
- package created using the webbuild interface