- update to version 0.1.8
* Minor bug fixes and updates. - drop all patches, not needed in new upstream version - run spec-cleaner OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libsamplerate?expand=0&rev=16
This commit is contained in:
parent
1c2387ebe7
commit
9031be9a6b
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:eabfbf532d2c605000fde59da51992214881a8f5b7f315c0f58f9b59cc5eaa9b
|
||||
size 3790467
|
3
libsamplerate-0.1.8.tar.gz
Normal file
3
libsamplerate-0.1.8.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:93b54bdf46d5e6d2354b7034395fe329c222a966790de34520702bb9642f1c06
|
||||
size 4303330
|
@ -1,68 +0,0 @@
|
||||
--- acinclude.m4.orig
|
||||
+++ acinclude.m4
|
||||
@@ -135,7 +135,6 @@ if test $ac_cv_c_byte_order = unknown ;
|
||||
fi
|
||||
|
||||
)
|
||||
-]
|
||||
|
||||
if test $ac_cv_c_byte_order = big ; then
|
||||
ac_cv_c_big_endian=1
|
||||
@@ -154,6 +153,7 @@ else
|
||||
AC_MSG_WARN([[*****************************************************************]])
|
||||
fi
|
||||
|
||||
+]
|
||||
)# AC_C_FIND_ENDIAN
|
||||
|
||||
|
||||
--- configure.ac.orig
|
||||
+++ configure.ac
|
||||
@@ -4,7 +4,8 @@ dnl Require autoconf version >= 2.57)
|
||||
AC_PREREQ(2.57)
|
||||
|
||||
AC_INIT([libsamplerate],[0.1.7],[erikd@mega-nerd.com])
|
||||
-
|
||||
+AC_USE_SYSTEM_EXTENSIONS
|
||||
+AC_SYS_LARGEFILE
|
||||
# Put config stuff in Cfg.
|
||||
AC_CONFIG_AUX_DIR(Cfg)
|
||||
|
||||
@@ -16,10 +17,6 @@ AC_CONFIG_MACRO_DIR([M4])
|
||||
AM_INIT_AUTOMAKE($PACKAGE_NAME,$PACKAGE_VERSION)
|
||||
AC_CONFIG_HEADER(src/config.h)
|
||||
|
||||
-
|
||||
-dnl Add parameters for aclocal
|
||||
-AC_SUBST(ACLOCAL_AMFLAGS, "-I M4")
|
||||
-
|
||||
AC_LANG([C])
|
||||
|
||||
#------------------------------------------------------------------------------------
|
||||
@@ -40,7 +37,7 @@ AC_LANG([C])
|
||||
|
||||
SHARED_VERSION_INFO="1:7:1"
|
||||
|
||||
-AC_PROG_CC
|
||||
+AC_PROG_CC_STDC
|
||||
AM_PROG_CC_C_O
|
||||
|
||||
# Do not check for F77.
|
||||
@@ -122,7 +119,7 @@ AC_CHECK_SIGNAL(SIGALRM)
|
||||
|
||||
AC_C99_FUNC_LRINT
|
||||
AC_C99_FUNC_LRINTF
|
||||
-# AC_C99_FUNC_LLRINT Don't need this (yet?).
|
||||
+AC_C99_FUNC_LLRINT
|
||||
|
||||
case "x$ac_cv_c99_lrint$ac_cv_c99_lrintf" in
|
||||
xyesyes)
|
||||
--- Makefile.am.orig
|
||||
+++ Makefile.am
|
||||
@@ -1,5 +1,6 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
|
||||
+ACLOCAL_AMFLAGS = -I M4
|
||||
DISTCHECK_CONFIGURE_FLAGS = --enable-gcc-werror
|
||||
|
||||
SUBDIRS = src doc examples tests
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 4 23:14:45 UTC 2012 - reddwarf@opensuse.org
|
||||
|
||||
- update to version 0.1.8
|
||||
* Minor bug fixes and updates.
|
||||
- drop all patches, not needed in new upstream version
|
||||
- run spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 22 10:19:16 UTC 2011 - coolo@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libsamplerate
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -15,21 +15,20 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: libsamplerate
|
||||
BuildRequires: fftw3-devel libsndfile-devel libtool pkgconfig
|
||||
Version: 0.1.8
|
||||
Release: 0
|
||||
Summary: A Sample Rate Converter Library
|
||||
Version: 0.1.7
|
||||
Release: 11
|
||||
License: GPL-2.0+
|
||||
Group: System/Libraries
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Source2: baselibs.conf
|
||||
Patch0: %{name}-ac.diff
|
||||
Patch1: libsamplerate_0.1.7-3.diff.gz
|
||||
Url: http://www.mega-nerd.com/SRC/
|
||||
Source0: http://www.mega-nerd.com/SRC/libsamplerate-%{version}.tar.gz
|
||||
Source1: baselibs.conf
|
||||
BuildRequires: fftw3-devel
|
||||
BuildRequires: libsndfile-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkgconfig
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -43,55 +42,29 @@ 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
|
||||
License: GPL-2.0+
|
||||
Summary: Include Files and Libraries mandatory for Development
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libsamplerate = %{version} glibc-devel
|
||||
Requires: glibc-devel
|
||||
Requires: libsamplerate = %{version}
|
||||
|
||||
%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>
|
||||
|
||||
%package progs
|
||||
License: GPL-2.0+
|
||||
Summary: Example Programs for libsamplerate
|
||||
Group: Productivity/Multimedia/Sound/Utilities
|
||||
|
||||
%description progs
|
||||
This package includes the example programs for libsamplerate.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Erik de Castro Lopo <erikd@mega-nerd.com>
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
%patch1 -p1
|
||||
for i in debian/patches/*diff ; do
|
||||
patch -p1 <$i
|
||||
done
|
||||
find . -name "*.orig"|xargs rm
|
||||
|
||||
%build
|
||||
autoreconf --force --install
|
||||
%configure --with-pic --disable-static
|
||||
make %{?jobs:-j %jobs}
|
||||
%configure --disable-silent-rules --disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
pushd tests
|
||||
@ -99,26 +72,24 @@ make check
|
||||
popd
|
||||
|
||||
%install
|
||||
make DESTDIR="$RPM_BUILD_ROOT" install
|
||||
# Since configure doesn't honor --docdir set htmldocdir here
|
||||
make install DESTDIR=%{?buildroot} \
|
||||
htmldocdir=%{_defaultdocdir}/libsamplerate-devel
|
||||
# remove unneeded files
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
# remove document Makefiles
|
||||
rm -f doc/Makefile*
|
||||
rm -f %{buildroot}%{_libdir}/*.la
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING ChangeLog
|
||||
%{_libdir}/lib*.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING ChangeLog INSTALL doc
|
||||
%{_defaultdocdir}/libsamplerate-devel
|
||||
%{_libdir}/lib*.so
|
||||
%{_includedir}/*
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9cc16187e56b683628af41c2f94d687a78e9decb9975b3968fbbaf2249c388c4
|
||||
size 7534
|
Loading…
x
Reference in New Issue
Block a user