SPECS (DEVEL): boost.spec - up to 1_33_0 - reorganized (simplified...

twittner twittner at pld-linux.org
Sun Sep 4 03:53:34 CEST 2005


Author: twittner                     Date: Sun Sep  4 01:53:34 2005 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- up to 1_33_0
- reorganized (simplified): only 7 packages (so I put it on DEVEL branch
  to avoid common lament). Added obsoletes for dropped subpackages.
- added bcond_withot doc (saves time & space during building)
- pass __cc and __cxx

---- Files affected:
SPECS:
   boost.spec (1.56 -> 1.56.2.1) 

---- Diffs:

================================================================
Index: SPECS/boost.spec
diff -u SPECS/boost.spec:1.56 SPECS/boost.spec:1.56.2.1
--- SPECS/boost.spec:1.56	Sun May  1 03:07:19 2005
+++ SPECS/boost.spec	Sun Sep  4 03:53:28 2005
@@ -1,18 +1,19 @@
 # $Revision$, $Date$
 #
 # Conditional build:
+%bcond_without	doc	# don't mess with & pack docs (time/space-consumming)
 %bcond_without	python	# without boost-python support
 #
 Summary:	The Boost C++ Libraries
 Summary(pl):	Biblioteki C++ "Boost"
 Name:		boost
-Version:	1.32.0
+Version:	1.33.0
 %define	_fver	%(echo %{version} | tr . _)
-Release:	4
+Release:	0.1
 License:	Boost Software License and others
 Group:		Libraries
-Source0:	http://dl.sourceforge.net/boost/%{name}_%{_fver}.tar.bz2
-# Source0-md5:	e1d1fc7b8fc8c51df4564c2188ca51cb
+Source0:	http://dl.sourceforge.net/boost/%{name}_%{_fver}.tar.gz
+# Source0-md5:	6105340ccdb0e77e684c1cfe40f11056
 Patch0:		%{name}-python.patch
 URL:		http://www.boost.org/
 BuildRequires:	boost-jam >= 3.1.3
@@ -20,6 +21,13 @@
 BuildRequires:	perl-base
 %{?with_python:BuildRequires:	python-devel >= 2.2}
 BuildConflicts:	gcc = 5:3.3.1
+Obsoletes:	boost-date_time
+Obsoletes:	boost-filesystem
+Obsoletes:	boost-program_options
+Obsoletes:	boost-regex
+Obsoletes:	boost-signals
+Obsoletes:	boost-test
+Obsoletes:	boost-thread
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -44,17 +52,59 @@
 Summary:	Boost C++ development libraries and headers
 Summary(pl):	Pliki nagłówkowe i biblioteki statyczne Boost C++
 Group:		Development/Libraries
-# req'd by <boost/iterator_adaptors.hpp> (also included by <boost/signal.h>)
-Requires:	%{name}-concept_check-devel = %{version}-%{release}
-# <boost/implicit_cast.hpp> req'd by <boost/graph/graph_utility.hpp>
-Requires:	%{name}-conversion-devel = %{version}-%{release}
 Requires:	libstdc++-devel
+Requires:	%{name} = %{version}-%{release}
+Obsoletes:	boost-any-devel
+Obsoletes:	boost-array-devel
+Obsoletes:	boost-bind-devel
+Obsoletes:	boost-call_traits-devel
+Obsoletes:	boost-compatibility-devel
+Obsoletes:	boost-compose-devel
+Obsoletes:	boost-compressed_pair-devel
+Obsoletes:	boost-concept_check-devel
+Obsoletes:	boost-conversion-devel
+Obsoletes:	boost-crc-devel
+Obsoletes:	boost-date_time-devel
+Obsoletes:	boost-filesystem-devel
+Obsoletes:	boost-mem_fn-devel
+Obsoletes:	boost-mpl-devel
+Obsoletes:	boost-preprocessor-devel
+Obsoletes:	boost-program_options-devel
+Obsoletes:	boost-ref-devel
+Obsoletes:	boost-regex-devel
+Obsoletes:	boost-signals-devel
+Obsoletes:	boost-spirit-devel
+Obsoletes:	boost-static_assert-devel
+Obsoletes:	boost-test-devel
+Obsoletes:	boost-thread-devel
+Obsoletes:	boost-type_traits-devel
+Obsoletes:	boost-uBLAS-devel
+Obsoletes:	boost-utility-devel
 
 %description devel
-Headers and static libraries for the Boost C++ libraries.
+Headers for the Boost C++ libraries.
 
 %description devel -l pl
-Pliki nagłówkowe i biblioteki statyczne bibliotek Boost C++.
+Pliki nagłówkowe bibliotek Boost C++.
+
+%package static
+Summary:	Boost C++ static libraries
+Summary(pl):	Biblioteki statyczne Boost C++
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+Obsoletes:	boost-date_time-static
+Obsoletes:	boost-filesystem-static
+Obsoletes:	boost-program_options
+Obsoletes:	boost-regex-static
+Obsoletes:	boost-signals-static
+Obsoletes:	boost-static_assert
+Obsoletes:	boost-test-static
+
+%description static
+Boost C++ static libraries.
+
+%description static -l pl
+Biblioteki statyczne Boost C++.
 
 %package python
 Summary:	Boost.Python library
@@ -85,7 +135,6 @@
 Group:		Development/Libraries
 Requires:	%{name}-devel = %{version}-%{release}
 Requires:	%{name}-python = %{version}-%{release}
-Requires:	%{name}-compressed_pair-devel = %{version}-%{release}
 
 %description python-devel
 Headers for the Boost.Python library.
@@ -105,630 +154,6 @@
 %description python-static -l pl
 Statyczna wersja biblioteki Boost.Python.
 
-%package regex
-Summary:	Boost C++ regular expressions library
-Summary(pl):	Biblioteka wyrażeń regularnych Boost C++
-Group:		Libraries
-
-%description regex
-Shared library for Boost C++ regular expressions.
-
-%description regex -l pl
-Biblioteka wyrażeń regularnych dla C++, biblioteki dzielone.
-
-%package regex-devel
-Summary:	Boost C++ Regex library headers
-Summary(pl):	Pliki nagłówkowe Boost C++ Regex
-Group:		Development/Libraries
-Requires:	%{name}-devel = %{version}-%{release}
-Requires:	%{name}-regex = %{version}-%{release}
-
-%description regex-devel
-Boost C++ Regex headers.
-
-%description regex-devel -l pl
-Pliki nagłówkowe dla Boost C++ Regex.
-
-%package regex-static
-Summary:	Boost C++ Regex static libraries
-Summary(pl):	Biblioteki statyczne Boost C++ Regex
-Group:		Development/Libraries
-Requires:	%{name}-regex-devel = %{version}-%{release}
-
-%description regex-static
-Boost C++ Regex static libraries.
-
-%description regex-static -l pl
-Biblioteki statyczne dla Boost C++ Regex.
-
-%package any-devel
-Summary:	Header for Boost C++ "Any" Library
-Summary(pl):	Plik nagłówkowy dla biblioteki Boost C++ "Any"
-Group:		Development/Libraries
-Requires:	%{name}-devel = %{version}-%{release}
-
-%description any-devel
-The boost::any class, is a variant value type, which supports copying
-of any value type and safe checked extraction of that value strictly
-against that type.
-
-I.e. 5 is held strictly as an int and is not implicitly convertible
-either to "5" or to 5.0.
-
-%description any-devel -l pl
-Klasa boost::any jest typem, który umożliwia kopiowanie ze zmiennej
-dowolnego typu i bezpieczne, sprawdzone wydobycie jej wartości
-dokładnie tego samego typu.
-
-Np. 5 jest trzymane jako int i nie jest niejawnie konwertowalne ani do
-"5" ani do 5.0.
-
-%package array-devel
-Summary:	STL compliant container wrapper for arrays of constant size
-Summary(pl):	Wrapper na STLowe kontenery dla tablic o stałym rozmiarze
-Group:		Development/Libraries
-Requires:	%{name}-devel = %{version}-%{release}
-
-%description array-devel
-As replacement for ordinary arrays, the STL provides class vector<>.
-However, vector<> provides the semantics of dynamic arrays. Thus, it
-manages data to be able to change the number of elements. This results
-in some overhead in case only arrays with static size are needed. This
-library provides support for such static size arrays.
-
-%description array-devel -l pl
-STL dostarcza klasę vector<> jako zamiennik zwykłej tablicy. Jednak
-vector<> dostarcza semantykę dynamicznych tablic. Zatem zarządza
-danymi tak, by była możliwa zmiana ilości elementów. To skutkuje
-pewnym nadmiarem w przypadku kiedy tylko tablice o stałym rozmiarze są
-potrzebne. Ta biblioteka dostarcza wsparcie dla takich właśnie tablic
-o stałym rozmiarze.
-
-%package bind-devel
-Summary:	Generalized binders for function/object/pointers
-Summary(pl):	Uogólnione bindery dla funkcji/obiektów/wskaźników
-Group:		Development/Libraries
-Requires:	%{name}-mem_fn-devel = %{version}-%{release}
-Requires:	%{name}-ref-devel = %{version}-%{release}
-
-%description bind-devel
-boost::bind is a generalization of the standard functions std::bind1st
-and std::bind2nd.
-
-%description bind-devel -l pl
-boost::bind jest uogólnieniem standardowych funkcji std::bind1st i
-std::bind2nd.
-
-%package call_traits-devel
-Summary:	Defines types for passing parameters
-Summary(pl):	Definiowanie typów dla przekazywania parametrów
-Group:		Development/Libraries
-Requires:	%{name}-devel = %{version}-%{release}
-Requires:	%{name}-type_traits-devel = %{version}-%{release}
-
-%description call_traits-devel
-boost::call_traits<T> encapsulates the "best" method to pass a
-parameter of some type T to or from a function. The purpose of
-call_traits is to ensure that problems like "references to references"
-never occur, and that parameters are passed in the most efficient
-manner possible.
-
-%description call_traits-devel -l pl
-boost::call_traits<T> zawiera "najlepszą" metodę przekazywania
-parametrów jakiegoś typu T do lub z funkcji. Celem call_traits jest
-zapewnienie że problemy takie jak "referencja referencji" nigdy nie
-wystąpią i że parametry są przekazywane w możliwie najbardziej
-efektywny sposób.
-
-%package compatibility-devel
-Summary:	Help for non-conforming standard libraries
-Summary(pl):	Pomoc dla nie trzymających standardu bibliotek
-Group:		Development/Libraries
-Requires:	%{name}-devel = %{version}-%{release}
-
-%description compatibility-devel
-This library provides workarounds which allow the other Boost
-libraries to be used on otherwise non-conforming platforms.
-
-%description compatibility-devel -l pl
-Biblioteka dostarcza obejście problemu platform nie trzymających
-standardu C++, pozwalające na używanie bibliotek Boost na tych
-platformach.
-
-%package compose-devel
-Summary:	Functional composition adapters for the STL
-Summary(pl):	Funkcjonalne adaptery kompozycji dla STL
-Group:		Development/Libraries
-Requires:	%{name}-devel = %{version}-%{release}
-
-%description compose-devel
-The boost::compose provides compose function object adapter extensions
-for use with the Standard Template Library (STL) portion of the C++
-Standard Library. If you aren't currently using the STL, this library
-won't be of any interest, but hard-core STL users will appreciate its
-usefulness.
-
-%description compose-devel -l pl
-boost::compose dostarcza rozszerzenie adaptera obiektu funkcji compose
-do użytku z STL-ową częścią Standardu C++. Jeżeli nie używasz STL,
-biblioteka będzie poza twoim zainteresowaniem, lecz hardkorowi
-użytkownicy STL-a docenią jej użyteczność.
-
-%package compressed_pair-devel
-Summary:	Empty member optimization
-Summary(pl):	Optymalizacja pustego elementu
-Group:		Development/Libraries
-Requires:	%{name}-call_traits-devel = %{version}-%{release}
-Requires:	%{name}-devel = %{version}-%{release}
-
-%description compressed_pair-devel
-The class boost::compressed_pair is very similar to std::pair, but if
-either of the template arguments are empty classes, then the "empty
-base-class optimisation" is applied to compress the size of the pair.
-
-%description compressed_pair-devel -l pl
-Klasa boost::compressed_pair jest bardzo podobna do std::pair, ale
-jeżeli któryś z argumentów wzorca jest pustą klasą, wtedy stosowana
-jest "optymalizacja pustej klasy bazowej" do kompresji pary.
-
-%package concept_check-devel
-Summary:	Tools for generic programming
-Summary(pl):	Narzędzia dla programowania generycznego
-Group:		Development/Libraries
-Requires:	%{name}-static_assert-devel = %{version}-%{release}
-Requires:	%{name}-type_traits-devel = %{version}-%{release}
-
-%description concept_check-devel
-The boost::concept_check library provides various tools for generic
-programming.
-
-%description concept_check-devel -l pl
-Biblioteka boost::concept_check dostarcza różne narzędzia dla
-programowania generycznego.
-
-%package conversion-devel
-Summary:	Numeric, polymorphic, and lexical casts
-Summary(pl):	Numeryczne, polimorficzne i leksykalne rzutowania
-Group:		Development/Libraries
-Requires:	%{name}-type_traits-devel = %{version}-%{release}
-
-%description conversion-devel
-The boost::conversion library improves program safety and clarity by
-performing otherwise messy conversions. It includes cast-style
-function templates designed to complement the C++ Standard's built-in
-casts.
-
-%description conversion-devel -l pl
-Biblioteka boost::conversion zwiększa bezpieczeństwo i klarowność
-programu dokonując konwersji które są w innych przypadkach niechlujne.
-Biblioteka zawiera "rzutopodobne" wzorce funkcji uzupełniające
-wbudowane w Standard C++ rzutowania.
-
-%package crc-devel
-Summary:	CRC computing library
-Summary(pl):	Biblioteka obliczająca CRC
-Group:		Development/Libraries
-Requires:	%{name}-devel = %{version}-%{release}
-
-%description crc-devel
-The boost::crc library provides two implementations of CRC computation
-objects and functions. The implementations are template-based.
-
-%description crc-devel -l pl
-Bibliteka boost::crc dostarcza dwie implementacje obiektów i funkcji
-obliczających CRC. Implementacje są oparte na wzorcach.
-
-%package date_time
-Summary:	Date-Time library
-Summary(pl):	Biblioteka daty-czasu
-Group:		Libraries
-Obsoletes:	boost
-
-%description date_time
-A set of date-time libraries.
-
-%description date_time -l pl
-Zbiór bibliotek daty-czasu.
-
-%package date_time-devel
-Summary:	Header files for boost::date_time library
-Summary(pl):	Pliki nagłówkowe dla biblioteki boost::date_time
-Group:		Development/Libraries
-Requires:	%{name}-date_time = %{version}-%{release}
-#TODO: make decision if do separate packages include it to main devel package
-#Requires:	%{name}-operators-devel = %{version}-%{release}
-#Requires:	%{name}-integer-devel = %{version}-%{release}
-#Requires:	%{name}-tokenizer-devel = %{version}-%{release}
-Requires:	%{name}-conversion-devel = %{version}-%{release}
-
-%description date_time-devel
-Header files for boost::date_time library.
-
-%description date_time-devel -l pl
-Pliki nagłówkowe dla biblioteki boost::date_time
-
-%package date_time-static
-Summary:	Static boost::date_time library
-Summary(pl):	Statyczna biblioteka boost::date_time
-Group:		Development/Libraries
-Requires:	%{name}-date_time-devel = %{version}-%{release}
-
-%description date_time-static
-Static boost::date_time library.
-
-%description date_time-devel -l pl
-Statyczna biblioteka boost::date_time.
-
-%package filesystem
-Summary:	Portable paths, iteration over directories, and other useful filesystem operations
-Summary(pl):	Przenośne ścieżki, iteracje katalogów i inne użyteczne operacje na systemie plików
-Group:		Libraries
-Obsoletes:	boost
-
-%description filesystem
-The boost::filesystem library provides portable facilities to query
-and manipulate paths, files, and directories.
-
-%description filesystem -l pl
-Przenośna biblioteka boost::filesystem dostarcza ułatwienia w
-operacjach na ścieżkach, plikach i katalogach.
-
-%package filesystem-devel
-Summary:	Header files for boost::filesystem
-Summary(pl):	Pliki nagłówkowe dla boost::filesystem
-Group:		Development/Libraries
-Requires:	%{name}-devel = %{version}-%{release}
-Requires:	%{name}-filesystem = %{version}-%{release}
-#TODO:
-#Requires:	%{name}-smart_ptr = %{version}-%{release}
-
-%description filesystem-devel
-Header files for boost::filesystem library.
-
-%description filesystem-devel -l pl
-Pliki nagłówkowe dla biblioteki boost::filesystem.
-
-%package filesystem-static
-Summary:	Static boost::filesystem library
-Summary(pl):	Biblioteka statyczna boost::filesystem
-Group:		Development/Libraries
-Requires:	%{name}-filesystem-devel = %{version}-%{release}
-Obsoletes:	boost-static
-
-%description filesystem-static
-Static boost::filesystem library.
-
-%description filesystem-static -l pl
-Biblioteka statyczna boost::filesystem.
-
-%package mem_fn-devel
-Summary:	Generalized binders for member functions
-Summary(pl):	Uogólnione bindery dla metod
-Group:		Development/Libraries
-Requires:	%{name}-bind-devel = %{version}-%{release}
-
-%description mem_fn-devel
-boost::mem_fn is a generalization of the standard functions
-std::mem_fun and std::mem_fun_ref.
-
-%description mem_fn-devel -l pl
-boost::mem_fn jest uogólnieniem standardowych funkcji std::mem_fun i
-std::mem_fun_ref.
-
-%package mpl-devel
-Summary:	Compile-time algorithms, sequences and metafunction classes
-Summary(pl):	Algorytmy czasu kompilacji, sekwencji i klas metafunkcji
-Group:		Development/Libraries
-Requires:	%{name}-devel = %{version}-%{release}
-Requires:	%{name}-preprocessor-devel = %{version}-%{release}
-Requires:	%{name}-type_traits-devel = %{version}-%{release}
-Requires:	%{name}-utility-devel = %{version}-%{release}
-
-%description mpl-devel
-The boost-mpl library is a C++ template metaprogramming framework of
-compile-time algorithms, sequences and metafunction classes.
-
-%description mpl-devel -l pl
-Biblioteka boost-mpl jest szkieletem wzorców C++ dla algorytmów czasu
-kompilacji, sekwencji i klas metafunkcji.
-
-%package program_options
-Summary:	Access to program options, via conventional methods such as command line and config file
-Summary(pl):	Dostęp do opcji programu za pomocą typowych metod, jak linia poleceń i plik konfiguracyjny
-Group:		Libraries
-
-%description program_options
-The program_options library allows program developers to obtain
-program options, that is (name, value) pairs from the user, via
-conventional methods such as command line and config file.
-
-%description program_options -l pl
-Biblioteka program_options umożliwia uzyskanie od użytkownika opcji
-programu, czyli par (nazwa, wartość), za pomocą typowych metod,
-takich jak linia poleceń, czy plik konfiguracyjny.
-
-%package program_options-devel
-Summary:	Header files for boost::program_options
-Summary(pl):	Pliki nagłówkowe dla boost::program_options
-Group:		Development/Libraries
-Requires:	%{name}-devel = %{version}-%{release}
-Requires:	%{name}-program_options = %{version}-%{release}
-
-%description program_options-devel
-Header files for boost::program_options library.
-
-%description program_options-devel -l pl
-Pliki nagłówkowe dla biblioteki boost::program_options.
-
-%package program_options-static
-Summary:	Static boost::program_options library
-Summary(pl):	Biblioteka statyczna boost::program_options
-Group:		Development/Libraries
-Requires:	%{name}-program_options-devel = %{version}-%{release}
-Obsoletes:	boost-static
-
-%description program_options-static
-Static boost::program_options library.
-
-%description program_options-static -l pl
-Biblioteka statyczna boost::program_options.
-
-%package preprocessor-devel
-Summary:	Preprocessor metaprogramming tools including repetition and recursion
-Summary(pl):	Narzędzia metaprogramowania preprocesora razem z repetycją i rekursją
-Group:		Development/Libraries
-Requires:	%{name}-devel = %{version}-%{release}
-
-%description preprocessor-devel
-This library provides preprocessor metaprogramming tools, including
-repetition and recursion.
-
-%description preprocessor-devel -l pl
-Biblioteka udostępnia narzędzia metaprogramowania preprocesora,
-włączając w to repetycje i rekursję.
-
-%package ref-devel
-Summary:	Small library useful for passing references to function templates
-Summary(pl):	Mała biblioteka użyteczna przy przekazywaniu referencji do wzorców funkcji
-Group:		Development/Libraries
-Requires:	%{name}-devel = %{version}-%{release}
-Requires:	%{name}-mpl-devel = %{version}-%{release}
-Requires:	%{name}-utility-devel = %{version}-%{release}
-
-%description ref-devel
-boost::ref library is a small library that is useful for passing
-references to function templates (algorithms) that would usually take
-copies of their arguments.
-
-%description ref-devel -l pl
-Biblioteka boost::ref jest małą biblioteką która jest użyteczna w
-przypadku przekazywania referencji do wzorców funkcji (algorytmów)
-które zazwyczaj biorą kopię swoich argumentów.
-
-%package signals
-Summary:	Signals & slots callback implementation
-Summary(pl):	Implementacja sygnałów i slotów
-Group:		Libraries
-Obsoletes:	boost
-
-%description signals
-The boost::signals library is an implementation of a signals and slots
-system.
-
-%description signals -l pl
-Biblioteka boost::signals jest implementacją systemu sygnałów i
-slotów.
-
-%package signals-devel
-Summary:	Header files for boost::signals library
-Summary(pl):	Pliki nagłówkowe dla biblioteki boost::signals
-Group:		Development/Libraries
-Requires:	%{name}-signals = %{version}-%{release}
-Requires:	%{name}-any-devel = %{version}-%{release}
-#TODO: separate smart_ptr or include to the main devel package
-#Requires:	%{name}-iterator_adaptors-devel = %{version}-%{release}
-#Requires:	%{name}-operators-devel = %{version}-%{release}
-#Requires:	%{name}-smart_ptr-devel = %{version}-%{release}
-Requires:	%{name}-mem_fn-devel = %{version}-%{release}
-Requires:	%{name}-ref-devel = %{version}-%{release}
-Requires:	%{name}-type_traits-devel = %{version}-%{release}
-Requires:	%{name}-utility-devel = %{version}-%{release}
-
-%description signals-devel
-Header files for boost::signals library.
-
-%description signals-devel -l pl
-Pliki nagłówkowe dla biblioteki boost::signals.
-
-%package signals-static
-Summary:	Static library for boost::signals
-Summary(pl):	Biblioteka statyczna dla boost::signals
-Group:		Development/Libraries
-Requires:	%{name}-signals-devel = %{version}-%{release}
-
-%description signals-static
-Static library for boost::signals.
-
-%description signals-static -l pl
-Biblioteka statyczna dla boost::signals.
-
-%package spirit-devel
-Summary:	LL parser framework
-Summary(pl):	Szkielet parsera LL
-Group:		Development/Libraries
-Requires:	%{name}-compressed_pair-devel = %{version}-%{release}
-Requires:	%{name}-ref-devel = %{version}-%{release}
-Requires:	%{name}-regex-devel = %{version}-%{release}
-Requires:	%{name}-static_assert-devel = %{version}-%{release}
-Requires:	%{name}-thread-devel = %{version}-%{release}
-#TODO:
-#?Requires:	%{name}-smart_ptr-devel = %{version}-%{release}
-#?Requires:	%{name}-iterators-devel = %{version}-%{release}
-
-%description spirit-devel
-LL parser framework represents parsers directly as EBNF grammars in
-inlined C++.
-
-%description spirit-devel -l pl
-Szkielet parsera LL reprezentujący parsery jako gramatyki EBNF
-bezpośrednio w kodzie C++.
-
-%package static_assert-devel
-Summary:	Static assertions (compile time assertions)
-Summary(pl):	Statyczne asercje (asercje kompilacyjne)
-Group:		Development/Libraries
-Requires:	%{name}-devel = %{version}-%{release}
-
-%description static_assert-devel
-The header <boost/static_assert.hpp> supplies a single macro
<<Diff was trimmed, longer than 597 lines>>

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/boost.spec?r1=1.56&r2=1.56.2.1&f=u




More information about the pld-cvs-commit mailing list