forked from pool/boost
- 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:
committed by
Git OBS Bridge
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
|
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
|
#Only define to 1 to generate the man pages
|
||||||
%define build_docs 0
|
%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
|
# Just hardcode build_mpi to 1 as soon as openmpi builds on all
|
||||||
# named architectures.
|
# named architectures.
|
||||||
|
|
||||||
@@ -175,20 +178,20 @@ This package contains the documentation of the boost dynamic libraries
|
|||||||
as man pages.
|
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
|
%description doc-pdf
|
||||||
#License: BSD3c
|
This package contains the documentation of the boost dynamic libraries
|
||||||
#Summary: PDF documentation for the Boost C++ Libraries
|
in PDF format.
|
||||||
#Group: Development/Libraries/C and C++
|
%endif
|
||||||
#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.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%package -n libboost_date_time%{lib_appendix}
|
%package -n libboost_date_time%{lib_appendix}
|
||||||
@@ -761,8 +764,10 @@ rm -f %{buildroot}%{_libdir}/*.a
|
|||||||
%doc %{_mandir}/man7/*.7.gz
|
%doc %{_mandir}/man7/*.7.gz
|
||||||
%doc %{_mandir}/man9/*.9.gz
|
%doc %{_mandir}/man9/*.9.gz
|
||||||
|
|
||||||
#%files doc-pdf
|
%if %build_pdf
|
||||||
#%defattr(-, root, root, -)
|
%files doc-pdf
|
||||||
#%doc %{_docdir}/pdf
|
%defattr(-, root, root, -)
|
||||||
|
%doc %{_docdir}/pdf
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user