Hello community, here is the log from the commit of package portaudio for openSUSE:Factory checked in at 2012-04-12 09:46:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/portaudio (Old) and /work/SRC/openSUSE:Factory/.portaudio.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "portaudio", Maintainer is "ti...@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/portaudio/portaudio.changes 2012-01-30 12:28:04.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.portaudio.new/portaudio.changes 2012-04-12 09:46:22.000000000 +0200 @@ -1,0 +2,10 @@ +Mon Apr 2 11:44:11 UTC 2012 - reddw...@opensuse.org + +- run spec_cleaner +- use full URL in Source tag +- add missing provides/obsoletes from previous rename +- use date in version number: makes more sense and otherwise the + obsoletes of the package rename would not work +- patch __DATE__ and __TIME__ references to help build-compare + +------------------------------------------------------------------- Old: ---- pa_stable_v19_20111121.tar.bz2 New: ---- pa_stable_v19_20111121.tgz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ portaudio.spec ++++++ --- /var/tmp/diff_new_pack.kvpSBJ/_old 2012-04-12 09:46:24.000000000 +0200 +++ /var/tmp/diff_new_pack.kvpSBJ/_new 2012-04-12 09:46:24.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package portaudio # -# 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 @@ -16,19 +16,21 @@ # +%define soname 2 Name: portaudio -%define lname libportaudio2 -BuildRequires: alsa-devel doxygen libjack-devel libtool -%define package_date 20111121 +Version: 19_20111121 +Release: 0 Summary: Portable Real-Time Audio Library -Version: 19 -Release: 271 License: BSD-3-Clause Group: Development/Libraries/C and C++ -Source: pa_stable_v19_%{package_date}.tar.bz2 -Source1: baselibs.conf Url: http://www.portaudio.com/ +Source: http://www.portaudio.com/archives/pa_stable_v%{version}.tgz +Source1: baselibs.conf +%define lname libportaudio%{soname} +BuildRequires: alsa-devel +BuildRequires: doxygen +BuildRequires: libjack-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -37,16 +39,12 @@ processing. Audio can be generated in various formats, including 32 bit floating point, and will be converted to the native format internally. - - -Authors: --------- - Phil Burk - Ross Bencina - %package -n %lname Summary: Portable Real-Time Audio Library Group: System/Libraries +# portaudio was last used in openSUSE 12.1 +Provides: portaudio = %{version} +Obsoletes: portaudio < %{version} %description -n %lname PortAudio is a portable audio I/O library designed for cross-platform @@ -57,20 +55,21 @@ %package devel Summary: Development package for the portaudio library Group: Development/Languages/C and C++ -Requires: %lname = %version +Requires: %lname = %{version} %description devel This package contains the files needed to compile programs that use the portaudio library. - - %prep %setup -q -n portaudio +FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y') +sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" qa/loopback/src/paqa.c src/common/pa_front.c +FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M:%%S') +sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/" qa/loopback/src/paqa.c src/common/pa_front.c %build -autoreconf -fiv -%configure --disable-static --with-pic\ +%configure --disable-static \ --with-alsa=yes \ --with-jack=yes \ --with-oss=yes @@ -78,8 +77,8 @@ doxygen %install -make DESTDIR="$RPM_BUILD_ROOT" install -rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la +make install DESTDIR=%{?buildroot} +rm -f %{buildroot}/%{_libdir}/*.la %post -n %lname -p /sbin/ldconfig @@ -87,7 +86,7 @@ %files -n %lname %defattr(-,root,root) -%{_libdir}/lib*.so.* +%{_libdir}/lib*.so.%{soname}* %files devel %defattr(-,root,root) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org