- 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:
parent
95ac5298da
commit
58a13182fd
@ -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
|
||||
|
||||
|
8
tdb.spec
8
tdb.spec
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user