- Make packaging of the pdf documentation configurable.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=58
This commit is contained in:
parent
5f0572924d
commit
3d2e81853e
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 18 17:04:45 CET 2011 - pth@suse.de
|
||||
|
||||
- Make packaging of the pdf documentation configurable.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 18 11:59:14 CET 2011 - pth@suse.de
|
||||
|
||||
|
37
boost.spec
37
boost.spec
@ -25,6 +25,9 @@
|
||||
#Only define to 1 to generate the man pages
|
||||
%define build_docs 0
|
||||
|
||||
#Define to 0 to not generate the pdf documentation
|
||||
%define build_pdf 1
|
||||
|
||||
# Just hardcode build_mpi to 1 as soon as openmpi builds on all
|
||||
# named architectures.
|
||||
|
||||
@ -175,20 +178,20 @@ This package contains the documentation of the boost dynamic libraries
|
||||
as man pages.
|
||||
|
||||
|
||||
%if %build_pdf
|
||||
%package doc-pdf
|
||||
License: BSD3c
|
||||
Summary: PDF documentation for the Boost C++ Libraries
|
||||
Group: Development/Libraries/C and C++
|
||||
AutoReqProv: on
|
||||
%if 0%{?suse_version} >= 1120
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
#%package doc-pdf
|
||||
#License: BSD3c
|
||||
#Summary: PDF documentation for the Boost C++ Libraries
|
||||
#Group: Development/Libraries/C and C++
|
||||
#AutoReqProv: on
|
||||
#%if 0%{?suse_version} >= 1120
|
||||
#BuildArch: noarch
|
||||
#%endif
|
||||
|
||||
#%description doc-pdf
|
||||
#This package contains the documentation of the boost dynamic libraries
|
||||
#in PDF format.
|
||||
|
||||
%description doc-pdf
|
||||
This package contains the documentation of the boost dynamic libraries
|
||||
in PDF format.
|
||||
%endif
|
||||
|
||||
|
||||
%package -n libboost_date_time%{lib_appendix}
|
||||
@ -761,8 +764,10 @@ rm -f %{buildroot}%{_libdir}/*.a
|
||||
%doc %{_mandir}/man7/*.7.gz
|
||||
%doc %{_mandir}/man9/*.9.gz
|
||||
|
||||
#%files doc-pdf
|
||||
#%defattr(-, root, root, -)
|
||||
#%doc %{_docdir}/pdf
|
||||
%if %build_pdf
|
||||
%files doc-pdf
|
||||
%defattr(-, root, root, -)
|
||||
%doc %{_docdir}/pdf
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user