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