]> git.pld-linux.org Git - packages/xqilla.git/blame - xqilla.spec
- added gcc11 patch (fix for gcc 11+); release 3
[packages/xqilla.git] / xqilla.spec
CommitLineData
a0c0ca5d
JB
1#
2# Conditional build:
3%bcond_without apidocs # do not build and package API docs
266a3588 4
a0c0ca5d
JB
5Summary: XQilla - C++ implementation of XQuery and XPath 2.0 based on Xerces-C
6Summary(pl.UTF-8): XQilla - implementacja C++ XQuary i XPath 2.0 oparta na bibliotece Xerces-C
7Name: xqilla
0e6de200 8Version: 2.3.4
4efe0739 9Release: 3
a0c0ca5d
JB
10License: Apache v2.0
11Group: Libraries
12Source0: http://downloads.sourceforge.net/xqilla/XQilla-%{version}.tar.gz
0e6de200 13# Source0-md5: 9b77644c8b0d0741d895d3ccfbfe0016
a0c0ca5d 14Patch0: %{name}-link.patch
d531bae8 15Patch1: %{name}-soname.patch
4efe0739 16Patch2: %{name}-gcc11.patch
a0c0ca5d
JB
17URL: http://xqilla.sourceforge.net/
18BuildRequires: autoconf >= 2.59
19BuildRequires: automake
7df9f4d7 20BuildRequires: faxpp-devel
a0c0ca5d
JB
21BuildRequires: flex
22BuildRequires: libstdc++-devel
d531bae8 23BuildRequires: libtool >= 2:1.5
4caf371f 24BuildRequires: rpm-build >= 4.6
0e6de200 25BuildRequires: rpmbuild(macros) >= 1.752
a0c0ca5d
JB
26BuildRequires: tidy-devel
27BuildRequires: xerces-c-devel >= 3
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
31XQilla - C++ implementation of XQuery and XPath 2.0 based on Xerces-C.
32
33%description -l pl.UTF-8
34XQilla - implementacja C++ XQuary i XPath 2.0 oparta na bibliotece
35Xerces-C.
36
37%package devel
38Summary: Header files for XQilla library
39Summary(pl.UTF-8): Pliki nagłówkowe biblioteki XQilla
40Group: Development/Libraries
41Requires: %{name} = %{version}-%{release}
7df9f4d7 42Requires: faxpp-devel
a0c0ca5d
JB
43Requires: libstdc++-devel
44Requires: tidy-devel
45Requires: xerces-c-devel >= 3
46
47%description devel
48Header files for XQilla library.
49
50%description devel -l pl.UTF-8
51Pliki nagłówkowe biblioteki XQilla.
52
53%package static
54Summary: Static XQilla library
55Summary(pl.UTF-8): Statyczna biblioteka XQilla
56Group: Development/Libraries
57Requires: %{name}-devel = %{version}-%{release}
58
59%description static
60Static XQilla library.
61
62%description static -l pl.UTF-8
63Statyczna biblioteka XQilla.
64
65%package apidocs
66Summary: XQilla API documentation
67Summary(pl.UTF-8): Dokumentacja API biblioteki XQilla
68Group: Documentation
96f502c9 69BuildArch: noarch
a0c0ca5d
JB
70
71%description apidocs
72API and internal documentation for XQilla library.
73
74%description apidocs -l pl.UTF-8
75Dokumentacja API biblioteki XQilla.
76
77%prep
78%setup -q -n XQilla-%{version}
79%patch0 -p1
d531bae8 80%patch1 -p1
4efe0739 81%patch2 -p1
a0c0ca5d
JB
82
83%build
84%{__libtoolize}
0e6de200 85%{__aclocal} -I autotools/m4
a0c0ca5d
JB
86%{__autoconf}
87%{__autoheader}
88%{__automake}
89%configure \
7df9f4d7 90 --with-faxpp=/usr \
a0c0ca5d
JB
91 --with-xerces=/usr
92
93%{__make}
94
95%install
96rm -rf $RPM_BUILD_ROOT
5beb1686 97
a0c0ca5d
JB
98%{__make} install \
99 DESTDIR=$RPM_BUILD_ROOT
100
101%clean
102rm -rf $RPM_BUILD_ROOT
103
104%post -p /sbin/ldconfig
105%postun -p /sbin/ldconfig
106
107%files
108%defattr(644,root,root,755)
109%doc README TODO
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
113
114%files devel
115%defattr(644,root,root,755)
116%attr(755,root,root) %{_libdir}/libxqilla.so
117%{_libdir}/libxqilla.la
118%{_includedir}/xqilla
119%{_includedir}/xqc.h
120
121%files static
122%defattr(644,root,root,755)
123%{_libdir}/libxqilla.a
124
125%if %{with apidocs}
126%files apidocs
127%defattr(644,root,root,755)
128%doc docs/{dom3-api,simple-api,xqc-api,*.html}
129%endif
This page took 0.132655 seconds and 5 git commands to generate.