forked from pool/boost
Accepting request 291066 from devel:libraries:c_c++
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/291066 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/boost?expand=0&rev=96
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 9 14:47:09 UTC 2015 - rneuhauser@suse.cz
|
||||||
|
|
||||||
|
- Add quickbook subpackage
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 23 13:22:31 UTC 2015 - rguenther@suse.com
|
Mon Feb 23 13:22:31 UTC 2015 - rguenther@suse.com
|
||||||
|
|
||||||
|
|||||||
30
boost.spec
30
boost.spec
@@ -27,6 +27,8 @@
|
|||||||
#Define to 0 to not package the pdf documentation
|
#Define to 0 to not package the pdf documentation
|
||||||
%define package_pdf 1
|
%define package_pdf 1
|
||||||
|
|
||||||
|
%define build_quickbook 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.
|
||||||
|
|
||||||
@@ -398,6 +400,19 @@ Requires: boost-license%{lib_appendix}
|
|||||||
%description -n libboost_timer%{lib_appendix}
|
%description -n libboost_timer%{lib_appendix}
|
||||||
This package contains the Boost::Timer runtime library.
|
This package contains the Boost::Timer runtime library.
|
||||||
|
|
||||||
|
%if %build_quickbook
|
||||||
|
%package -n quickbook
|
||||||
|
Summary: Documentation tool geared towards C++
|
||||||
|
Group: Development/Tools/Doc Generators
|
||||||
|
Requires: boost-license%{lib_appendix}
|
||||||
|
#Requires: libstdc++-devel
|
||||||
|
|
||||||
|
%description -n quickbook
|
||||||
|
QuickBook is a WikiWiki style documentation tool geared towards C++
|
||||||
|
documentation using simple rules and markup for simple formatting
|
||||||
|
tasks.
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}_%{file_version} -b 3
|
%setup -q -n %{name}_%{file_version} -b 3
|
||||||
#everything in the tarball has the executable flag set ...
|
#everything in the tarball has the executable flag set ...
|
||||||
@@ -504,6 +519,12 @@ EOF
|
|||||||
# perform the compilation
|
# perform the compilation
|
||||||
./b2 -d+2 -q --prefix=%{_prefix} --libdir=%{_libdir} --user-config=./user-config.jam
|
./b2 -d+2 -q --prefix=%{_prefix} --libdir=%{_libdir} --user-config=./user-config.jam
|
||||||
|
|
||||||
|
%if %build_quickbook
|
||||||
|
pushd tools/quickbook
|
||||||
|
../../b2 --user-config=../../user-config.jam --v2 dist-bin
|
||||||
|
popd
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %build_docs
|
%if %build_docs
|
||||||
cd doc
|
cd doc
|
||||||
../b2 --user-config=../user-config.jam --v2 man
|
../b2 --user-config=../user-config.jam --v2 man
|
||||||
@@ -574,6 +595,11 @@ rm -f %{buildroot}%{_libdir}/*.a
|
|||||||
#symlink dupes
|
#symlink dupes
|
||||||
%fdupes %buildroot
|
%fdupes %buildroot
|
||||||
|
|
||||||
|
%if %build_quickbook
|
||||||
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
|
install -m 0755 dist/bin/quickbook %{buildroot}%{_bindir}/quickbook
|
||||||
|
%endif
|
||||||
|
|
||||||
%post -n libboost_atomic%{lib_appendix} -p /sbin/ldconfig
|
%post -n libboost_atomic%{lib_appendix} -p /sbin/ldconfig
|
||||||
%post -n libboost_container%{lib_appendix} -p /sbin/ldconfig
|
%post -n libboost_container%{lib_appendix} -p /sbin/ldconfig
|
||||||
%post -n libboost_context%{lib_appendix} -p /sbin/ldconfig
|
%post -n libboost_context%{lib_appendix} -p /sbin/ldconfig
|
||||||
@@ -764,4 +790,8 @@ rm -f %{buildroot}%{_libdir}/*.a
|
|||||||
%doc ../%{name}_%{short_version}_pdf/*.pdf
|
%doc ../%{name}_%{short_version}_pdf/*.pdf
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%files -n quickbook
|
||||||
|
%defattr(-, root, root, -)
|
||||||
|
%{_bindir}/quickbook
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user