From 5b489884989ed27cdf20b62fc35886d9c0e7b06b Mon Sep 17 00:00:00 2001 From: Scott Cantor Date: Thu, 6 Aug 2009 14:21:10 +0000 Subject: [PATCH] Private copy of spec file to disable curl use. --- dependencies/xerces/xerces-c.spec | 99 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 dependencies/xerces/xerces-c.spec diff --git a/dependencies/xerces/xerces-c.spec b/dependencies/xerces/xerces-c.spec new file mode 100644 index 0000000..b6aa692 --- /dev/null +++ b/dependencies/xerces/xerces-c.spec @@ -0,0 +1,99 @@ +Summary: Xerces-C++ validating XML parser +Name: xerces-c +Version: 3.0.1 +Release: 1 +URL: http://xerces.apache.org/xerces-c/ +Source0: %{name}-%{version}.tar.gz +License: Apache +Group: Libraries +BuildRoot: %{_tmppath}/%{name}-root +Prefix: /usr +BuildRequires: gcc-c++ +%{?_with_curl:BuildRequires: curl-devel} +%{?_with_icu:BuildRequires: libicu-devel} + + +%description +Xerces-C++ is a validating XML parser written in a portable subset of C++. +Xerces-C++ makes it easy to give your application the ability to read and +write XML data. A shared library is provided for parsing, generating, +manipulating, and validating XML documents. + +The parser provides high performance, modularity, and scalability. Source +code, samples and API documentation are provided with the parser. For +portability, care has been taken to make minimal use of templates, no RTTI, +and minimal use of #ifdefs. + +%package devel +Requires: %{name} = %{version} +Group: Development/Libraries +Summary: Header files for Xerces-C++ validating XML parser + +%description devel +Header files you can use to develop XML applications with Xerces-C++. + +Xerces-C++ is a validating XML parser written in a portable subset of C++. +Xerces-C++ makes it easy to give your application the ability to read and +write XML data. A shared library is provided for parsing, generating, +manipulating, and validating XML documents. + +%prep +%setup -q + +%build +%configure %{?_with_curl:--enable-netaccessor-curl} %{!?_with_curl:--disable-netaccessor-curl} %{?_with_icu:--enable-transcoder-icu --enable-msgloader-icu} %{?xerces_options} +%{__make} + +%install +%{__make} install DESTDIR=$RPM_BUILD_ROOT + +%clean +[ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT + +%ifnos solaris2.8 solaris2.9 solaris2.10 +%post -p /sbin/ldconfig +%endif + +%ifnos solaris2.8 solaris2.9 solaris2.10 +%postun -p /sbin/ldconfig +%endif + +%files +%defattr(755,root,root) +%{_bindir}/* +%{_libdir}/lib%{name}-*.so + +%files devel +%defattr(-,root,root) +%{_includedir} +%{_libdir}/lib%{name}.so +%{_libdir}/lib%{name}.a +%{_libdir}/pkgconfig/%{name}.pc +%exclude %{_libdir}/lib%{name}.la + +%changelog +* Wed Aug 5 2009 Scott Cantor 3.0.1-1 +- Disabled curl thanks to Red Hat + +* Fri Mar 7 2008 Boris Kolpackov +- Integrated updates for 3.0.0 from Scott Cantor. + +* Fri Jun 6 2003 Tuan Hoang +- updated for new Xerces-C filename and directory format +- fixed date format in changelog section + +* Fri Mar 14 2003 Tinny Ng +- changed to 2.3 + +* Wed Dec 18 2002 Albert Strasheim +- added symlink to libxerces-c.so in lib directory + +* Fri Dec 13 2002 Albert Strasheim +- added seperate doc package +- major cleanups + +* Tue Sep 03 2002 +- fixed missing DESTDIR in Makefile.util.submodule + +* Mon Sep 02 2002 +- Initial build. -- 2.1.4