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