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