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