From 701cc23461f93084f7c00ccf826fc86f96e855f892bae424bc1b4d065c1922fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 12 Aug 2016 15:08:35 +0000 Subject: [PATCH] try OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=168 --- boost_1_61.changes => boost.changes | 6 ++++++ boost_1_61.spec => boost.spec | 29 +++++++++++++++-------------- 2 files changed, 21 insertions(+), 14 deletions(-) rename boost_1_61.changes => boost.changes (99%) rename boost_1_61.spec => boost.spec (98%) diff --git a/boost_1_61.changes b/boost.changes similarity index 99% rename from boost_1_61.changes rename to boost.changes index 7918055..aabee6a 100644 --- a/boost_1_61.changes +++ b/boost.changes @@ -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 diff --git a/boost_1_61.spec b/boost.spec similarity index 98% rename from boost_1_61.spec rename to boost.spec index 9979edf..dada6c9 100644 --- a/boost_1_61.spec +++ b/boost.spec @@ -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