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
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 %{!?_without_doxygen:BuildRequires: doxygen}
22 %if "%{_vendor}" == "redhat"
23 BuildRequires: redhat-rpm-config
26 %if "%{_vendor}" == "suse"
27 %define pkgdocdir %{_docdir}/%{name}
29 %define pkgdocdir %{_docdir}/%{name}-%{version}
33 OpenSAML is an open source implementation of the OASIS Security Assertion
34 Markup Language Specification. It contains a set of open source C++ classes
35 that support the SAML 1.0, 1.1, and 2.0 specifications.
37 %package -n @PACKAGE_NAME@-bin
38 Summary: Utilities for OpenSAML library
39 Group: Development/Libraries
41 %description -n @PACKAGE_NAME@-bin
42 OpenSAML is an open source implementation of the OASIS Security Assertion
43 Markup Language Specification. It contains a set of open source C++ classes
44 that support the SAML 1.0, 1.1, and 2.0 specifications.
46 This package contains the utility programs.
49 Summary: OpenSAML SAML library
50 Group: Development/Libraries
51 Provides: @PACKAGE_NAME@ = %{version}-%{release}
52 Obsoletes: @PACKAGE_NAME@ < %{version}-%{release}
54 %description -n libsaml7
55 OpenSAML is an open source implementation of the OASIS Security Assertion
56 Markup Language Specification. It contains a set of open source C++ classes
57 that support the SAML 1.0, 1.1, and 2.0 specifications.
59 This package contains just the shared library.
61 %package -n libsaml-devel
62 Summary: OpenSAML development Headers
63 Group: Development/Libraries
64 Requires: libsaml7 = %{version}-%{release}
65 Provides: @PACKAGE_NAME@-devel = %{version}-%{release}
66 Obsoletes: @PACKAGE_NAME@-devel < %{version}-%{release}
67 %if 0%{?suse_version} > 1030
68 BuildRequires: libXerces-c-devel >= 2.8.0
70 BuildRequires: libxerces-c-devel >= 2.8.0
72 Requires: libxml-security-c-devel >= 1.4.0
73 Requires: libxmltooling-devel >= 1.4
74 %{?_with_log4cpp:Requires: liblog4cpp-devel >= 1.0}
75 %{!?_with_log4cpp:Requires: liblog4shib-devel}
77 %description -n libsaml-devel
78 OpenSAML is an open source implementation of the OASIS Security Assertion
79 Markup Language Specification. It contains a set of open source C++ classes
80 that support the SAML 1.0, 1.1, and 2.0 specifications.
82 This package includes files needed for development with OpenSAML.
84 %package -n @PACKAGE_NAME@-schemas
85 Summary: OpenSAML schemas and catalog
86 Group: Development/Libraries
88 %description -n @PACKAGE_NAME@-schemas
89 OpenSAML is an open source implementation of the OASIS Security Assertion
90 Markup Language Specification. It contains a set of open source C++ classes
91 that support the SAML 1.0, 1.1, and 2.0 specifications.
93 This package includes XML schemas and related files.
99 %configure %{?saml_options}
103 %{__make} install DESTDIR=$RPM_BUILD_ROOT pkgdocdir=%{pkgdocdir}
104 # Don't package unit tester if present.
105 %{__rm} -f $RPM_BUILD_ROOT/%{_bindir}/samltest
111 [ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT
113 %ifnos solaris2.8 solaris2.9 solaris2.10
114 %post -n libsaml7 -p /sbin/ldconfig
117 %ifnos solaris2.8 solaris2.9 solaris2.10
118 %postun -n libsaml7 -p /sbin/ldconfig
121 %files -n @PACKAGE_NAME@-bin
122 %defattr(-,root,root,-)
126 %defattr(-,root,root,-)
127 %{_libdir}/libsaml.so.*
129 %files -n @PACKAGE_NAME@-schemas
130 %defattr(-,root,root,-)
131 %dir %{_datadir}/xml/@PACKAGE_NAME@
132 %{_datadir}/xml/@PACKAGE_NAME@/*
134 %files -n libsaml-devel
135 %defattr(-,root,root,-)
138 %{_libdir}/pkgconfig/@PACKAGE_NAME@.pc
142 * Fri Dec 25 2009 Scott Cantor <cantor.2@osu.edu> - 2.4-1
143 - Add pkg-config support.
144 - Sync package names for side by side install.
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.