Accepting request 55270 from devel:libraries:c_c++

Accepted submit request 55270 from user elvigia

OBS-URL: https://build.opensuse.org/request/show/55270
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=6
This commit is contained in:
Marcus Rückert 2010-12-10 15:15:58 +00:00 committed by Git OBS Bridge
parent 032bc317ce
commit 380db62ef2
3 changed files with 22 additions and 6 deletions

View File

@ -0,0 +1,11 @@
--- libplist.pc.in.orig
+++ libplist.pc.in
@@ -6,7 +6,7 @@ includedir=${CMAKE_INSTALL_PREFIX}/inclu
Name: libplist
Description: A library to handle Apple Property Lists whereas they are binary or XML
Version: ${LIBPLIST_VERSION}
-Requires: libxml-2.0 >= 2.6.30 glib-2.0 >= 2.14.1
+#Requires.private: libxml-2.0 >= 2.6.30 glib-2.0 >= 2.14.1
Libs: -L${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR} -lplist
Cflags: -I${CMAKE_INSTALL_PREFIX}/include

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Dec 8 21:18:28 UTC 2010 - cristian.rodriguez@opensuse.org
- Fi both -devel package dependencies and broken pkgconfig file
-------------------------------------------------------------------
Tue Apr 27 11:20:20 CEST 2010 - opensuse@sukimashita.com

View File

@ -32,7 +32,8 @@ BuildRequires: libxml2-devel
BuildRequires: python-devel
BuildRequires: swig
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#remove when pkgconfig is fixed to handle Requires.private correctly
Patch0: libplist-1.3-pkgconfig.patch
%description
libplist is a library for handling Apple Binary and XML Property Lists.
@ -73,8 +74,7 @@ License: LGPL v2.1 or GPL v2
Summary: Library for handling Apple Binary and XML Property Lists -- Development Files
Group: Development/Libraries/C and C++
Requires: libplist1 = %{version}
Requires: glib2-devel
Requires: libxml2-devel
Requires: glibc-devel
%description devel
libplist is a library for handling Apple Binary and XML Property Lists.
@ -86,9 +86,8 @@ License: LGPL v2.1 or GPL v2
Summary: Library for handling Apple Binary and XML Property Lists -- Development Files
Group: Development/Libraries/C and C++
Requires: libplist++1 = %{version}
Requires: glib2-devel
Requires: libplist-devel
Requires: libxml2-devel
Requires: libstdc++-devel
Requires: libplist-devel
%description -n libplist++-devel
libplist is a library for handling Apple Binary and XML Property Lists.
@ -109,6 +108,7 @@ This package contains the python bindings.
%prep
%setup -q
%patch0
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"