2007-01-16 00:23:08 +01:00
|
|
|
#
|
|
|
|
# spec file for package libsamplerate (Version 0.1.2)
|
|
|
|
#
|
2008-06-05 17:42:06 +02:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:23:08 +01:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
2007-04-17 00:38:12 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-16 00:23:08 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-06-05 17:42:06 +02:00
|
|
|
|
2007-04-17 00:38:12 +02:00
|
|
|
Name: libsamplerate
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
Summary: A Sample Rate Converter Library
|
|
|
|
Version: 0.1.2
|
2008-06-05 17:42:06 +02:00
|
|
|
Release: 114
|
|
|
|
License: GPL v2 or later
|
2007-04-17 00:38:12 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
Patch: %{name}-ac.diff
|
2008-06-05 17:42:06 +02:00
|
|
|
Url: http://www.mega-nerd.com/SRC/
|
2007-04-17 00:38:12 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-16 00:23:08 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Erik de Castro Lopo <erikd@mega-nerd.com>
|
|
|
|
|
|
|
|
%package devel
|
2008-06-05 17:42:06 +02:00
|
|
|
License: GPL v2 or later
|
2007-04-17 00:38:12 +02:00
|
|
|
Summary: Include Files and Libraries mandatory for Development.
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libsamplerate glibc-devel
|
2007-01-16 00:23:08 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains all necessary include files and libraries needed
|
|
|
|
to develop applications that require these.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Erik de Castro Lopo <erikd@mega-nerd.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
2007-04-17 00:38:12 +02:00
|
|
|
%patch
|
2007-01-16 00:23:08 +01:00
|
|
|
%{?suse_update_config:%{suse_update_config -f}}
|
|
|
|
|
|
|
|
%build
|
2007-04-17 00:38:12 +02:00
|
|
|
autoreconf --force --install
|
|
|
|
%configure --disable-static
|
2007-01-16 00:23:08 +01:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR="$RPM_BUILD_ROOT" install
|
2007-04-17 00:38:12 +02:00
|
|
|
# remove unneeded files
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
2007-01-16 00:23:08 +01:00
|
|
|
# remove example binaries
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_bindir}/*
|
|
|
|
|
|
|
|
%post
|
|
|
|
%run_ldconfig
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%run_ldconfig
|
|
|
|
|
|
|
|
%clean
|
2007-04-17 00:38:12 +02:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2007-01-16 00:23:08 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2007-04-17 00:38:12 +02:00
|
|
|
%doc AUTHORS COPYING ChangeLog INSTALL doc
|
2007-01-16 00:23:08 +01:00
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
2007-04-17 00:38:12 +02:00
|
|
|
%changelog
|
2008-06-05 17:42:06 +02:00
|
|
|
* Thu Jun 05 2008 ro@suse.de
|
|
|
|
- added baselibs.conf (for alsa-plugins-samplerate)
|
|
|
|
* Mon Apr 16 2007 tiwai@suse.de
|
2007-04-17 00:38:12 +02:00
|
|
|
- follow library package policy
|
|
|
|
* move docs to devel package
|
|
|
|
* remove static library
|
2008-06-05 17:42:06 +02:00
|
|
|
* Mon Apr 16 2007 schwab@suse.de
|
2007-04-17 00:38:12 +02:00
|
|
|
- Fix quoting in autoconf macros.
|
2008-06-05 17:42:06 +02:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-16 00:23:08 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-06-05 17:42:06 +02:00
|
|
|
* Fri Jan 21 2005 tiwai@suse.de
|
2007-01-16 00:23:08 +01:00
|
|
|
- updated to version 0.1.2.
|
2008-06-05 17:42:06 +02:00
|
|
|
* Thu Aug 05 2004 tiwai@suse.de
|
2007-01-16 00:23:08 +01:00
|
|
|
- updated to version 0.1.1.
|
2008-06-05 17:42:06 +02:00
|
|
|
* Tue Jan 13 2004 tiwai@suse.de
|
2007-01-16 00:23:08 +01:00
|
|
|
- build as non-root.
|
2008-06-05 17:42:06 +02:00
|
|
|
* Fri Jun 06 2003 tiwai@suse.de
|
2007-01-16 00:23:08 +01:00
|
|
|
- updated to version 0.0.15.
|
|
|
|
- fixed the file list.
|
2008-06-05 17:42:06 +02:00
|
|
|
* Thu Mar 27 2003 tiwai@suse.de
|
2007-01-16 00:23:08 +01:00
|
|
|
- added the missing src_set_ratio in version list.
|
2008-06-05 17:42:06 +02:00
|
|
|
* Fri Jan 17 2003 tiwai@suse.de
|
2007-01-16 00:23:08 +01:00
|
|
|
- added %%run_ldconfig to %%post.
|
2008-06-05 17:42:06 +02:00
|
|
|
* Thu Jan 16 2003 tiwai@suse.de
|
2007-01-16 00:23:08 +01:00
|
|
|
- initial version: 0.0.14.
|