From 9633460c51f5102b512f52ce9fefd6813726b4c4 Mon Sep 17 00:00:00 2001 From: Sergey Cherevko Date: Tue, 27 Feb 2024 12:10:58 +0300 Subject: [PATCH] import soxr-0.1.3-4.el8 --- .gitignore | 1 + .soxr.metadata | 1 + SPECS/soxr.spec | 110 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 112 insertions(+) create mode 100644 .gitignore create mode 100644 .soxr.metadata create mode 100644 SPECS/soxr.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9182de3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/soxr-0.1.3-Source.tar.xz diff --git a/.soxr.metadata b/.soxr.metadata new file mode 100644 index 0000000..6eb9877 --- /dev/null +++ b/.soxr.metadata @@ -0,0 +1 @@ +32ea46b1a8c0c15f835422892d02fce8286aec3c SOURCES/soxr-0.1.3-Source.tar.xz diff --git a/SPECS/soxr.spec b/SPECS/soxr.spec new file mode 100644 index 0000000..d9b1041 --- /dev/null +++ b/SPECS/soxr.spec @@ -0,0 +1,110 @@ +Name: soxr +Version: 0.1.3 +Release: 4%{?dist} +Summary: The SoX Resampler library + +License: LGPLv2+ +URL: https://sourceforge.net/p/soxr/wiki/Home/ +Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}-Source.tar.xz + +BuildRequires: cmake gcc + +%description +The SoX Resampler library `libsoxr' performs one-dimensional sample-rate +conversion -- it may be used, for example, to resample PCM-encoded audio. + + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%autosetup -n %{name}-%{version}-Source + + +%build +rm -rf build && mkdir build && pushd build +export LDFLAGS="-Wl,--as-needed" +%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + ../ +%make_build + + +%install +pushd build +%make_install + +# Remove docs and use the rpmbuild macro instead +rm -rf %{buildroot}%{_docdir}/* + + +%check +pushd build +make test + +%ldconfig_scriptlets + + +%files +%doc NEWS README +%license LICENCE +%{_libdir}/*.so.* + +%files devel +%doc examples +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/soxr-lsr.pc +%{_libdir}/pkgconfig/soxr.pc + + +%changelog +* Tue Feb 27 2024 Sergey Cherevko - 0.1.3-4 +- Rebuilt for MSVSphere 8.9 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.1.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Feb 03 2019 Fedora Release Engineering - 0.1.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 0.1.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Mon Feb 26 2018 Richard Shaw - 0.1.3-1 +- Update to 0.1.3 + +* Fri Feb 09 2018 Fedora Release Engineering - 0.1.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.1.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.1.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Feb 05 2016 Fedora Release Engineering - 0.1.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Sep 8 2015 Richard Shaw - 0.1.2-1 +- Update to latest upstream release. + +* Fri Jun 19 2015 Fedora Release Engineering - 0.1.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Aug 18 2014 Fedora Release Engineering - 0.1.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sun Jun 08 2014 Fedora Release Engineering - 0.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 0.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Mon Apr 29 2013 Richard Shaw - 0.1.1-1 +- Initial packaging.