https://issues.shibboleth.net/jira/browse/SSPCPP-187
[shibboleth/cpp-opensaml.git] / opensaml.spec.in
index d9a4e8a..9d0df51 100644 (file)
@@ -1,16 +1,20 @@
 Name:          opensaml
 Summary:       Open source SAML library
 Version:       @-VERSION-@
-Release:       5
+Release:       1
 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.8.0
+%if 0%{?suse_version} > 1030
+BuildRequires:  libXerces-c-devel >= 2.8.0
+%else
+BuildRequires:  xerces%{?xercesver}-c-devel >= 2.8.0
+%endif
 BuildRequires:  xml-security-c-devel >= 1.4.0
-BuildRequires: xmltooling-devel
+BuildRequires: xmltooling-devel >= 1.2
 %{?_with_log4cpp:BuildRequires: log4cpp-devel >= 1.0}
 %{!?_with_log4cpp:BuildRequires: log4shib-devel}
 
@@ -55,7 +59,7 @@ OpenSAML Library API documentation generated by doxygen.
 find $RPM_BUILD_ROOT/%{_bindir} -type f |
   %{__sed} -e "s|$RPM_BUILD_ROOT||" | sort > rpm.binlist
 
-%check || :
+%check
 %{__make} check
 
 %clean
@@ -75,6 +79,7 @@ find $RPM_BUILD_ROOT/%{_bindir} -type f |
 %dir %{_datadir}/xml/%{name}
 %{_datadir}/xml/%{name}
 %docdir %{_datadir}/doc/%{name}
+%{_datadir}/doc/%{name}/README.txt
 %{_datadir}/doc/%{name}/LICENSE.txt
 %{_datadir}/doc/%{name}/NOTICE.txt
 %{_datadir}/doc/%{name}/LOG4CPP.LICENSE
@@ -89,6 +94,16 @@ find $RPM_BUILD_ROOT/%{_bindir} -type f |
 %doc %{_datadir}/doc/%{name}/api
 
 %changelog
+* Wed Dec 3 2008  Scott Cantor  <cantor.2@osu.edu>  - 2.2-1
+- Bumping for minor update.
+- Fixing SUSE Xerces dependency name.
+
+* Tue Jul 1 2008  Scott Cantor  <cantor.2@osu.edu>  - 2.1-1
+- Bumping for minor update.
+
+* Mon Mar 17 2008  Scott Cantor  <cantor.2@osu.edu>  - 2.0-6
+- Official release.
+
 * Fri Jan 18 2008  Scott Cantor  <cantor.2@osu.edu>  - 2.0-5
 - Release candidate 1.