From e7e29d2402e94e89e8c680fa5fa9a464a270ed25 Mon Sep 17 00:00:00 2001 From: PeiYong Zhang <peiyongz@apache.org> Date: Wed, 2 Oct 2002 14:59:32 +0000 Subject: [PATCH] moved to scripts/ git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@174268 13f79535-47bb-0310-9956-ffa450edef68 --- src/xercesc/xerces-c.spec | 89 --------------------------------------- 1 file changed, 89 deletions(-) delete mode 100644 src/xercesc/xerces-c.spec diff --git a/src/xercesc/xerces-c.spec b/src/xercesc/xerces-c.spec deleted file mode 100644 index b52e18e9e..000000000 --- a/src/xercesc/xerces-c.spec +++ /dev/null @@ -1,89 +0,0 @@ -%define tarversion 2_1_0 - -# threads -# values: pthreads, none -%define threads pthreads - -Summary: Validating XML parser -Name: xerces-c -Version: 2.1.0 -Release: 2 -URL: http://xml.apache.org/xerces-c/ -Source0: %{name}-src%{tarversion}.tar.gz -Copyright: Apache -Group: Libraries -BuildRoot: %{_tmppath}/%{name}-root -BuildRequires: gcc-c++ -Prefix: /usr - -%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, -no C++ namespaces and minimal use of #ifdefs. - -%package devel -Requires: xerces-c = %{version} -Group: Development/Libraries -Summary: Header files, documentation and samples for xerces-c. - -%description devel -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 -n %{name}-src%{tarversion} - -%build -export XERCESCROOT=$RPM_BUILD_DIR/%{name}-src%{tarversion} -cd src/xercesc -./runConfigure -plinux -cgcc -xg++ -minmem -nsocket -tnative -r%{threads} -P%{prefix} -make -cd $RPM_BUILD_DIR/%{name}-src%{tarversion}/samples -./runConfigure -plinux -cgcc -xg++ -make -rm -rf $RPM_BUILD_DIR/%{name}-src%{tarversion}/bin/obj - -%install -export XERCESCROOT=$RPM_BUILD_DIR/%{name}-src%{tarversion} -cd src/xercesc -make install DESTDIR=$RPM_BUILD_ROOT -cd $RPM_BUILD_DIR/%{name}-src%{tarversion} -mkdir -p $RPM_BUILD_ROOT%{prefix}/bin -cp -a bin/* $RPM_BUILD_ROOT%{prefix}/bin/ -mkdir -p $RPM_BUILD_ROOT%{prefix}/share/%{name} -cp -a doc $RPM_BUILD_ROOT%{prefix}/share/%{name}/ -cp -a samples $RPM_BUILD_ROOT%{prefix}/share/%{name}/ - -%clean -rm -rf $RPM_BUILD_ROOT - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - -%files -%defattr(755,root,root) -%{prefix}/bin -%{prefix}/lib/libxerces-c.so.* - -%files devel -%defattr(-,root,root) -%{prefix}/include/xercesc -%{prefix}/lib/libxerces-c.so -%{prefix}/share/%{name}/doc -%{prefix}/share/%{name}/samples - -%changelog -* Tue Sep 03 2002 <thomas@linux.de> -- fixed missing DESTDIR in Makefile.util.submodule - -* Mon Sep 02 2002 <thomas@linux.de> -- Initial build. -- GitLab