Accepting request 103991 from devel:libraries:c_c++

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/103991
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=18
This commit is contained in:
Stephan Kulow 2012-02-15 15:16:16 +00:00 committed by Git OBS Bridge
parent 84498f822a
commit dc80af4aae
2 changed files with 11 additions and 15 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jan 31 10:50:25 UTC 2012 - jengelh@medozas.de
- Remove redundant tags/sections per specfile guideline suggestions
- Parallel building using %_smp_mflags
-------------------------------------------------------------------
Wed Oct 5 12:24:02 UTC 2011 - uli@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package libplist
#
# 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,14 +16,13 @@
#
Name: libplist
Version: 1.4
Release: 5
License: LGPL-2.1 or GPL-2.0
Release: 0
Summary: Library for handling Apple Binary and XML Property Lists
Url: http://cgit.sukimashita.com/libplist.git
License: LGPL-2.1 or GPL-2.0
Group: System/Libraries
Url: http://cgit.sukimashita.com/libplist.git
Source: %{name}-%{version}.tar.bz2
BuildRequires: cmake
BuildRequires: gcc-c++
@ -40,7 +39,6 @@ Patch1: gcc46_build_fix.patch
libplist is a library for handling Apple Binary and XML Property Lists.
%package -n libplist1
License: LGPL-2.1 or GPL-2.0
Summary: Library for handling Apple Binary and XML Property Lists
Group: System/Libraries
Provides: libplist = %{version}
@ -50,7 +48,6 @@ Obsoletes: libplist < %{version}
libplist is a library for handling Apple Binary and XML Property Lists.
%package -n libplist++1
License: LGPL-2.1 or GPL-2.0
Summary: Library for handling Apple Binary and XML Property Lists
Group: System/Libraries
Provides: libplist++ = %{version}
@ -60,7 +57,6 @@ Obsoletes: libplist++ < %{version}
libplist is a library for handling Apple Binary and XML Property Lists.
%package -n plutil
License: LGPL-2.1 or GPL-2.0
Summary: Library for handling Apple Binary and XML Property Lists
Group: System/Libraries
Requires: libplist1 = %{version}
@ -72,7 +68,6 @@ This package contains an utility to convert PList files from binary to XML and
from XML to binary.
%package devel
License: LGPL-2.1 or GPL-2.0
Summary: Library for handling Apple Binary and XML Property Lists -- Development Files
Group: Development/Libraries/C and C++
Requires: libplist1 = %{version}
@ -84,7 +79,6 @@ libplist is a library for handling Apple Binary and XML Property Lists.
This package contains the development files for C.
%package -n libplist++-devel
License: LGPL-2.1 or GPL-2.0
Summary: Library for handling Apple Binary and XML Property Lists -- Development Files
Group: Development/Libraries/C and C++
Requires: libplist++1 = %{version}
@ -97,7 +91,6 @@ libplist is a library for handling Apple Binary and XML Property Lists.
This package contains the development files for C++.
%package -n python-plist
License: LGPL-2.1 or GPL-2.0
Summary: Library for handling Apple Binary and XML Property Lists -- Python Bindings
Group: Development/Languages/Python
Requires: libplist1 = %{version}
@ -125,7 +118,7 @@ cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DPYTHON_LIBRARY=%_libdir/python%{py_ver} \
-DPYTHON_INCLUDE_DIR=%{?_sysroot}/usr/include/python \
.
make %{?jobs:-j%jobs}
make %{?_smp_mflags}
%install
%makeinstall
@ -137,9 +130,6 @@ cp -a %{buildroot}%{?_sysroot}/* %{buildroot}/
rm -fr %{buildroot}%{?_sysroot}
%endif
%clean
rm -rf %{buildroot}
%post -n libplist1 -p /sbin/ldconfig
%postun -n libplist1 -p /sbin/ldconfig