4 Summary: OpenSAML XMLTooling library
5 Group: System Environment/Libraries
8 URL: http://www.opensaml.org/
9 Source: %{name}-%{version}.tar.gz
10 BuildRoot: %{_tmppath}/%{name}-%{version}-root
11 %if 0%{?suse_version} > 1030
12 %define libpkgprefix lib
13 BuildRequires: libXerces-c-devel >= 2.8.0
16 BuildRequires: xerces%{?xercesver}-c-devel >= 2.8.0
18 BuildRequires: %{libpkgprefix}xml-security-c-devel >= 1.4.0
19 BuildRequires: gcc-c++, openssl-devel, curl-devel >= 7.10.6
20 %{?_with_log4cpp:BuildRequires: %{libpkgprefix}log4cpp-devel >= 1.0}
21 %{!?_with_log4cpp:BuildRequires: %{libpkgprefix}log4shib-devel}
23 %if "%{_vendor}" == "suse"
24 %define pkgdocdir %{_docdir}/%{name}
26 %define pkgdocdir %{_docdir}/%{name}-%{version}
30 The XMLTooling library contains generic XML parsing and processing
31 classes based on the Xerces-C DOM. It adds more powerful facilities
32 for declaring element- and type-specific API and implementation
33 classes to add value around the DOM, as well as signing and encryption
36 %if 0%{?suse_version} > 1030
37 %package -n libxmltooling12
38 Summary: OpenSAML XMLTooling library
39 Group: Development/Libraries
40 Provides: xmltooling = %{version}
42 %description -n libxmltooling12
43 The XMLTooling library contains generic XML parsing and processing
44 classes based on the Xerces-C DOM. It adds more powerful facilities
45 for declaring element- and type-specific API and implementation
46 classes to add value around the DOM, as well as signing and encryption
49 This package contains just the shared library.
52 %if 0%{?suse_version} > 1030
53 %package -n libxmltooling-devel
54 Requires: libxmltooling12 = %version
57 Requires: %name = %version
59 Summary: XMLTooling development Headers
60 Group: Development/Libraries
61 %if 0%{?suse_version} > 1030
62 Requires: libXerces-c-devel >= 2.8.0
64 Requires: xerces%{?xercesver}-c-devel >= 2.8.0
66 Requires: %{libpkgprefix}xml-security-c-devel >= 1.4.0
67 Requires: openssl-devel, curl-devel >= 7.10.6
68 %{?_with_log4cpp:Requires: %{libpkgprefix}log4cpp-devel >= 1.0}
69 %{!?_with_log4cpp:Requires: %{libpkgprefix}log4shib-devel}
71 %if 0%{?suse_version} > 1030
72 %description -n libxmltooling-devel
73 Requires: libxmltooling12 = %version
77 The XMLTooling library contains generic XML parsing and processing
78 classes based on the Xerces-C DOM. It adds more powerful facilities
79 for declaring element- and type-specific API and implementation
80 classes to add value around the DOM, as well as signing and encryption
83 This package includes files needed for development with xmltooling.
89 %configure %{?xmltooling_options}
93 %{__make} install DESTDIR=$RPM_BUILD_ROOT pkgdocdir=%{pkgdocdir}
94 # Don't package unit tester if present.
95 %{__rm} -f $RPM_BUILD_ROOT/%{_bindir}/xmltoolingtest
101 [ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT
103 %ifnos solaris2.8 solaris2.9 solaris2.10
104 %if 0%{?suse_version} > 1030
105 %post -n libxmltooling12 -p /sbin/ldconfig
107 %post -p /sbin/ldconfig
111 %ifnos solaris2.8 solaris2.9 solaris2.10
112 %if 0%{?suse_version} > 1030
113 %postun -n libxmltooling12 -p /sbin/ldconfig
115 %postun -p /sbin/ldconfig
119 %if 0%{?suse_version} > 1030
120 %files -n libxmltooling12
124 %defattr(-,root,root,-)
125 %{_libdir}/libxmltooling.so.*
126 %{_libdir}/libxmltooling-lite.so.*
127 %dir %{_datadir}/xml/xmltooling
128 %{_datadir}/xml/xmltooling
130 %if 0%{?suse_version} > 1030
131 %files -n libxmltooling-devel
135 %defattr(-,root,root,-)
138 %docdir %{_datadir}/doc/xmltooling
139 %{_datadir}/doc/xmltooling/README.txt
140 %{_datadir}/doc/xmltooling/LICENSE.txt
141 %{_datadir}/doc/xmltooling/NOTICE.txt
142 %{_datadir}/doc/xmltooling/CURL.LICENSE
143 %{_datadir}/doc/xmltooling/LOG4CPP.LICENSE
144 %{_datadir}/doc/xmltooling/OPENSSL.LICENSE
145 %doc %{_datadir}/doc/xmltooling/api
148 * Thu Aug 6 2009 Scott Cantor <cantor.2@osu.edu> - 1.2.1-1
150 - Stop packaging unit tester
152 * Wed Dec 3 2008 Scott Cantor <cantor.2@osu.edu> - 1.2-1
153 - Bumping for minor update.
154 - Fixing SuSE Xerces dependency name.
156 * Tue Jul 1 2008 Scott Cantor <cantor.2@osu.edu> - 1.1-1
157 - Bumping for minor update.
159 * Mon Mar 17 2008 Scott Cantor <cantor.2@osu.edu> - 1.0-6
162 * Fri Jan 18 2008 Scott Cantor <cantor.2@osu.edu> - 1.0-5
163 - Release candidate 1.
165 * Thu Nov 08 2007 Scott Cantor <cantor.2@osu.edu> - 1.0-4
166 - Second public beta.
168 * Thu Aug 16 2007 Scott Cantor <cantor.2@osu.edu> - 1.0-3
171 * Fri Jul 13 2007 Scott Cantor <cantor.2@osu.edu> - 1.0-2
174 * Wed Apr 12 2006 Scott Cantor <cantor.2@osu.edu> - 1.0-1
175 - First SPEC file based on various versions in existence.