From 5f01f1399e742f830cbbe89a1ffcf685fa29f5f63b20b8a8c0ebc1efc21168aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20M=C3=BCller?= Date: Fri, 30 Oct 2015 12:21:07 +0000 Subject: [PATCH] - Require doxygen at build-time and add devel man to the filelist. - Disable rpath-install and silent-rules while configure. OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/talloc?expand=0&rev=62 --- talloc.changes | 6 ++++++ talloc.spec | 10 +++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/talloc.changes b/talloc.changes index 8dde271..f980810 100644 --- a/talloc.changes +++ b/talloc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Oct 30 11:57:39 UTC 2015 - lmuelle@suse.com + +- Require doxygen at build-time and add devel man to the filelist. +- Disable rpath-install and silent-rules while configure. + ------------------------------------------------------------------- Sat Oct 24 21:19:20 UTC 2015 - lmuelle@suse.com diff --git a/talloc.spec b/talloc.spec index 2ebd245..6db4271 100644 --- a/talloc.spec +++ b/talloc.spec @@ -32,6 +32,7 @@ Name: talloc %endif BuildRequires: autoconf BuildRequires: docbook-xsl-stylesheets +BuildRequires: doxygen BuildRequires: libxslt %if 0%{?suse_version} > 1020 BuildRequires: pkg-config @@ -169,6 +170,8 @@ CONFIGURE_OPTIONS="\ --prefix=%{_prefix} \ --libdir=%{_libdir} \ --disable-rpath \ + --disable-rpath-install \ + --disable-silent-rules \ --bundled-libraries=NONE \ --builtin-libraries=replace \ %if %{with_python3} @@ -178,6 +181,7 @@ CONFIGURE_OPTIONS="\ ./configure ${CONFIGURE_OPTIONS} %{__make} %{build_make_smp_mflags} \ all +doxygen doxy.config %check # make test doesn't work with --disable-rpath @@ -186,6 +190,9 @@ CONFIGURE_OPTIONS="\ %install DESTDIR=${RPM_BUILD_ROOT} make install +# Install API documentation +cp -a doc/man/* ${RPM_BUILD_ROOT}/%{_mandir} + %post -n %{libtalloc_name} -p /sbin/ldconfig %postun -n %{libtalloc_name} -p /sbin/ldconfig @@ -210,7 +217,8 @@ DESTDIR=${RPM_BUILD_ROOT} make install %{_libdir}/libtalloc.so %{_libdir}/pkgconfig/talloc.pc %if 0%{?suse_version} == 0 || 0%{?suse_version} > 1100 -%{_mandir}/man3/talloc.3* +%{_mandir}/man3/libtalloc*.3.* +%{_mandir}/man3/talloc*.3.* %endif %files -n python-talloc