2 Version: @PACKAGE_VERSION@
4 Summary: OpenSAML SAML library
5 Group: Development/Libraries/C and C++
8 URL: http://www.opensaml.org/
9 Source0: %{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 BuildRequires: libxmltooling-devel >= 1.4
18 %{?_with_log4cpp:BuildRequires: liblog4cpp-devel >= 1.0}
19 %{!?_with_log4cpp:BuildRequires: liblog4shib-devel}
20 BuildRequires: gcc-c++
21 %if 0%{?suse_version} > 1000
22 BuildRequires: pkg-config
24 %{!?_without_doxygen:BuildRequires: doxygen}
25 %if "%{_vendor}" == "redhat"
26 BuildRequires: redhat-rpm-config
29 %if "%{_vendor}" == "suse"
30 %define pkgdocdir %{_docdir}/%{name}
32 %define pkgdocdir %{_docdir}/%{name}-%{version}
36 OpenSAML is an open source implementation of the OASIS Security Assertion
37 Markup Language Specification. It contains a set of open source C++ classes
38 that support the SAML 1.0, 1.1, and 2.0 specifications.
40 %package -n @PACKAGE_NAME@-bin
41 Summary: Utilities for OpenSAML library
42 Group: Development/Libraries/C and C++
44 %description -n @PACKAGE_NAME@-bin
45 OpenSAML is an open source implementation of the OASIS Security Assertion
46 Markup Language Specification. It contains a set of open source C++ classes
47 that support the SAML 1.0, 1.1, and 2.0 specifications.
49 This package contains the utility programs.
52 Summary: OpenSAML SAML library
53 Group: Development/Libraries/C and C++
54 Provides: @PACKAGE_NAME@ = %{version}-%{release}
55 Obsoletes: @PACKAGE_NAME@ < %{version}-%{release}
57 %description -n libsaml8
58 OpenSAML is an open source implementation of the OASIS Security Assertion
59 Markup Language Specification. It contains a set of open source C++ classes
60 that support the SAML 1.0, 1.1, and 2.0 specifications.
62 This package contains just the shared library.
64 %package -n libsaml-devel
65 Summary: OpenSAML development Headers
66 Group: Development/Libraries/C and C++
67 Requires: libsaml8 = %{version}-%{release}
68 Provides: @PACKAGE_NAME@-devel = %{version}-%{release}
69 Obsoletes: @PACKAGE_NAME@-devel < %{version}-%{release}
70 %if 0%{?suse_version} > 1030 && 0%{?suse_version} < 1130
71 BuildRequires: libXerces-c-devel >= 2.8.0
73 BuildRequires: libxerces-c-devel >= 2.8.0
75 Requires: libxml-security-c-devel >= 1.4.0
76 Requires: libxmltooling-devel >= 1.4
77 %{?_with_log4cpp:Requires: liblog4cpp-devel >= 1.0}
78 %{!?_with_log4cpp:Requires: liblog4shib-devel}
80 %description -n libsaml-devel
81 OpenSAML is an open source implementation of the OASIS Security Assertion
82 Markup Language Specification. It contains a set of open source C++ classes
83 that support the SAML 1.0, 1.1, and 2.0 specifications.
85 This package includes files needed for development with OpenSAML.
87 %package -n @PACKAGE_NAME@-schemas
88 Summary: OpenSAML schemas and catalog
89 Group: Development/Libraries/C and C++
91 %description -n @PACKAGE_NAME@-schemas
92 OpenSAML is an open source implementation of the OASIS Security Assertion
93 Markup Language Specification. It contains a set of open source C++ classes
94 that support the SAML 1.0, 1.1, and 2.0 specifications.
96 This package includes XML schemas and related files.
102 %configure %{?saml_options}
106 %{__make} install DESTDIR=$RPM_BUILD_ROOT pkgdocdir=%{pkgdocdir}
107 # Don't package unit tester if present.
108 %{__rm} -f $RPM_BUILD_ROOT/%{_bindir}/samltest
114 [ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT
116 %ifnos solaris2.8 solaris2.9 solaris2.10
117 %post -n libsaml8 -p /sbin/ldconfig
120 %ifnos solaris2.8 solaris2.9 solaris2.10
121 %postun -n libsaml8 -p /sbin/ldconfig
124 %files -n @PACKAGE_NAME@-bin
125 %defattr(-,root,root,-)
129 %defattr(-,root,root,-)
130 %{_libdir}/libsaml.so.*
132 %files -n @PACKAGE_NAME@-schemas
133 %defattr(-,root,root,-)
134 %dir %{_datadir}/xml/@PACKAGE_NAME@
135 %{_datadir}/xml/@PACKAGE_NAME@/*
137 %files -n libsaml-devel
138 %defattr(-,root,root,-)
141 %{_libdir}/pkgconfig/@PACKAGE_NAME@.pc
145 * Mon Aug 8 2011 Scott Cantor <cantor.2@osu.edu> - 2.5-1
146 - Update lib package number.
148 * Tue Oct 26 2010 Scott Cantor <cantor.2@osu.edu> - 2.4-1
150 - Add pkg-config support.
151 - Sync package names for side by side install.
152 - Adjust Xerces dependency name and Group setting
153 - Split out schemas into separate subpackage
155 * Mon Aug 31 2009 Scott Cantor <cantor.2@osu.edu> - 2.3-1
156 - Bump soname for SUSE packaging.
158 * Sat Aug 8 2009 Scott Cantor <cantor.2@osu.edu> - 2.2.1-1
160 - Stop packaging unit tester
162 * Wed Dec 3 2008 Scott Cantor <cantor.2@osu.edu> - 2.2-1
163 - Bumping for minor update.
164 - Fixing SUSE Xerces dependency name.
166 * Tue Jul 1 2008 Scott Cantor <cantor.2@osu.edu> - 2.1-1
167 - Bumping for minor update.
169 * Mon Mar 17 2008 Scott Cantor <cantor.2@osu.edu> - 2.0-6
172 * Fri Jan 18 2008 Scott Cantor <cantor.2@osu.edu> - 2.0-5
173 - Release candidate 1.
175 * Thu Nov 08 2007 Scott Cantor <cantor.2@osu.edu> - 2.0-4
176 - Second public beta.
178 * Thu Aug 16 2007 Scott Cantor <cantor.2@osu.edu> - 2.0-3
181 * Fri Jul 13 2007 Scott Cantor <cantor.2@osu.edu> - 2.0-2
184 * Sun Apr 16 2007 Scott Cantor <cantor.2@osu.edu> - 2.0-1
185 - First SPEC file for 2.0.