SHA256
1
0
forked from pool/xerces-c

Accepting request 104019 from devel:libraries:c_c++

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/104019
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xerces-c?expand=0&rev=11
This commit is contained in:
Stephan Kulow 2012-02-14 18:09:43 +00:00 committed by Git OBS Bridge
commit 3ce2f4711c
2 changed files with 11 additions and 28 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Jan 28 22:15:56 UTC 2012 - jengelh@medozas.de
- Remove redundant tags/sections per specfile guideline suggestions
- Parallel building using %_smp_mflags
- Restore missing pkgconfig provides
-------------------------------------------------------------------
Wed Oct 7 15:04:42 CEST 2009 - prusnak@suse.cz

View File

@ -1,7 +1,7 @@
#
# spec file for package xerces-c (Version 3.0.1)
# spec file for package xerces-c
#
# Copyright (c) 2009 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
@ -15,11 +15,10 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: xerces-c
BuildRequires: gcc-c++ libicu-devel
BuildRequires: gcc-c++ libicu-devel pkgconfig
License: Apache-2.0
Group: Productivity/Publishing/XML
Version: 3.0.1
@ -39,14 +38,7 @@ generating, manipulating, and validating XML documents. Xerces-C is
faithful to the XML 1.0 recommendation and associated standards ( DOM
1.0, DOM 2.0. SAX 1.0, SAX 2.0, Namespaces).
Authors:
--------
The Apache Group <apache@apache.org>
%package -n libxerces-c-3_0
License: Apache-2.0
Group: Productivity/Publishing/XML
Summary: Shared libraries for Xerces-c - a validating XML parser
Provides: Xerces-c = %{version}
@ -62,14 +54,7 @@ faithful to the XML 1.0 recommendation and associated standards ( DOM
This package contains just the shared libraries.
Authors:
--------
The Apache Group <apache@apache.org>
%package -n libxerces-c-devel
License: Apache-2.0
Requires: libxerces-c-3_0 = %{version}
Provides: Xerces-c-devel = %{version}
Obsoletes: Xerces-c-devel <= %{version}
@ -86,12 +71,6 @@ generating, manipulating, and validating XML documents.
This package includes files needed for development with Xerces-c
Authors:
--------
The Apache Group <apache@apache.org>
%prep
%setup -q -n xerces-c-%{version}
%patch0
@ -100,15 +79,12 @@ Authors:
%build
%configure \
--disable-static
make %{?jobs:-j%jobs}
make %{?_smp_mflags}
%install
make DESTDIR=$RPM_BUILD_ROOT install
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -n libxerces-c-3_0 -p /sbin/ldconfig
%postun -n libxerces-c-3_0 -p /sbin/ldconfig