forked from pool/libsamplerate
Accepting request 108149 from home:saschpe:branches:multimedia:libs
- Adhere to shared library packaging policy OBS-URL: https://build.opensuse.org/request/show/108149 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libsamplerate?expand=0&rev=17
This commit is contained in:
parent
9031be9a6b
commit
d6d00df04d
@ -1 +1 @@
|
||||
libsamplerate
|
||||
libsamplerate0
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 6 11:17:23 UTC 2012 - saschpe@suse.de
|
||||
|
||||
- Adhere to shared library packaging policy
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 4 23:14:45 UTC 2012 - reddwarf@opensuse.org
|
||||
|
||||
|
@ -42,11 +42,26 @@ downsampling by a factor of 12 to upsampling by the same factor. The
|
||||
conversion ratio can also vary with time for speeding up and slowing
|
||||
down effects.
|
||||
|
||||
%package -n libsamplerate0
|
||||
Summary: A Sample Rate Converter Library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libsamplerate0
|
||||
Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter for
|
||||
audio. One example of where such a thing would be useful is in
|
||||
converting audio from the CD sample rate of 44.1kHz to the 48kHz sample
|
||||
rate used by DAT players.
|
||||
|
||||
SRC is capable of arbitrary and time varying conversions; from
|
||||
downsampling by a factor of 12 to upsampling by the same factor. The
|
||||
conversion ratio can also vary with time for speeding up and slowing
|
||||
down effects.
|
||||
|
||||
%package devel
|
||||
Summary: Include Files and Libraries mandatory for Development
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: glibc-devel
|
||||
Requires: libsamplerate = %{version}
|
||||
Requires: libsamplerate0 = %{version}
|
||||
|
||||
%description devel
|
||||
This package contains all necessary include files and libraries needed
|
||||
@ -78,24 +93,24 @@ make install DESTDIR=%{?buildroot} \
|
||||
# remove unneeded files
|
||||
rm -f %{buildroot}%{_libdir}/*.la
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%post -n libsamplerate0 -p /sbin/ldconfig
|
||||
%postun -n libsamplerate0 -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%files -n libsamplerate0
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING ChangeLog
|
||||
%{_libdir}/lib*.so.*
|
||||
%doc AUTHORS COPYING
|
||||
%{_libdir}/libsamplerate.so.0*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%doc ChangeLog
|
||||
%{_defaultdocdir}/libsamplerate-devel
|
||||
%{_libdir}/lib*.so
|
||||
%{_includedir}/*
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_libdir}/libsamplerate.so
|
||||
%{_includedir}/samplerate.h
|
||||
%{_libdir}/pkgconfig/samplerate.pc
|
||||
|
||||
%files progs
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/*
|
||||
%{_bindir}/sndfile-resample
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user