diff --git a/ccrtp-ppc64.patch b/ccrtp-ppc64.patch new file mode 100644 index 0000000..cfbb366 --- /dev/null +++ b/ccrtp-ppc64.patch @@ -0,0 +1,13 @@ +Index: ccrtp-2.0.1/CMakeLists.txt +=================================================================== +--- ccrtp-2.0.1.orig/CMakeLists.txt ++++ ccrtp-2.0.1/CMakeLists.txt +@@ -32,7 +32,7 @@ set (PACKAGE ccrtp) + # this caused problems in debian where it has to always be lib.... + set(LIB64 "") + if (NOT EXISTS /etc/debian_version) +- if ( "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64" ) ++ if ( "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64" OR "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "ppc64" ) + set(LIB64 "64") + endif() + endif() diff --git a/ccrtp.changes b/ccrtp.changes index fc7e390..d2928e4 100644 --- a/ccrtp.changes +++ b/ccrtp.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Mar 23 13:06:55 UTC 2012 - cfarrell@suse.com + +- license update: SUSE-GPL-2.0+-with-openssl-exception + Use SUSE- proprietary prefix until license accepted upstream at spdx.org + +------------------------------------------------------------------- +Thu Mar 15 14:30:25 UTC 2012 - dvaleev@suse.com + +- ppc64 should also install libs in /usr/lib64 + ------------------------------------------------------------------- Tue Sep 27 08:04:52 UTC 2011 - coolo@suse.com diff --git a/ccrtp.spec b/ccrtp.spec index 6758f8c..3b75481 100644 --- a/ccrtp.spec +++ b/ccrtp.spec @@ -21,11 +21,12 @@ Name: ccrtp %define lname libccrtp2 Version: 2.0.1 Release: 9 -License: GPL-2.0+ with exception +License: SUSE-GPL-2.0+-with-openssl-exception Summary: A Common C++ Class Framework for RTP Packets Url: http://www.gnu.org/software/ccrtp/ Group: System/Libraries Source0: %{name}-%{version}.tar.bz2 +Patch1: ccrtp-ppc64.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: libgcrypt-devel @@ -49,7 +50,7 @@ real-time streaming data over UDP packets using sending and receiving packet queues. %package devel -License: GPL-2.0+ with exception +License: GPL-2.0+-with-openssl-exception Summary: Include-files and documentation for ccrtp Group: Development/Libraries/Other PreReq: %install_info_prereq @@ -66,6 +67,7 @@ ccrtp %prep %setup -q -n ccrtp-%{version} +%patch1 -p1 %build mkdir build