Package init
This commit is contained in:
parent
3a9e71e157
commit
599cc9cd35
@ -1,6 +1,6 @@
|
|||||||
Name: libsamplerate
|
Name: libsamplerate
|
||||||
Version: 0.1.9
|
Version: 0.1.9
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: Sample Rate Converter for audio
|
Summary: Sample Rate Converter for audio
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://www.mega-nerd.com/SRC/
|
URL: http://www.mega-nerd.com/SRC/
|
||||||
@ -26,12 +26,15 @@ Include Files and Libraries mandatory for Development
|
|||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-dependency-tracking --disable-fftw
|
%configure --disable-dependency-tracking --disable-fftw
|
||||||
%{?disable_rpath}
|
%{?disable_rpath}
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install htmldocdir=%{_docdir}/%{name}
|
%make_install
|
||||||
|
rm -rf $RPM_BUILD_ROOT%{_docdir}/libsamplerate0-dev _doc
|
||||||
|
cp -a doc _doc
|
||||||
|
rm _doc/Makefile*
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export LD_LIBRARY_PATH=`pwd`/src/.libs
|
export LD_LIBRARY_PATH=`pwd`/src/.libs
|
||||||
@ -42,8 +45,7 @@ unset LD_LIBRARY_PATH
|
|||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS COPYING README
|
%doc AUTHORS COPYING README _doc/*
|
||||||
%{_docdir}/%{name}/*
|
|
||||||
%{_bindir}/sndfile-resample
|
%{_bindir}/sndfile-resample
|
||||||
%{_libdir}/%{name}.so.*
|
%{_libdir}/%{name}.so.*
|
||||||
%exclude %{_libdir}/%{name}.a
|
%exclude %{_libdir}/%{name}.a
|
||||||
@ -55,5 +57,11 @@ unset LD_LIBRARY_PATH
|
|||||||
%{_libdir}/pkgconfig/samplerate.pc
|
%{_libdir}/pkgconfig/samplerate.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 23 2019 wangshuo <wangshuo47@huawei.com> - 0.1.9-4
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC: modify make install.
|
||||||
|
|
||||||
* Fri Aug 23 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.1.9-3
|
* Fri Aug 23 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.1.9-3
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user