2 Version: @PACKAGE_VERSION@
4 Summary: OpenSAML SAML library
5 Group: System Environment/Libraries
8 URL: http://www.opensaml.org/
9 Source0: %{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 BuildRequires: libxmltooling-devel >= 1.2
15 %{?_with_log4cpp:BuildRequires: liblog4cpp-devel >= 1.0}
16 %{!?_with_log4cpp:BuildRequires: liblog4shib-devel}
18 BuildRequires: xerces%{?xercesver}-c-devel >= 2.8.0
19 BuildRequires: xml-security-c-devel >= 1.4.0
20 BuildRequires: xmltooling-devel >= 1.2
21 %{?_with_log4cpp:BuildRequires: log4cpp-devel >= 1.0}
22 %{!?_with_log4cpp:BuildRequires: log4shib-devel}
24 BuildRequires: gcc-c++
25 %{!?_without_doxygen:BuildRequires: doxygen}
26 %if "%{_vendor}" == "redhat"
27 BuildRequires: redhat-rpm-config
30 %if "%{_vendor}" == "suse"
31 %define pkgdocdir %{_docdir}/%{name}
33 %define pkgdocdir %{_docdir}/%{name}-%{version}
37 OpenSAML is an open source implementation of the OASIS Security Assertion
38 Markup Language Specification. It contains a set of open source C++ classes
39 that support the SAML 1.0, 1.1, and 2.0 specifications.
41 %if 0%{?suse_version} > 1030
43 Summary: OpenSAML SAML library
44 Group: Development/Libraries
45 Provides: @PACKAGE@ = %{version}
47 %description -n libsaml5
48 OpenSAML is an open source implementation of the OASIS Security Assertion
49 Markup Language Specification. It contains a set of open source C++ classes
50 that support the SAML 1.0, 1.1, and 2.0 specifications.
52 This package contains just the shared library.
55 %if 0%{?suse_version} > 1030
56 %package -n libsaml-devel
57 Requires: libsaml5 = %version
60 Requires: %name = %version
62 Summary: OpenSAML development Headers
63 Group: Development/Libraries
64 %if 0%{?suse_version} > 1030
65 Requires: libXerces-c-devel >= 2.8.0
66 Requires: libxml-security-c-devel >= 1.4.0
67 Requires: libxmltooling-devel >= 1.2
68 %{?_with_log4cpp:Requires: liblog4cpp-devel >= 1.0}
69 %{!?_with_log4cpp:Requires: liblog4shib-devel}
71 Requires: xerces%{?xercesver}-c-devel >= 2.8.0
72 Requires: xml-security-c-devel >= 1.4.0
73 Requires: xmltooling-devel >= 1.2
74 %{?_with_log4cpp:Requires: log4cpp-devel >= 1.0}
75 %{!?_with_log4cpp:Requires: log4shib-devel}
78 %if 0%{?suse_version} > 1030
79 %description -n libsaml-devel
83 OpenSAML is an open source implementation of the OASIS Security Assertion
84 Markup Language Specification. It contains a set of open source C++ classes
85 that support the SAML 1.0, 1.1, and 2.0 specifications.
87 This package includes files needed for development with OpenSAML.
94 %configure %{?saml_options}
98 %{__make} install DESTDIR=$RPM_BUILD_ROOT pkgdocdir=%{pkgdocdir}
99 # Don't package unit tester if present.
100 %{__rm} -f $RPM_BUILD_ROOT/%{_bindir}/samltest
106 [ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT
108 %ifnos solaris2.8 solaris2.9 solaris2.10
109 %if 0%{?suse_version} > 1030
110 %post -n libsaml5 -p /sbin/ldconfig
112 %post -p /sbin/ldconfig
116 %ifnos solaris2.8 solaris2.9 solaris2.10
117 %if 0%{?suse_version} > 1030
118 %postun -n libsaml5 -p /sbin/ldconfig
120 %postun -p /sbin/ldconfig
125 %defattr(-,root,root,-)
127 %if 0%{?suse_version} > 1030
129 %defattr(-,root,root,-)
131 %{_libdir}/libsaml.so.*
132 %dir %{_datadir}/xml/@PACKAGE@
133 %{_datadir}/xml/@PACKAGE@/*
135 %if 0%{?suse_version} > 1030
136 %files -n libsaml-devel
140 %defattr(-,root,root,-)
146 * Mon Aug 31 2009 Scott Cantor <cantor.2@osu.edu> - 2.3-1
147 - Bump soname for SUSE packaging.
149 * Sat Aug 8 2009 Scott Cantor <cantor.2@osu.edu> - 2.2.1-1
151 - Stop packaging unit tester
153 * Wed Dec 3 2008 Scott Cantor <cantor.2@osu.edu> - 2.2-1
154 - Bumping for minor update.
155 - Fixing SUSE Xerces dependency name.
157 * Tue Jul 1 2008 Scott Cantor <cantor.2@osu.edu> - 2.1-1
158 - Bumping for minor update.
160 * Mon Mar 17 2008 Scott Cantor <cantor.2@osu.edu> - 2.0-6
163 * Fri Jan 18 2008 Scott Cantor <cantor.2@osu.edu> - 2.0-5
164 - Release candidate 1.
166 * Thu Nov 08 2007 Scott Cantor <cantor.2@osu.edu> - 2.0-4
167 - Second public beta.
169 * Thu Aug 16 2007 Scott Cantor <cantor.2@osu.edu> - 2.0-3
172 * Fri Jul 13 2007 Scott Cantor <cantor.2@osu.edu> - 2.0-2
175 * Sun Apr 16 2007 Scott Cantor <cantor.2@osu.edu> - 2.0-1
176 - First SPEC file for 2.0.