This commit is contained in:
parent
bc3b703e6d
commit
625b65deba
18
libsamplerate-ac.diff
Normal file
18
libsamplerate-ac.diff
Normal file
@ -0,0 +1,18 @@
|
||||
--- acinclude.m4
|
||||
+++ acinclude.m4
|
||||
@@ -135,7 +135,6 @@
|
||||
fi
|
||||
|
||||
)
|
||||
-]
|
||||
|
||||
if test $ac_cv_c_byte_order = big ; then
|
||||
ac_cv_c_big_endian=1
|
||||
@@ -154,6 +153,7 @@
|
||||
AC_MSG_WARN([[*****************************************************************]])
|
||||
fi
|
||||
|
||||
+]
|
||||
)# AC_C_FIND_ENDIAN
|
||||
|
||||
dnl @synopsis AC_C99_FUNC_LRINT
|
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 16 14:58:54 CEST 2007 - tiwai@suse.de
|
||||
|
||||
- follow library package policy
|
||||
* move docs to devel package
|
||||
* remove static library
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 16 11:22:12 CEST 2007 - schwab@suse.de
|
||||
|
||||
- Fix quoting in autoconf macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:37:43 CET 2006 - mls@suse.de
|
||||
|
||||
|
@ -1,25 +1,26 @@
|
||||
#
|
||||
# spec file for package libsamplerate (Version 0.1.2)
|
||||
#
|
||||
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://www.suse.de/feedback/
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: libsamplerate
|
||||
BuildRequires: pkgconfig
|
||||
Summary: A sample rate converter library
|
||||
Version: 0.1.2
|
||||
Release: 1
|
||||
License: GPL
|
||||
Group: System/Libraries
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
URL: http://www.mega-nerd.com/SRC/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Name: libsamplerate
|
||||
BuildRequires: pkgconfig
|
||||
Summary: A Sample Rate Converter Library
|
||||
Version: 0.1.2
|
||||
Release: 45
|
||||
License: GNU General Public License (GPL)
|
||||
Group: System/Libraries
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Patch: %{name}-ac.diff
|
||||
URL: http://www.mega-nerd.com/SRC/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter for
|
||||
@ -39,9 +40,9 @@ Authors:
|
||||
Erik de Castro Lopo <erikd@mega-nerd.com>
|
||||
|
||||
%package devel
|
||||
Summary: Include Files and Libraries mandatory for Development.
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libsamplerate glibc-devel
|
||||
Summary: Include Files and Libraries mandatory for Development.
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libsamplerate glibc-devel
|
||||
|
||||
%description devel
|
||||
This package contains all necessary include files and libraries needed
|
||||
@ -55,16 +56,18 @@ Authors:
|
||||
|
||||
%prep
|
||||
%setup
|
||||
autoreconf --force --install
|
||||
%patch
|
||||
%{?suse_update_config:%{suse_update_config -f}}
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS" \
|
||||
./configure --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir}
|
||||
autoreconf --force --install
|
||||
%configure --disable-static
|
||||
make
|
||||
|
||||
%install
|
||||
make DESTDIR="$RPM_BUILD_ROOT" install
|
||||
# remove unneeded files
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
# remove example binaries
|
||||
rm -f $RPM_BUILD_ROOT%{_bindir}/*
|
||||
|
||||
@ -75,22 +78,26 @@ rm -f $RPM_BUILD_ROOT%{_bindir}/*
|
||||
%run_ldconfig
|
||||
|
||||
%clean
|
||||
test "$RPM_BUILD_ROOT" != "/" -a -d "$RPM_BUILD_ROOT" && rm -rf $RPM_BUILD_ROOT
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING ChangeLog INSTALL doc
|
||||
%{_libdir}/lib*.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING ChangeLog INSTALL doc
|
||||
%{_libdir}/lib*.so
|
||||
%{_libdir}/lib*.a
|
||||
%{_libdir}/lib*.la
|
||||
%{_includedir}/*
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
%changelog -n libsamplerate
|
||||
%changelog
|
||||
* Mon Apr 16 2007 - tiwai@suse.de
|
||||
- follow library package policy
|
||||
* move docs to devel package
|
||||
* remove static library
|
||||
* Mon Apr 16 2007 - schwab@suse.de
|
||||
- Fix quoting in autoconf macros.
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Fri Jan 21 2005 - tiwai@suse.de
|
||||
|
Loading…
x
Reference in New Issue
Block a user