2 Version: @PACKAGE_VERSION@
4 Summary: OpenSAML XMLTooling library
5 Group: Development/Libraries/C and C++
8 URL: http://www.opensaml.org/
9 Source: %{name}-%{version}.tar.gz
10 BuildRoot: %{_tmppath}/%{name}-%{version}-root
11 %if 0%{?suse_version} > 1030 && 0%{?suse_version} < 1130
12 BuildRequires: libXerces-c-devel >= 2.8.0
14 BuildRequires: libxerces-c-devel >= 2.8.0
16 BuildRequires: libxml-security-c-devel >= 1.4.0
17 %{?_with_log4cpp:BuildRequires: liblog4cpp-devel >= 1.0}
18 %{!?_with_log4cpp:BuildRequires: liblog4shib-devel}
19 BuildRequires: gcc-c++, openssl-devel
21 BuildRequires: libcurl-openssl-devel >= 7.21.7
23 BuildRequires: curl-devel >= 7.10.6
25 %if 0%{?suse_version} > 1000
26 BuildRequires: pkg-config
28 %{!?_without_doxygen:BuildRequires: doxygen}
29 %if "%{_vendor}" == "redhat"
30 BuildRequires: redhat-rpm-config
33 %if "%{_vendor}" == "suse"
34 %define pkgdocdir %{_docdir}/%{name}
36 %define pkgdocdir %{_docdir}/%{name}-%{version}
40 The XMLTooling library contains generic XML parsing and processing
41 classes based on the Xerces-C DOM. It adds more powerful facilities
42 for declaring element- and type-specific API and implementation
43 classes to add value around the DOM, as well as signing and encryption
46 %package -n lib@PACKAGE_NAME@5
47 Summary: OpenSAML XMLTooling library
48 Group: Development/Libraries/C and C++
49 Provides: @PACKAGE_NAME@ = %{version}-%{release}
50 Obsoletes: @PACKAGE_NAME@ < %{version}-%{release}
52 %description -n lib@PACKAGE_NAME@5
53 The XMLTooling library contains generic XML parsing and processing
54 classes based on the Xerces-C DOM. It adds more powerful facilities
55 for declaring element- and type-specific API and implementation
56 classes to add value around the DOM, as well as signing and encryption
59 This package contains just the shared library.
61 %package -n lib@PACKAGE_NAME@-devel
62 Summary: XMLTooling development Headers
63 Group: Development/Libraries/C and C++
64 Requires: lib@PACKAGE_NAME@5 = %{version}-%{release}
65 Provides: @PACKAGE_NAME@-devel = %{version}-%{release}
66 Obsoletes: @PACKAGE_NAME@-devel < %{version}-%{release}
67 %if 0%{?suse_version} > 1030 && 0%{?suse_version} < 1130
68 Requires: libXerces-c-devel >= 2.8.0
70 Requires: libxerces-c-devel >= 2.8.0
72 Requires: libxml-security-c-devel >= 1.4.0
73 %{?_with_log4cpp:Requires: liblog4cpp-devel >= 1.0}
74 %{!?_with_log4cpp:Requires: liblog4shib-devel}
75 Requires: openssl-devel
77 Requires: libcurl-openssl-devel >= 7.21.7
79 Requires: curl-devel >= 7.10.6
82 %description -n lib@PACKAGE_NAME@-devel
83 The XMLTooling library contains generic XML parsing and processing
84 classes based on the Xerces-C DOM. It adds more powerful facilities
85 for declaring element- and type-specific API and implementation
86 classes to add value around the DOM, as well as signing and encryption
89 This package includes files needed for development with XMLTooling.
91 %package -n @PACKAGE_NAME@-schemas
92 Summary: XMLTooling schemas and catalog
93 Group: Development/Libraries/C and C++
95 %description -n @PACKAGE_NAME@-schemas
96 The XMLTooling library contains generic XML parsing and processing
97 classes based on the Xerces-C DOM. It adds more powerful facilities
98 for declaring element- and type-specific API and implementation
99 classes to add value around the DOM, as well as signing and encryption
102 This package includes XML schemas and related files.
109 %configure %{?@PACKAGE_NAME@_options} --with-curl=/opt/shibboleth
111 %configure %{?@PACKAGE_NAME@_options}
116 %{__make} install DESTDIR=$RPM_BUILD_ROOT pkgdocdir=%{pkgdocdir}
117 # Don't package unit tester if present.
118 %{__rm} -f $RPM_BUILD_ROOT/%{_bindir}/@PACKAGE_NAME@test
124 [ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT
126 %ifnos solaris2.8 solaris2.9 solaris2.10
127 %post -n lib@PACKAGE_NAME@5 -p /sbin/ldconfig
130 %ifnos solaris2.8 solaris2.9 solaris2.10
131 %postun -n lib@PACKAGE_NAME@5 -p /sbin/ldconfig
134 %files -n lib@PACKAGE@5
135 %defattr(-,root,root,-)
138 %files -n @PACKAGE_NAME@-schemas
139 %defattr(-,root,root,-)
140 %dir %{_datadir}/xml/@PACKAGE_NAME@
141 %{_datadir}/xml/@PACKAGE_NAME@/*
143 %files -n lib@PACKAGE_NAME@-devel
144 %defattr(-,root,root,-)
147 %{_libdir}/pkgconfig/@PACKAGE_NAME@.pc
151 * Sun Jun 26 2011 Scott Cantor <cantor.2@osu.edu> - 1.4.2-1
152 - Override curl build for RHEL6.
154 * Tue Oct 26 2010 Scott Cantor <cantor.2@osu.edu> - 1.4-1
156 - Add pkg-config support.
157 - Sync package names for side by side install.
158 - Adjust Xerces dependency name and Group setting
159 - Split out schemas into separate subpackage
161 * Mon Aug 31 2009 Scott Cantor <cantor.2@osu.edu> - 1.3-1
162 - Bump soname for SUSE packaging.
164 * Thu Aug 6 2009 Scott Cantor <cantor.2@osu.edu> - 1.2.1-1
166 - Stop packaging unit tester
168 * Wed Dec 3 2008 Scott Cantor <cantor.2@osu.edu> - 1.2-1
169 - Bumping for minor update.
170 - Fixing SuSE Xerces dependency name.
172 * Tue Jul 1 2008 Scott Cantor <cantor.2@osu.edu> - 1.1-1
173 - Bumping for minor update.
175 * Mon Mar 17 2008 Scott Cantor <cantor.2@osu.edu> - 1.0-6
178 * Fri Jan 18 2008 Scott Cantor <cantor.2@osu.edu> - 1.0-5
179 - Release candidate 1.
181 * Thu Nov 08 2007 Scott Cantor <cantor.2@osu.edu> - 1.0-4
182 - Second public beta.
184 * Thu Aug 16 2007 Scott Cantor <cantor.2@osu.edu> - 1.0-3
187 * Fri Jul 13 2007 Scott Cantor <cantor.2@osu.edu> - 1.0-2
190 * Wed Apr 12 2006 Scott Cantor <cantor.2@osu.edu> - 1.0-1
191 - First SPEC file based on various versions in existence.