forked from pool/talloc
- 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
This commit is contained in:
parent
d9af83af0e
commit
5f01f1399e
@ -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
|
Sat Oct 24 21:19:20 UTC 2015 - lmuelle@suse.com
|
||||||
|
|
||||||
|
10
talloc.spec
10
talloc.spec
@ -32,6 +32,7 @@ Name: talloc
|
|||||||
%endif
|
%endif
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: docbook-xsl-stylesheets
|
BuildRequires: docbook-xsl-stylesheets
|
||||||
|
BuildRequires: doxygen
|
||||||
BuildRequires: libxslt
|
BuildRequires: libxslt
|
||||||
%if 0%{?suse_version} > 1020
|
%if 0%{?suse_version} > 1020
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
@ -169,6 +170,8 @@ CONFIGURE_OPTIONS="\
|
|||||||
--prefix=%{_prefix} \
|
--prefix=%{_prefix} \
|
||||||
--libdir=%{_libdir} \
|
--libdir=%{_libdir} \
|
||||||
--disable-rpath \
|
--disable-rpath \
|
||||||
|
--disable-rpath-install \
|
||||||
|
--disable-silent-rules \
|
||||||
--bundled-libraries=NONE \
|
--bundled-libraries=NONE \
|
||||||
--builtin-libraries=replace \
|
--builtin-libraries=replace \
|
||||||
%if %{with_python3}
|
%if %{with_python3}
|
||||||
@ -178,6 +181,7 @@ CONFIGURE_OPTIONS="\
|
|||||||
./configure ${CONFIGURE_OPTIONS}
|
./configure ${CONFIGURE_OPTIONS}
|
||||||
%{__make} %{build_make_smp_mflags} \
|
%{__make} %{build_make_smp_mflags} \
|
||||||
all
|
all
|
||||||
|
doxygen doxy.config
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# make test doesn't work with --disable-rpath
|
# make test doesn't work with --disable-rpath
|
||||||
@ -186,6 +190,9 @@ CONFIGURE_OPTIONS="\
|
|||||||
%install
|
%install
|
||||||
DESTDIR=${RPM_BUILD_ROOT} make 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
|
%post -n %{libtalloc_name} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -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}/libtalloc.so
|
||||||
%{_libdir}/pkgconfig/talloc.pc
|
%{_libdir}/pkgconfig/talloc.pc
|
||||||
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1100
|
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1100
|
||||||
%{_mandir}/man3/talloc.3*
|
%{_mandir}/man3/libtalloc*.3.*
|
||||||
|
%{_mandir}/man3/talloc*.3.*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files -n python-talloc
|
%files -n python-talloc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user