update to 1.0.31 [release 1.0.31-1mamba;Fri Feb 19 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 05:48:10 +01:00
parent 71b5e9ec50
commit 917e31b032

View File

@ -1,13 +1,13 @@
Name: libsndfile
Version: 1.0.28
Version: 1.0.31
Release: 1mamba
Summary: A library for reading and writing files containing sampled sound
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.mega-nerd.com/libsndfile/
Source: http://www.mega-nerd.com/libsndfile/files/libsndfile-%{version}.tar.gz
URL: https://github.com/libsndfile/libsndfile
Source: https://github.com/libsndfile/libsndfile/releases/download/%{version}/libsndfile-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -16,7 +16,6 @@ BuildRequires: libflac-devel
BuildRequires: libsqlite-devel
## AUTOBUILDREQ-END
BuildRequires: pkgconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Libsndfile is a C library for reading and writing files containing sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format) through one standard library interface.
@ -28,8 +27,7 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Libsndfile is a C library for reading and writing files containing sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format) through one standard library interface.
This package contains static libraries and header files need for development.
This package contains static libraries and header files needed for development.
%package tools
Summary: Tools package for %{name}
@ -38,27 +36,26 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
Libsndfile is a C library for reading and writing files containing sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format) through one standard library interface.
This package contains tools for %{name}.
%debug_package
%prep
%setup -q
%build
%configure
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
rm -fr pckdocs
#%makeoldinstall \
# htmldocdir=%{_builddir}/%{name}-%{version}/pckdocs/html
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
@ -68,11 +65,11 @@ rm -fr pckdocs
%files devel
%defattr(-, root, root)
%{_includedir}/*
%{_libdir}/libsndfile.a
%{_libdir}/libsndfile.la
%{_includedir}/sndfile.h*
%{_libdir}/libsndfile.so
%{_libdir}/pkgconfig/*.pc
%dir %{_libdir}/cmake/SndFile
%{_libdir}/cmake/SndFile/SndFile*.cmake
%dir %{_docdir}/libsndfile
%{_docdir}/libsndfile/*
#%doc pckdocs/html/*
@ -83,6 +80,9 @@ rm -fr pckdocs
%{_mandir}/man1/*
%changelog
* Fri Feb 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.31-1mamba
- update to 1.0.31
* Sun Apr 16 2017 Automatic Build System <autodist@mambasoft.it> 1.0.28-1mamba
- automatic version update by autodist