- Add doxygen at build time to add the development documentation.

- Disable rpath-install and silent-rules while configure.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=77
This commit is contained in:
Lars Müller 2015-10-30 15:06:02 +00:00 committed by Git OBS Bridge
parent 95ac5298da
commit 58a13182fd
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Oct 30 15:05:14 UTC 2015 - lmuelle@suse.com
- Add doxygen at build time to add the development documentation.
- Disable rpath-install and silent-rules while configure.
-------------------------------------------------------------------
Sun Oct 25 13:10:36 UTC 2015 - lmuelle@suse.com

View File

@ -32,6 +32,7 @@ Name: tdb
%endif
BuildRequires: autoconf
BuildRequires: docbook-xsl-stylesheets
BuildRequires: doxygen
BuildRequires: libxslt
%if 0%{?suse_version} > 1020
BuildRequires: pkg-config
@ -150,6 +151,8 @@ CONFIGURE_OPTIONS="\
--prefix=%{_prefix} \
--libdir=%{_libdir} \
--disable-rpath \
--disable-rpath-install \
--disable-silent-rules \
--bundled-libraries=NONE \
%if %{with_python3}
--extra-python=/usr/bin/python3 \
@ -158,6 +161,7 @@ CONFIGURE_OPTIONS="\
./configure ${CONFIGURE_OPTIONS}
%{__make} %{build_make_smp_mflags} \
all
doxygen doxy.config
%check
%if 0%{!?qemu_user_space_build:1}
@ -166,6 +170,9 @@ CONFIGURE_OPTIONS="\
%install
DESTDIR=${RPM_BUILD_ROOT} make install
# Install API documentation
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man3/
cp -a docs/man/man3/tdb.3 $RPM_BUILD_ROOT/%{_mandir}/man3/
%post -n %{libtdb_name} -p /sbin/ldconfig
@ -190,6 +197,7 @@ DESTDIR=${RPM_BUILD_ROOT} make install
%{_includedir}/tdb.h
%{_libdir}/libtdb.so
%{_libdir}/pkgconfig/tdb.pc
%{_mandir}/man3/tdb.3.*
%files -n tdb-tools
%defattr(-,root,root)