source: Xerces/xerces-c.spec @ 835

Last change on this file since 835 was 721, checked in by lindanl, 9 years ago

Add the original Xerces code (version 3.1.1)

File size: 2.7 KB
Line 
1Summary:        Xerces-C++ validating XML parser
2Name:           xerces-c
3Version:        3.1.1
4Release:        1
5URL:            http://xerces.apache.org/xerces-c/
6Source0:        %{name}-%{version}.tar.gz
7License:        Apache
8Group:          Libraries
9BuildRoot:      %{_tmppath}/%{name}-root
10Prefix:         /usr
11%{!?_without_curl:BuildRequires: curl-devel}
12%{?_with_icu:BuildRequires: libicu-devel}
13
14
15%description
16Xerces-C++ is a validating XML parser written in a portable subset of C++.
17Xerces-C++ makes it easy to give your application the ability to read and
18write XML data. A shared library is provided for parsing, generating,
19manipulating, and validating XML documents.
20
21The parser provides high performance, modularity, and scalability. Source
22code, samples and API documentation are provided with the parser. For
23portability, care has been taken to make minimal use of templates, no RTTI,
24and minimal use of #ifdefs.
25
26%package devel
27Requires:       %{name} = %{version}
28Group:          Development/Libraries
29Summary:        Header files for Xerces-C++ validating XML parser
30
31%description devel
32Header files you can use to develop XML applications with Xerces-C++.
33
34Xerces-C++ is a validating XML parser written in a portable subset of C++.
35Xerces-C++ makes it easy to give your application the ability to read and
36write XML data. A shared library is provided for parsing, generating,
37manipulating, and validating XML documents.
38
39%prep
40%setup -q
41
42%build
43%configure %{!?_without_curl:--enable-netaccessor-curl} %{?_with_icu:--enable-transcoder-icu --enable-msgloader-icu} %{?xerces_options}
44%{__make}
45
46%install
47[ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT
48%{__make} install DESTDIR=$RPM_BUILD_ROOT
49
50%clean
51[ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT
52
53%ifnos solaris2.8 solaris2.9 solaris2.10
54%post -p /sbin/ldconfig
55%endif
56
57%ifnos solaris2.8 solaris2.9 solaris2.10
58%postun -p /sbin/ldconfig
59%endif
60
61%files
62%defattr(755,root,root)
63%{_bindir}/*
64%{_libdir}/lib%{name}-*.so
65%exclude %{_libdir}/lib%{name}.la
66
67
68%files devel
69%defattr(-,root,root)
70%{_includedir}
71%{_libdir}/lib%{name}.so
72%{_libdir}/lib%{name}.a
73%{_libdir}/pkgconfig/%{name}.pc
74
75%changelog
76* Fri Mar  7 2008 Boris Kolpackov <boris@codesynthesis.com>
77- Integrated updates for 3.0.0 from Scott Cantor.
78
79* Fri Jun  6 2003 Tuan Hoang <tqhoang@bigfoot.com>
80- updated for new Xerces-C filename and directory format
81- fixed date format in changelog section
82
83* Fri Mar 14 2003 Tinny Ng <tng@ca.ibm.com>
84- changed to 2.3
85
86* Wed Dec 18 2002 Albert Strasheim <albert@stonethree.com>
87- added symlink to libxerces-c.so in lib directory
88
89* Fri Dec 13 2002 Albert Strasheim <albert@stonethree.com>
90- added seperate doc package
91- major cleanups
92
93* Tue Sep 03 2002  <thomas@linux.de>
94- fixed missing DESTDIR in Makefile.util.submodule
95
96* Mon Sep 02 2002  <thomas@linux.de>
97- Initial build.
Note: See TracBrowser for help on using the repository browser.