2 Version: @PACKAGE_VERSION@
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 BuildRequires: libXerces-c-devel >= 2.8.0
13 BuildRequires: libxml-security-c-devel >= 1.4.0
14 %{?_with_log4cpp:BuildRequires: liblog4cpp-devel >= 1.0}
15 %{!?_with_log4cpp:BuildRequires: liblog4shib-devel}
17 BuildRequires: xerces%{?xercesver}-c-devel >= 2.8.0
18 BuildRequires: xml-security-c-devel >= 1.4.0
19 %{?_with_log4cpp:BuildRequires: log4cpp-devel >= 1.0}
20 %{!?_with_log4cpp:BuildRequires: log4shib-devel}
22 BuildRequires: gcc-c++, openssl-devel, curl-devel >= 7.10.6
23 %{!?_without_doxygen:BuildRequires: doxygen}
25 %if "%{_vendor}" == "suse"
26 %define pkgdocdir %{_docdir}/%{name}
28 %define pkgdocdir %{_docdir}/%{name}-%{version}
32 The XMLTooling library contains generic XML parsing and processing
33 classes based on the Xerces-C DOM. It adds more powerful facilities
34 for declaring element- and type-specific API and implementation
35 classes to add value around the DOM, as well as signing and encryption
38 %if 0%{?suse_version} > 1030
39 %package -n lib@PACKAGE@3
40 Summary: OpenSAML XMLTooling library
41 Group: Development/Libraries
42 Provides: @PACKAGE@ = %{version}
44 %description -n lib@PACKAGE@3
45 The XMLTooling library contains generic XML parsing and processing
46 classes based on the Xerces-C DOM. It adds more powerful facilities
47 for declaring element- and type-specific API and implementation
48 classes to add value around the DOM, as well as signing and encryption
51 This package contains just the shared library.
54 %if 0%{?suse_version} > 1030
55 %package -n lib@PACKAGE@-devel
56 Requires: lib@PACKAGE@3 = %version
59 Requires: %name = %version
61 Summary: XMLTooling development Headers
62 Group: Development/Libraries
63 %if 0%{?suse_version} > 1030
64 Requires: libXerces-c-devel >= 2.8.0
65 Requires: libxml-security-c-devel >= 1.4.0
66 %{?_with_log4cpp:Requires: liblog4cpp-devel >= 1.0}
67 %{!?_with_log4cpp:Requires: liblog4shib-devel}
69 Requires: xerces%{?xercesver}-c-devel >= 2.8.0
70 Requires: xml-security-c-devel >= 1.4.0
71 %{?_with_log4cpp:Requires: log4cpp-devel >= 1.0}
72 %{!?_with_log4cpp:Requires: log4shib-devel}
74 Requires: openssl-devel, curl-devel >= 7.10.6
76 %if 0%{?suse_version} > 1030
77 %description -n lib@PACKAGE@-devel
81 The XMLTooling library contains generic XML parsing and processing
82 classes based on the Xerces-C DOM. It adds more powerful facilities
83 for declaring element- and type-specific API and implementation
84 classes to add value around the DOM, as well as signing and encryption
87 This package includes files needed for development with XMLTooling.
93 %configure %{?@PACKAGE@_options}
97 %{__make} install DESTDIR=$RPM_BUILD_ROOT pkgdocdir=%{pkgdocdir}
98 # Don't package unit tester if present.
99 %{__rm} -f $RPM_BUILD_ROOT/%{_bindir}/@PACKAGE@test
105 [ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT
107 %ifnos solaris2.8 solaris2.9 solaris2.10
108 %if 0%{?suse_version} > 1030
109 %post -n lib@PACKAGE@3 -p /sbin/ldconfig
111 %post -p /sbin/ldconfig
115 %ifnos solaris2.8 solaris2.9 solaris2.10
116 %if 0%{?suse_version} > 1030
117 %postun -n lib@PACKAGE@3 -p /sbin/ldconfig
119 %postun -p /sbin/ldconfig
123 %if 0%{?suse_version} > 1030
124 %files -n lib@PACKAGE@3
128 %defattr(-,root,root,-)
130 %dir %{_datadir}/xml/@PACKAGE@
131 %{_datadir}/xml/@PACKAGE@/*
133 %if 0%{?suse_version} > 1030
134 %files -n lib@PACKAGE@-devel
138 %defattr(-,root,root,-)
144 * Thu Aug 6 2009 Scott Cantor <cantor.2@osu.edu> - 1.2.1-1
146 - Stop packaging unit tester
148 * Wed Dec 3 2008 Scott Cantor <cantor.2@osu.edu> - 1.2-1
149 - Bumping for minor update.
150 - Fixing SuSE Xerces dependency name.
152 * Tue Jul 1 2008 Scott Cantor <cantor.2@osu.edu> - 1.1-1
153 - Bumping for minor update.
155 * Mon Mar 17 2008 Scott Cantor <cantor.2@osu.edu> - 1.0-6
158 * Fri Jan 18 2008 Scott Cantor <cantor.2@osu.edu> - 1.0-5
159 - Release candidate 1.
161 * Thu Nov 08 2007 Scott Cantor <cantor.2@osu.edu> - 1.0-4
162 - Second public beta.
164 * Thu Aug 16 2007 Scott Cantor <cantor.2@osu.edu> - 1.0-3
167 * Fri Jul 13 2007 Scott Cantor <cantor.2@osu.edu> - 1.0-2
170 * Wed Apr 12 2006 Scott Cantor <cantor.2@osu.edu> - 1.0-1
171 - First SPEC file based on various versions in existence.