Hello community,

here is the log from the commit of package portaudio for openSUSE:Factory 
checked in at 2015-07-05 17:54:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/portaudio (Old)
 and      /work/SRC/openSUSE:Factory/.portaudio.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "portaudio"

Changes:
--------
--- /work/SRC/openSUSE:Factory/portaudio/portaudio.changes      2014-06-01 
18:58:18.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.portaudio.new/portaudio.changes 2015-07-05 
17:54:33.000000000 +0200
@@ -1,0 +2,5 @@
+Mon Jun 29 09:55:10 UTC 2015 - o...@aepfle.de
+
+- Enable libportaudiocpp
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ portaudio.spec ++++++
--- /var/tmp/diff_new_pack.tM6EV8/_old  2015-07-05 17:54:34.000000000 +0200
+++ /var/tmp/diff_new_pack.tM6EV8/_new  2015-07-05 17:54:34.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package portaudio
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX 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,7 +16,8 @@
 #
 
 
-%define soname 2
+%define soname_c 2
+%define soname_p 0
 
 Name:           portaudio
 Version:        19_20140130
@@ -27,10 +28,12 @@
 Url:            http://www.portaudio.com/
 Source:         http://www.portaudio.com/archives/pa_stable_v%{version}.tgz
 Source1:        baselibs.conf
-%define lname  libportaudio%{soname}
+%define lname_c        libportaudio%{soname_c}
+%define lname_p        libportaudiocpp%{soname_p}
 BuildRequires:  alsa-devel
 BuildRequires:  doxygen
-BuildRequires:  libjack-devel
+BuildRequires:  gcc-c++
+BuildRequires:  pkgconfig(jack)
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -39,14 +42,25 @@
 processing. Audio can be generated in various formats, including 32 bit
 floating point, and will be converted to the native format internally.
 
-%package -n %lname
+%package -n %lname_c
 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
+%description -n %lname_c
+PortAudio is a portable audio I/O library designed for cross-platform
+support of audio. It uses a callback mechanism to request audio
+processing. Audio can be generated in various formats, including 32 bit
+floating point, and will be converted to the native format internally.
+%package -n %lname_p
+Summary:        Portable Real-Time Audio Library
+Group:          System/Libraries
+# packman used to provide this
+Obsoletes:      libportaudiocpp
+
+%description -n %lname_p
 PortAudio is a portable audio I/O library designed for cross-platform
 support of audio. It uses a callback mechanism to request audio
 processing. Audio can be generated in various formats, including 32 bit
@@ -55,7 +69,9 @@
 %package devel
 Summary:        Development package for the portaudio library
 Group:          Development/Languages/C and C++
-Requires:       %lname = %{version}
+Requires:       %lname_c = %{version}
+Requires:       %lname_p = %{version}
+Obsoletes:      libportaudiocpp-devel
 
 %description devel
 This package contains the files needed to compile programs that use the
@@ -71,9 +87,11 @@
 
 %build
 %configure --disable-static \
+           --enable-cxx=yes \
            --with-alsa=yes \
            --with-jack=yes \
            --with-oss=yes
+make lib/libportaudio.la %{?_smp_mflags}
 make %{?_smp_mflags}
 doxygen
 
@@ -81,13 +99,18 @@
 make install DESTDIR=%{?buildroot}
 rm -f %{buildroot}/%{_libdir}/*.la
 
-%post -n %lname -p /sbin/ldconfig
+%post -n %lname_c -p /sbin/ldconfig
+%post -n %lname_p -p /sbin/ldconfig
 
-%postun -n %lname -p /sbin/ldconfig
+%postun -n %lname_c -p /sbin/ldconfig
+%postun -n %lname_p -p /sbin/ldconfig
 
-%files -n %lname
+%files -n %lname_c
+%defattr(-,root,root)
+%{_libdir}/libportaudio.so.%{soname_c}*
+%files -n %lname_p
 %defattr(-,root,root)
-%{_libdir}/lib*.so.%{soname}*
+%{_libdir}/libportaudiocpp.so.%{soname_p}*
 
 %files devel
 %defattr(-,root,root)


Reply via email to