diff --git a/xerces-c-3.1.1.tar.gz.asc b/xerces-c-3.1.1.tar.gz.asc new file mode 100644 index 0000000..ef8bb72 --- /dev/null +++ b/xerces-c-3.1.1.tar.gz.asc @@ -0,0 +1,14 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.9 (GNU/Linux) + +iQGcBAABAgAGBQJL1wFwAAoJEMiAKQuuCE8dVKQMAOLQtTUOrmLJGIe6aCNIXIEa +kks3+geJvnfBVAYe/cuRo//RfMmNdFbPqiGD1kht+EIQ2f1woS8gIxt/WdIROxiF +XCmTNCFU46jROneywFf9F418awF8HbdKKdUzy0ylqMbzkettXhXd9WbFa5PLGkXt +hBlzo4lsVDT/axhlpnrPV5jCsfrQL1VfWq7dt4KHJUU6+MCn+VOE5k7G/NYNRN/n +lJMiumQVev1Q3QdZ/0U4z+qjS/35MnqdoRhYb9+28VIlXekk+4k/8kBSYdpSdFLh +E3iFy035AM6G6FhF2ivAtW9Fu1rg9lNX63n1e5GUFIodlga36H6XWApVUco8DVh+ +et8R5RrsxgqxRAoBLMGGbRoXkYggUYd1R5S+i0ga3sw1XBZ39+CKP2PKiCDeciXN +rRsfcG5YxK9vvMdCfjrgsLXcmJNWCXGAgPXlKKodQ+x2BmVLRev94ChddE5Akzhm +XM7I4k0/8nuOLiixAOwHdZeYti4rH2XoRYV3nIqVPQ== +=25mp +-----END PGP SIGNATURE----- diff --git a/xerces-c.changes b/xerces-c.changes index cc2d2dd..8baa436 100644 --- a/xerces-c.changes +++ b/xerces-c.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Feb 19 12:39:37 UTC 2015 - mpluskal@suse.com + +- Use url for source +- Add gpg signature +- Use fdupes to remove duplicities in documentation +- Split documentation into separate package +- Use curl as netaccessor, necessary for proxy support + ------------------------------------------------------------------- Thu Dec 12 21:58:01 UTC 2013 - zaitor@opensuse.org diff --git a/xerces-c.keyring b/xerces-c.keyring new file mode 100644 index 0000000..7b83cf4 --- /dev/null +++ b/xerces-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Bz4 +Ssu2lmOA63PUXtSllQx8mg/Jb2PUrjUVLCr22WqAmr3zAQQ/14B5cLkhnpSID0oQ +L5UyP7dZ4beUWB3wYydp/hbOLl7+OrP+2EpIopYBMdk383GsnN2wWP9pEEDhJ1Lt +7DsWuNV/ATZ9yWIvs82s8QiGvWfKbYSHvvzIKAETUkPD7uWU3IdXgm9kuQQ7TNqX +6q857PAC3SK+b+qepmyGDJtoeYS19WsxfqZr2Ioti75/zy43w9bhbX17JNQynaMs +AP4nG+HHzvnSEp8p0s38Cz5xi6xVb8fig6g3WFwn6OdZakQ8sI+DyhsrdwlgSCNQ +Tsi85X7Opv8Q+8EQwt+QBTF85O5RjO1SzacsedvlRXSIWXj8vl8TJZ1VsEOBehdS +jAjpUJMUHAoq9c69H5ynXzFrVwOWCwfAYcrFNsmXhN0wyp3I8BVY5rjH33DQTA== +=ekrp +-----END PGP PUBLIC KEY BLOCK----- diff --git a/xerces-c.spec b/xerces-c.spec index 3294868..f768f74 100644 --- a/xerces-c.spec +++ b/xerces-c.spec @@ -1,7 +1,7 @@ # # spec file for package xerces-c # -# Copyright (c) 2013 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 @@ -17,17 +17,21 @@ Name: xerces-c -BuildRequires: gcc-c++ -BuildRequires: libicu-devel -BuildRequires: pkgconfig Version: 3.1.1 Release: 0 Summary: A Validating XML Parser License: Apache-2.0 Group: Productivity/Publishing/XML Url: http://xerces.apache.org/xerces-c/ -Source0: xerces-c-%{version}.tar.gz -Source1: baselibs.conf +Source0: http://www.apache.org/dist/xerces/c/3/sources/%{name}-%{version}.tar.gz +Source1: http://www.apache.org/dist/xerces/c/3/sources/%{name}-%{version}.tar.gz.asc +Source2: %{name}.keyring +Source3: baselibs.conf +BuildRequires: fdupes +BuildRequires: gcc-c++ +BuildRequires: libicu-devel +BuildRequires: pkg-config +BuildRequires: pkgconfig(libcurl) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -38,6 +42,20 @@ 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). +%package doc +Summary: Documentation for %{name} +Group: Documentation + +%description doc +Xerces-C is a validating XML parser written in a portable subset of +C++. Xerces-C makes it easy to give your application the ability to +read and write XML data. A shared library is provided for parsing, +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). + +This package contains just documentation. + %package -n libxerces-c-3_1 Summary: Shared libraries for Xerces-c - a validating XML parser Group: Productivity/Publishing/XML @@ -52,16 +70,16 @@ 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). -This package contains just the shared libraries. +This package contains shared libraries. %package -n libxerces-c-devel +Summary: A validating XML parser - Development Files +Group: Development/Libraries/C and C++ Requires: libxerces-c-3_1 = %{version} Provides: Xerces-c-devel = %{version} Obsoletes: Xerces-c-devel <= %{version} Provides: libXerces-c-devel = %{version} Obsoletes: libXerces-c-devel <= %{version} -Summary: A validating XML parser - Development Files -Group: Development/Libraries/C and C++ %description -n libxerces-c-devel Xerces-C is a validating XML parser written in a portable subset of @@ -79,12 +97,14 @@ This package includes files needed for development with Xerces-c %ifnarch x86_64 --disable-sse2 \ %endif + --enable-netaccessor-curl \ --disable-static make %{?_smp_mflags} %install -make DESTDIR=$RPM_BUILD_ROOT install -rm -f $RPM_BUILD_ROOT%{_libdir}/*.la +make DESTDIR=%{buildroot} install %{?_smp_mflags} +find %{buildroot} -type f -name "*.la" -delete -print +%fdupes -s doc %post -n libxerces-c-3_1 -p /sbin/ldconfig @@ -92,9 +112,14 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %files %defattr(-,root,root) -%doc CREDITS KEYS LICENSE NOTICE README doc/* +%doc CREDITS KEYS LICENSE NOTICE README %{_bindir}/* +%files doc +%defattr(-,root,root) +%doc CREDITS KEYS LICENSE NOTICE README +%doc doc/* + %files -n libxerces-c-3_1 %defattr(-,root,root) %{_libdir}/libxerces-c-3.1.so