]> git.pld-linux.org Git - packages/xerces-c.git/blame - xerces-c.spec
- up to 3.2.0
[packages/xerces-c.git] / xerces-c.spec
CommitLineData
f4a4c50a
JB
1Summary: Xerces C++ - XML parser for C++
2Summary(pl.UTF-8): Xerces C++ - analizator składniowy XML-a dla C++
abba9225 3Name: xerces-c
221b900c
AM
4Version: 3.2.0
5Release: 1
f4a4c50a
JB
6License: Apache v2.0
7Group: Libraries
c4e3a71d 8Source0: http://www.apache.org/dist/xerces/c/3/sources/%{name}-%{version}.tar.xz
221b900c 9# Source0-md5: 781a31e61b33ffb0532f44b1c8de7627
f5e36a37 10Patch0: %{name}-iso88592.patch
821349de 11Patch1: %{name}-link.patch
f4a4c50a
JB
12URL: http://xerces.apache.org/xerces-c/
13BuildRequires: autoconf >= 2.60
14BuildRequires: automake
15BuildRequires: curl-devel
0ddab471 16BuildRequires: libicu-devel
6c9e3767 17BuildRequires: libstdc++-devel
c4e3a71d
JB
18BuildRequires: libtool >= 2:1.5
19BuildRequires: tar >= 1:1.22
20BuildRequires: xz
abba9225 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
f4a4c50a 24Xerces C++ - XML parser for C++.
abba9225 25
9cf4e500 26%description -l pl.UTF-8
f4a4c50a 27Xerces C++ - analizator składniowy XML-a dla C++.
abba9225 28
29%package devel
0c3239d5
JB
30Summary: Header files for xerces-c library
31Summary(pl.UTF-8): Pliki nagłówkowe biblioteki xerces-c
abba9225 32Group: Development/Libraries
aa8e50ad 33Requires: %{name} = %{version}-%{release}
f4a4c50a 34Requires: curl-devel
521986f5 35Requires: libstdc++-devel
abba9225 36
37%description devel
0c3239d5 38Header files for xerces-c library.
abba9225 39
9cf4e500 40%description devel -l pl.UTF-8
0c3239d5 41Pliki nagłówkowe biblioteki xerces-c.
005a2db7 42
f4a4c50a
JB
43%package static
44Summary: Static xerces-c library
45Summary(pl.UTF-8): Statyczna biblioteka xerces-c
46Group: Development/Libraries
47Requires: %{name}-devel = %{version}-%{release}
48
49%description static
50Static xerces-c library.
51
52%description static -l pl.UTF-8
53Statyczna biblioteka xerces-c.
54
005a2db7 55%package doc
f4a4c50a
JB
56Summary: Extensive Xerces C++ documentation
57Summary(pl.UTF-8): Obszerna dokumentacja biblioteki Xerces C++
005a2db7 58Group: Documentation
61d8c909 59Requires: %{name} = %{version}-%{release}
005a2db7
JB
60
61%description doc
f4a4c50a 62Extensive Xerces C++ documentation.
005a2db7 63
9cf4e500 64%description doc -l pl.UTF-8
f4a4c50a 65Obszerna dokumentacja biblioteki Xerces C++.
61d8c909 66
67%package examples
f4a4c50a
JB
68Summary: Xerces C++ examples
69Summary(pl.UTF-8): Przykłady do biblioteki Xerces C++
61d8c909 70Group: Documentation
71Requires: %{name} = %{version}-%{release}
72
73%description examples
f4a4c50a 74Xerces C++ examples.
61d8c909 75
0c3239d5 76%description examples -l pl.UTF-8
f4a4c50a 77Przykłady do biblioteki Xerces C++.
abba9225 78
79%prep
f4a4c50a 80%setup -q
f5e36a37 81%patch0 -p1
821349de 82%patch1 -p1
abba9225 83
84%build
f4a4c50a
JB
85%{__libtoolize}
86%{__aclocal} -I m4
7b80143f 87%{__autoconf}
f4a4c50a
JB
88%{__autoheader}
89%{__automake}
90%configure \
91 --disable-pretty-make \
92%ifnarch pentium4 %{x8664}
93 --disable-sse2
94%endif
6c9e3767 95
f4a4c50a 96%{__make}
abba9225 97
98%install
99rm -rf $RPM_BUILD_ROOT
a01816db 100install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
61d8c909 101install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}
abba9225 102
f4a4c50a 103%{__make} install \
a01816db 104 DESTDIR=$RPM_BUILD_ROOT
6c9e3767 105
f4a4c50a
JB
106find samples -name .deps | xargs -r rm -rf
107find samples -name '*.o' -o -name .dirstamp | xargs rm -f
6c9e3767 108cp -a samples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
61d8c909 109cp -a doc/html/* $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}
abba9225 110
abba9225 111%clean
112rm -rf $RPM_BUILD_ROOT
113
6c9e3767
JB
114%post -p /sbin/ldconfig
115%postun -p /sbin/ldconfig
0202130a 116
abba9225 117%files
118%defattr(644,root,root,755)
f4a4c50a 119%doc CREDITS LICENSE NOTICE
221b900c 120%attr(755,root,root) %{_libdir}/libxerces-c-3.2.so
abba9225 121
122%files devel
123%defattr(644,root,root,755)
61d8c909 124%attr(755,root,root) %{_libdir}/libxerces-c.so
f4a4c50a 125%{_libdir}/libxerces-c.la
61d8c909 126%{_includedir}/xercesc
f4a4c50a
JB
127%{_pkgconfigdir}/xerces-c.pc
128
129%files static
130%defattr(644,root,root,755)
131%{_libdir}/libxerces-c.a
005a2db7
JB
132
133%files doc
134%defattr(644,root,root,755)
61d8c909 135%{_docdir}/%{name}-doc-%{version}
136
137%files examples
138%defattr(644,root,root,755)
f4a4c50a
JB
139%attr(755,root,root) %{_bindir}/CreateDOMDocument
140%attr(755,root,root) %{_bindir}/DOMCount
141%attr(755,root,root) %{_bindir}/DOMPrint
142%attr(755,root,root) %{_bindir}/EnumVal
143%attr(755,root,root) %{_bindir}/MemParse
144%attr(755,root,root) %{_bindir}/PParse
145%attr(755,root,root) %{_bindir}/PSVIWriter
146%attr(755,root,root) %{_bindir}/Redirect
147%attr(755,root,root) %{_bindir}/SAX2Count
148%attr(755,root,root) %{_bindir}/SAX2Print
149%attr(755,root,root) %{_bindir}/SAXCount
150%attr(755,root,root) %{_bindir}/SAXPrint
151%attr(755,root,root) %{_bindir}/SCMPrint
152%attr(755,root,root) %{_bindir}/SEnumVal
153%attr(755,root,root) %{_bindir}/StdInParse
154%attr(755,root,root) %{_bindir}/XInclude
6c9e3767 155%{_examplesdir}/%{name}-%{version}
This page took 0.061214 seconds and 4 git commands to generate.