X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=xmltooling.spec.in;h=eecfe383686135e2e21512d21b31aa4450f28268;hb=2db865117be44d6079677aa6c532d21e95de0893;hp=2f1a5a70d0762d59f9c348b59e78ed7d6f30e9df;hpb=78a029de710f49d88c318e85ce55c15437702230;p=shibboleth%2Fcpp-xmltooling.git diff --git a/xmltooling.spec.in b/xmltooling.spec.in index 2f1a5a7..eecfe38 100644 --- a/xmltooling.spec.in +++ b/xmltooling.spec.in @@ -1,17 +1,21 @@ Name: xmltooling Summary: Open source XMLTooling library Version: @-VERSION-@ -Release: 3 +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.6.1 -BuildRequires: xml-security-c-devel >= 1.3.1 -BuildRequires: openssl-devel, cxxtest -%{?_with_log4cpp:BuildRequires: log4cpp-devel >= 0.3.5} +%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: openssl-devel, curl-devel >= 7.10.6 +%{?_with_log4cpp:BuildRequires: log4cpp-devel >= 1.0} %{!?_with_log4cpp:BuildRequires: log4shib-devel} %description @@ -51,34 +55,41 @@ XMLTooling Library API documentation generated by doxygen. %build %configure %{?xmltooling_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/xmltooling _docs +[ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT +%{__make} install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT/%{_bindir} -type f | + %{__sed} -e "s|$RPM_BUILD_ROOT||" | sort > rpm.binlist -%check || : -make check +%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 +%files -f rpm.binlist %defattr(-,root,root,-) -%doc _docs/LICENSE.txt _docs/NOTICE.txt %{_libdir}/libxmltooling.so.* %{_libdir}/libxmltooling-lite.so.* %dir %{_datadir}/xml/xmltooling %{_datadir}/xml/xmltooling -%exclude %{_bindir}/xmltoolingtest +%docdir %{_datadir}/doc/xmltooling +%{_datadir}/doc/xmltooling/README.txt +%{_datadir}/doc/xmltooling/LICENSE.txt +%{_datadir}/doc/xmltooling/NOTICE.txt +%{_datadir}/doc/xmltooling/CURL.LICENSE +%{_datadir}/doc/xmltooling/LOG4CPP.LICENSE +%{_datadir}/doc/xmltooling/OPENSSL.LICENSE %files devel %defattr(-,root,root,-) @@ -88,9 +99,25 @@ make check %files docs %defattr(644,root,root,755) -%doc _docs/api +%doc %{_datadir}/doc/xmltooling/api %changelog +* Wed Dec 3 2008 Scott Cantor - 1.2-1 +- Bumping for minor update. +- Fixing SUSE Xerces dependency name. + +* Tue Jul 1 2008 Scott Cantor - 1.1-1 +- Bumping for minor update. + +* Mon Mar 17 2008 Scott Cantor - 1.0-6 +- Official release. + +* Fri Jan 18 2008 Scott Cantor - 1.0-5 +- Release candidate 1. + +* Thu Nov 08 2007 Scott Cantor - 1.0-4 +- Second public beta. + * Thu Aug 16 2007 Scott Cantor - 1.0-3 - First public beta.