2024-01-06 05:48:10 +01:00
|
|
|
Name: libsndfile
|
2024-01-06 05:48:11 +01:00
|
|
|
Version: 1.2.2
|
2024-01-06 05:48:12 +01:00
|
|
|
Release: 2mamba
|
2024-01-06 05:48:10 +01:00
|
|
|
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>
|
2024-01-06 05:48:10 +01:00
|
|
|
URL: https://github.com/libsndfile/libsndfile
|
2024-01-06 05:48:10 +01:00
|
|
|
Source: https://github.com/libsndfile/libsndfile.git/%{version}/libsndfile-%{version}.tar.bz2
|
2024-01-06 05:48:11 +01:00
|
|
|
Patch0: libsndfile-1.1.0-liblame-3.100.patch
|
2024-01-06 05:48:10 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libalsa-devel
|
|
|
|
BuildRequires: libflac-devel
|
2024-01-06 05:48:10 +01:00
|
|
|
BuildRequires: liblame-devel
|
|
|
|
BuildRequires: libmpg123-devel
|
|
|
|
BuildRequires: libogg-devel
|
|
|
|
BuildRequires: libopus-devel
|
|
|
|
BuildRequires: libvorbis-devel
|
2024-01-06 05:48:10 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Devel package for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
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.
|
2024-01-06 05:48:10 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 05:48:10 +01:00
|
|
|
|
2024-01-06 05:48:10 +01:00
|
|
|
%package tools
|
|
|
|
Summary: Tools package for %{name}
|
|
|
|
Group: System/Tools
|
|
|
|
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}.
|
|
|
|
|
2024-01-06 05:48:10 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 05:48:10 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 05:48:11 +01:00
|
|
|
#%patch0 -p1 -b .liblame-3.100
|
2024-01-06 05:48:10 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 05:48:11 +01:00
|
|
|
%cmake -d build \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=%{_lib}
|
2024-01-06 05:48:10 +01:00
|
|
|
|
2024-01-06 05:48:10 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 05:48:10 +01:00
|
|
|
%makeinstall -C build
|
2024-01-06 05:48:10 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-06 05:48:10 +01:00
|
|
|
%post -p /sbin/ldconfig
|
2024-01-06 05:48:10 +01:00
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
2024-01-06 05:48:10 +01:00
|
|
|
%{_libdir}/libsndfile.so.*
|
|
|
|
%doc AUTHORS COPYING
|
2024-01-06 05:48:10 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
2024-01-06 05:48:10 +01:00
|
|
|
%{_includedir}/sndfile.h*
|
2024-01-06 05:48:10 +01:00
|
|
|
%{_libdir}/libsndfile.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2024-01-06 05:48:10 +01:00
|
|
|
%dir %{_libdir}/cmake/SndFile
|
|
|
|
%{_libdir}/cmake/SndFile/SndFile*.cmake
|
2024-01-06 05:48:10 +01:00
|
|
|
%dir %{_docdir}/libsndfile
|
|
|
|
%{_docdir}/libsndfile/*
|
|
|
|
#%doc pckdocs/html/*
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_mandir}/man1/*
|
2024-01-06 05:48:10 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 05:48:12 +01:00
|
|
|
* Fri Aug 18 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.2-2mamba
|
|
|
|
- rebuilt
|
|
|
|
|
2024-01-06 05:48:11 +01:00
|
|
|
* Sun Aug 13 2023 Automatic Build System <autodist@mambasoft.it> 1.2.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:48:11 +01:00
|
|
|
* Fri Dec 30 2022 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:48:11 +01:00
|
|
|
* Wed Dec 28 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-3mamba
|
|
|
|
- fix libdir in pkgconfig file
|
|
|
|
|
2024-01-06 05:48:11 +01:00
|
|
|
* Sun Apr 24 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-2mamba
|
|
|
|
- added upstream patch to fix lame library search in pkgconfig file
|
|
|
|
|
2024-01-06 05:48:10 +01:00
|
|
|
* Sat Apr 16 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-1mamba
|
|
|
|
- update to 1.1.0
|
|
|
|
|
2024-01-06 05:48:10 +01:00
|
|
|
* Fri Feb 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.31-1mamba
|
|
|
|
- update to 1.0.31
|
|
|
|
|
2024-01-06 05:48:10 +01:00
|
|
|
* Sun Apr 16 2017 Automatic Build System <autodist@mambasoft.it> 1.0.28-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:48:10 +01:00
|
|
|
* Sat Jul 02 2016 Automatic Build System <autodist@mambasoft.it> 1.0.27-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:48:10 +01:00
|
|
|
* Wed Feb 17 2016 Automatic Build System <autodist@mambasoft.it> 1.0.26-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:48:10 +01:00
|
|
|
* Mon Jul 25 2011 Automatic Build System <autodist@mambasoft.it> 1.0.25-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Jun 15 2011 Automatic Build System <autodist@mambasoft.it> 1.0.24-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Jan 18 2010 Automatic Build System <autodist@mambasoft.it> 1.0.21-1mamba
|
|
|
|
- update to 1.0.21
|
|
|
|
|
|
|
|
* Thu Jun 04 2009 Automatic Build System <autodist@mambasoft.it> 1.0.20-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Apr 04 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.19-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Mar 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.18-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Jun 06 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.17-2mamba
|
|
|
|
- specfile updated
|
|
|
|
|
|
|
|
* Mon Oct 30 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 1.0.17-1qilnx
|
|
|
|
- update to version 1.0.17 by autospec
|
|
|
|
|
|
|
|
* Wed Feb 15 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.0.13-1qilnx
|
|
|
|
- update to version 1.0.13 by autospec
|
|
|
|
|
|
|
|
* Wed Jun 01 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.0.11-1qilnx
|
|
|
|
- update to version 1.0.11 by autospec
|
|
|
|
|
|
|
|
* Sat Oct 02 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.0.10-3qilnx
|
|
|
|
- added missing BuildRequirements (libalsa-devel)
|
|
|
|
|
|
|
|
* Tue Sep 14 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.10-2qilnx
|
|
|
|
- rebuilt and moved to main repository
|
|
|
|
|
|
|
|
* Fri Sep 10 2004 Matteo Bernasconi <voyagernm@virgilio.it> 1.0.10-1qilnx
|
|
|
|
- first build
|