Name: opensaml
Summary: Open source SAML library
Version: @-VERSION-@
-Release: 2
+Release: 3
Group: System Environment/Libraries
Vendor: Internet2
License: Apache 2.0
URL: http://www.opensaml.org/
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
-
-BuildRequires: xerces%{?xercesver}-c-devel >= 2.6.1
-BuildRequires: xml-security-c-devel >= 1.3.1
+BuildRequires: xerces%{?xercesver}-c-devel >= 2.8.0
+BuildRequires: xml-security-c-devel >= 1.4.0
BuildRequires: xmltooling-devel, cxxtest
-%if %{?_with_log4cpp:1}
-BuildRequires: log4cpp-devel >= 0.3.5
-%else
-BuildRequires: log4shib-devel
-%endif
+%{?_with_log4cpp:BuildRequires: log4cpp-devel >= 0.3.5}
+%{!?_with_log4cpp:BuildRequires: log4shib-devel}
%description
OpenSAML is an open source implementation of the OASIS Security Assertion
%build
%configure %{?saml_options}
-make
+%{__make}
%install
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
-rm -rf _docs
-make install DESTDIR=$RPM_BUILD_ROOT
-mv $RPM_BUILD_ROOT/usr/doc/%{name} _docs
+[ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT
+%{__rm} -rf _docs
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__mv} $RPM_BUILD_ROOT/usr/doc/%{name} _docs
%check || :
-make check
+%{__make} check
%clean
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
+[ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT
-%post
-/sbin/ldconfig
+%ifnos solaris2.8 solaris2.9 solaris2.10
+%post -p /sbin/ldconfig
+%endif
-%postun
-/sbin/ldconfig
+%ifnos solaris2.8 solaris2.9 solaris2.10
+%postun -p /sbin/ldconfig
+%endif
%files
%defattr(-,root,root,-)
%doc _docs/LICENSE.txt _docs/NOTICE.txt
+%{_bindir}/samlsign
%{_libdir}/libsaml.so.*
%dir %{_datadir}/xml/%{name}
%{_datadir}/xml/%{name}
%doc _docs/api
%changelog
+* Thu Aug 16 2007 Scott Cantor <cantor.2@osu.edu> - 2.0-3
+- First public beta.
+
* Fri Jul 13 2007 Scott Cantor <cantor.2@osu.edu> - 2.0-2
- Second alpha.