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