Adrian Schröter 2016-08-12 15:08:35 +00:00 committed by Git OBS Bridge
parent 69c44dbcfa
commit 701cc23461
2 changed files with 21 additions and 14 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Aug 12 15:05:12 UTC 2016 - adrian@suse.de
- build it from "boost.spec", but create versioned "boost-1_61-devel"
packages
-------------------------------------------------------------------
Fri Jun 17 08:32:41 UTC 2016 - adrian@suse.de

View File

@ -1,5 +1,5 @@
#
# spec file for package boost_1_61
# spec file for package boost
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
@ -61,7 +61,8 @@
%else
%define all_libs %{most_libs}
%endif
Name: boost_1_61
Name: boost
%define package_name boost_1_61
Version: 1.61.0
Release: 0
Summary: Boost C++ Libraries
@ -133,14 +134,14 @@ dynamic libraries are found in their respective package. For development
using Boost, you also need the boost-devel package. For documentation,
see the boost-doc package.
%package devel
%package -n %{package_name}-devel
Summary: Development package for Boost C++
Group: Development/Libraries/C and C++
Requires: %{all_libs}
Requires: libstdc++-devel
Provides: boost-devel = %version
%description devel
%description -n %{package_name}-devel
This package contains all that is needed to develop/compile
applications that use the Boost C++ libraries. For documentation see
the documentation packages (html, man or pdf).
@ -156,14 +157,14 @@ BuildArch: noarch
%description -n boost-license%{lib_appendix}
This package contains the license boost is provided under.
%package doc-html
%package -n %{package_name}-doc-html
Summary: HTML documentation for the Boost C++ Libraries
Group: Development/Libraries/C and C++
%if 0%{?suse_version} >= 1120
BuildArch: noarch
%endif
%description doc-html
%description -n %{package_name}-doc-html
This package contains the documentation of the boost dynamic libraries
in HTML format.
@ -179,14 +180,14 @@ in HTML format.
# as man pages.
%if %{package_pdf}
%package doc-pdf
%package -n %{package_name}-doc-pdf
Summary: PDF documentation for the Boost C++ Libraries
Group: Development/Libraries/C and C++
%if 0%{?suse_version} >= 1120
BuildArch: noarch
%endif
%description doc-pdf
%description -n %{package_name}-doc-pdf
This package contains the documentation of the boost dynamic libraries
in PDF format.
%endif
@ -415,14 +416,14 @@ Requires: boost-license%{lib_appendix}
This package contains the Boost::TypeErasure runtime library.
%if %{build_quickbook}
%package quickbook
%package -n %{package_name}-quickbook
Summary: Documentation tool geared towards C++
Group: Development/Tools/Doc Generators
Requires: boost-license%{lib_appendix}
Provides: quickbook = %version
#Requires: libstdc++-devel
%description quickbook
%description -n %{package_name}-quickbook
QuickBook is a WikiWiki style documentation tool geared towards C++
documentation using simple rules and markup for simple formatting
tasks.
@ -860,13 +861,13 @@ install -m 0755 dist/bin/quickbook %{buildroot}%{_bindir}/quickbook
%defattr(-, root, root, -)
%{_libdir}/libboost_type_erasure*.so.*
%files devel
%files -n %{package_name}-devel
%defattr(-, root, root, -)
%{_includedir}/boost
%{_libdir}/*.so
#%%{_datadir}/aclocal/*.m4
%files doc-html
%files -n %{package_name}-doc-html
%defattr(-, root, root, -)
%doc %{my_docdir}/*
%exclude %{my_docdir}/LICENSE_1_0.txt
@ -878,12 +879,12 @@ install -m 0755 dist/bin/quickbook %{buildroot}%{_bindir}/quickbook
# %%doc %%{_mandir}/man9/*.9.gz
%if %{package_pdf}
%files doc-pdf
%files -n %{package_name}-doc-pdf
%defattr(-, root, root, -)
%doc ../boost_%{short_version}_pdf/*.pdf
%endif
%files quickbook
%files -n %{package_name}-quickbook
%defattr(-, root, root, -)
%{_bindir}/quickbook