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
|
Wed Jan 25 21:37:43 CET 2006 - mls@suse.de
|
||||||
|
|
||||||
|
@ -1,25 +1,26 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libsamplerate (Version 0.1.2)
|
# 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
|
# This file and all modifications and additions to the pristine
|
||||||
# package are under the same license as the package itself.
|
# 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
|
# norootforbuild
|
||||||
|
|
||||||
Name: libsamplerate
|
Name: libsamplerate
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
Summary: A sample rate converter library
|
Summary: A Sample Rate Converter Library
|
||||||
Version: 0.1.2
|
Version: 0.1.2
|
||||||
Release: 1
|
Release: 45
|
||||||
License: GPL
|
License: GNU General Public License (GPL)
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
URL: http://www.mega-nerd.com/SRC/
|
Patch: %{name}-ac.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
URL: http://www.mega-nerd.com/SRC/
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter for
|
Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter for
|
||||||
@ -39,9 +40,9 @@ Authors:
|
|||||||
Erik de Castro Lopo <erikd@mega-nerd.com>
|
Erik de Castro Lopo <erikd@mega-nerd.com>
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Include Files and Libraries mandatory for Development.
|
Summary: Include Files and Libraries mandatory for Development.
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libsamplerate glibc-devel
|
Requires: libsamplerate glibc-devel
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains all necessary include files and libraries needed
|
This package contains all necessary include files and libraries needed
|
||||||
@ -55,16 +56,18 @@ Authors:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup
|
%setup
|
||||||
autoreconf --force --install
|
%patch
|
||||||
%{?suse_update_config:%{suse_update_config -f}}
|
%{?suse_update_config:%{suse_update_config -f}}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="$RPM_OPT_FLAGS" \
|
autoreconf --force --install
|
||||||
./configure --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir}
|
%configure --disable-static
|
||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR="$RPM_BUILD_ROOT" install
|
make DESTDIR="$RPM_BUILD_ROOT" install
|
||||||
|
# remove unneeded files
|
||||||
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
# remove example binaries
|
# remove example binaries
|
||||||
rm -f $RPM_BUILD_ROOT%{_bindir}/*
|
rm -f $RPM_BUILD_ROOT%{_bindir}/*
|
||||||
|
|
||||||
@ -75,22 +78,26 @@ rm -f $RPM_BUILD_ROOT%{_bindir}/*
|
|||||||
%run_ldconfig
|
%run_ldconfig
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
test "$RPM_BUILD_ROOT" != "/" -a -d "$RPM_BUILD_ROOT" && rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS COPYING ChangeLog INSTALL doc
|
|
||||||
%{_libdir}/lib*.so.*
|
%{_libdir}/lib*.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%doc AUTHORS COPYING ChangeLog INSTALL doc
|
||||||
%{_libdir}/lib*.so
|
%{_libdir}/lib*.so
|
||||||
%{_libdir}/lib*.a
|
|
||||||
%{_libdir}/lib*.la
|
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_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
|
* Wed Jan 25 2006 - mls@suse.de
|
||||||
- converted neededforbuild to BuildRequires
|
- converted neededforbuild to BuildRequires
|
||||||
* Fri Jan 21 2005 - tiwai@suse.de
|
* Fri Jan 21 2005 - tiwai@suse.de
|
||||||
|
Loading…
x
Reference in New Issue
Block a user