commit
74cf5d850c
BIN
libbs2b-3.1.0.tar.lzma
Normal file
BIN
libbs2b-3.1.0.tar.lzma
Normal file
Binary file not shown.
11
libbs2b-security.patch
Normal file
11
libbs2b-security.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- libbs2b-3.1.0/src/bs2bconvert.c.orig 2014-05-20 23:09:11.975876646 +0100
|
||||
+++ libbs2b-3.1.0/src/bs2bconvert.c 2014-05-20 23:14:06.047076693 +0100
|
||||
@@ -153,7 +153,7 @@
|
||||
if( ( infile = sf_open( infilename, SFM_READ, &sfinfo ) ) == NULL )
|
||||
{
|
||||
printf( "Not able to open input file %s.\n", infilename );
|
||||
- printf( sf_strerror( NULL ) );
|
||||
+ printf( "%s", sf_strerror( NULL ) );
|
||||
return 1;
|
||||
}
|
||||
|
||||
69
libbs2b.spec
Normal file
69
libbs2b.spec
Normal file
@ -0,0 +1,69 @@
|
||||
Name: libbs2b
|
||||
Version: 3.1.0
|
||||
Release: 22
|
||||
Summary: Bauer stereophonic-to-binaural DSP
|
||||
License: Copyright only
|
||||
URL: http://bs2b.sourceforge.net/
|
||||
|
||||
Source0: http://downloads.sourceforge.net/project/bs2b/libbs2b/%{version}/libbs2b-%{version}.tar.lzma
|
||||
Patch0: libbs2b-security.patch
|
||||
|
||||
BuildRequires: gcc-c++ autoconf automake libtool libsndfile-devel
|
||||
|
||||
%description
|
||||
The Bauer stereophonic-to-binaural DSP (bs2b) is designed to improve headphone listening of stereo
|
||||
audio records.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for libbs2b
|
||||
Requires: libbs2b = %{version}-%{release} pkgconfig
|
||||
|
||||
%description devel
|
||||
%{summary}
|
||||
|
||||
%package_help
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
sed -i -e 's/lzma/xz/g' configure.ac
|
||||
autoreconf -vif
|
||||
|
||||
|
||||
%build
|
||||
%configure
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
%make_build V=1
|
||||
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%delete_la_and_a
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS README
|
||||
%license COPYING
|
||||
%{_bindir}/*
|
||||
%{_libdir}/%{name}.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/*
|
||||
%{_libdir}/libbs2b.so
|
||||
%{_libdir}/pkgconfig/libbs2b.pc
|
||||
|
||||
%files help
|
||||
%defattr(-,root,root)
|
||||
%doc ChangeLog
|
||||
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Dec 4 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.1.0-22
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user