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++, boost-devel >= 1.32.0
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 * Wed Dec 14 2011 Scott Cantor <cantor.2@osu.edu> - 2.5-1
146 - Update lib package number.
147 - Add boost-devel dependency.
149 * Tue Oct 26 2010 Scott Cantor <cantor.2@osu.edu> - 2.4-1
151 - Add pkg-config support.
152 - Sync package names for side by side install.
153 - Adjust Xerces dependency name and Group setting
154 - Split out schemas into separate subpackage
156 * Mon Aug 31 2009 Scott Cantor <cantor.2@osu.edu> - 2.3-1
157 - Bump soname for SUSE packaging.
159 * Sat Aug 8 2009 Scott Cantor <cantor.2@osu.edu> - 2.2.1-1
161 - Stop packaging unit tester
163 * Wed Dec 3 2008 Scott Cantor <cantor.2@osu.edu> - 2.2-1
164 - Bumping for minor update.
165 - Fixing SUSE Xerces dependency name.
167 * Tue Jul 1 2008 Scott Cantor <cantor.2@osu.edu> - 2.1-1
168 - Bumping for minor update.
170 * Mon Mar 17 2008 Scott Cantor <cantor.2@osu.edu> - 2.0-6
173 * Fri Jan 18 2008 Scott Cantor <cantor.2@osu.edu> - 2.0-5
174 - Release candidate 1.
176 * Thu Nov 08 2007 Scott Cantor <cantor.2@osu.edu> - 2.0-4
177 - Second public beta.
179 * Thu Aug 16 2007 Scott Cantor <cantor.2@osu.edu> - 2.0-3
182 * Fri Jul 13 2007 Scott Cantor <cantor.2@osu.edu> - 2.0-2
185 * Sun Apr 16 2007 Scott Cantor <cantor.2@osu.edu> - 2.0-1
186 - First SPEC file for 2.0.