-
Notifications
You must be signed in to change notification settings - Fork 0
/
xerces-c.spec
115 lines (87 loc) · 3.17 KB
/
xerces-c.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
Summary: Xerces-C++ validating XML parser
Name: xerces-c
Version: 4.0.0
Release: 1
URL: http://xerces.apache.org/xerces-c/
Source0: %{name}-%{version}.tar.bz2
License: Apache
Group: Libraries
BuildRoot: %{_tmppath}/%{name}-root
Prefix: /usr
%{!?_without_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 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 %{!?_without_curl:--enable-netaccessor-curl} %{?_with_icu:--enable-transcoder-icu --enable-msgloader-icu} %{?xerces_options}
%{__make}
%install
[ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT
%{__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
%exclude %{_libdir}/lib%{name}.la
%files devel
%defattr(-,root,root)
%{_includedir}/xercesc
%{_libdir}/lib%{name}.so
%{_libdir}/lib%{name}.a
%{_libdir}/pkgconfig/%{name}.pc
%changelog
* Mon Jun 15 2020 Roger Leigh <[email protected]>
- Upped version to 4.0.0
* Tue Jun 02 2020 Roger Leigh <[email protected]>
- Upped version to 3.3.0
* Mon Dec 30 2019 Scott Cantor <[email protected]>
- Upped version
* Wed Jun 21 2017 Scott Cantor <[email protected]>
- Upped version
* Thu Jun 9 2016 Scott Cantor <[email protected]>
- Upped version
* Fri Feb 27 2015 Scott Cantor <[email protected]>
- Upped version and avoided ownership of /usr/include
* Fri Mar 7 2008 Boris Kolpackov <[email protected]>
- Integrated updates for 3.0.0 from Scott Cantor.
* Fri Jun 6 2003 Tuan Hoang <[email protected]>
- updated for new Xerces-C filename and directory format
- fixed date format in changelog section
* Fri Mar 14 2003 Tinny Ng <[email protected]>
- changed to 2.3
* Wed Dec 18 2002 Albert Strasheim <[email protected]>
- added symlink to libxerces-c.so in lib directory
* Fri Dec 13 2002 Albert Strasheim <[email protected]>
- added seperate doc package
- major cleanups
* Tue Sep 03 2002 <[email protected]>
- fixed missing DESTDIR in Makefile.util.submodule
* Mon Sep 02 2002 <[email protected]>
- Initial build.