3 %bcond_without apidocs # do not build and package API docs
5 Summary: XQilla - C++ implementation of XQuery and XPath 2.0 based on Xerces-C
6 Summary(pl.UTF-8): XQilla - implementacja C++ XQuary i XPath 2.0 oparta na bibliotece Xerces-C
12 Source0: http://downloads.sourceforge.net/xqilla/XQilla-%{version}.tar.gz
13 # Source0-md5: 9b77644c8b0d0741d895d3ccfbfe0016
14 Patch0: %{name}-link.patch
15 Patch1: %{name}-soname.patch
16 Patch2: %{name}-gcc11.patch
17 URL: http://xqilla.sourceforge.net/
18 BuildRequires: autoconf >= 2.59
19 BuildRequires: automake
20 BuildRequires: faxpp-devel
22 BuildRequires: libstdc++-devel
23 BuildRequires: libtool >= 2:1.5
24 BuildRequires: rpm-build >= 4.6
25 BuildRequires: rpmbuild(macros) >= 1.752
26 BuildRequires: tidy-devel
27 BuildRequires: xerces-c-devel >= 3
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 XQilla - C++ implementation of XQuery and XPath 2.0 based on Xerces-C.
33 %description -l pl.UTF-8
34 XQilla - implementacja C++ XQuary i XPath 2.0 oparta na bibliotece
38 Summary: Header files for XQilla library
39 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki XQilla
40 Group: Development/Libraries
41 Requires: %{name} = %{version}-%{release}
43 Requires: libstdc++-devel
45 Requires: xerces-c-devel >= 3
48 Header files for XQilla library.
50 %description devel -l pl.UTF-8
51 Pliki nagłówkowe biblioteki XQilla.
54 Summary: Static XQilla library
55 Summary(pl.UTF-8): Statyczna biblioteka XQilla
56 Group: Development/Libraries
57 Requires: %{name}-devel = %{version}-%{release}
60 Static XQilla library.
62 %description static -l pl.UTF-8
63 Statyczna biblioteka XQilla.
66 Summary: XQilla API documentation
67 Summary(pl.UTF-8): Dokumentacja API biblioteki XQilla
72 API and internal documentation for XQilla library.
74 %description apidocs -l pl.UTF-8
75 Dokumentacja API biblioteki XQilla.
78 %setup -q -n XQilla-%{version}
85 %{__aclocal} -I autotools/m4
96 rm -rf $RPM_BUILD_ROOT
99 DESTDIR=$RPM_BUILD_ROOT
102 rm -rf $RPM_BUILD_ROOT
104 %post -p /sbin/ldconfig
105 %postun -p /sbin/ldconfig
108 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_bindir}/xqilla
111 %attr(755,root,root) %{_libdir}/libxqilla.so.*.*.*
112 %attr(755,root,root) %ghost %{_libdir}/libxqilla.so.6
115 %defattr(644,root,root,755)
116 %attr(755,root,root) %{_libdir}/libxqilla.so
117 %{_libdir}/libxqilla.la
118 %{_includedir}/xqilla
122 %defattr(644,root,root,755)
123 %{_libdir}/libxqilla.a
127 %defattr(644,root,root,755)
128 %doc docs/{dom3-api,simple-api,xqc-api,*.html}