-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathboost-1.55.0.spec
72 lines (55 loc) · 2.71 KB
/
boost-1.55.0.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#
# spec file for package <PACKAGE_NAME>
#
# Copyright (c) 2013 Mario Giovacchini <[email protected]>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# See http://www.boost.org/doc/libs/1_55_0/more/getting_started/unix-variants.html#prepare-to-use-a-boost-library-binary
Name: boost
Version: 1.55.0
Release: 1%{?dist}
Summary: Boost provides free peer-reviewed portable C++ source libraries
# Should CHANGE this group
Group: Productivity/Scientific/Other
License: Boost
URL: http://www.boost.org
Source: http://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.gz/download
# preferred path (as per http://en.opensuse.org/openSUSE:Specfile_guidelines)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++
#BuildRequires: bzip2-devel # not available for RHEL/CentOS in software.opensuse.org repos
# These are not strictly required but if you want to build Boost-Python it is
BuildRequires: python
BuildRequires: python-devel
%description
Boost provides free peer-reviewed portable C++ source libraries.
We emphasize libraries that work well with the C++ Standard Library. Boost libraries are intended to be widely useful, and usable across a broad spectrum of applications. The Boost license encourages both commercial and non-commercial use.
We aim to establish "existing practice" and provide reference implementations so that Boost libraries are suitable for eventual standardization. Ten Boost libraries are included in the C++ Standards Committee's Library Technical Report (TR1) and in the new C++11 Standard. C++11 also includes several more Boost libraries in addition to those from TR1. More Boost libraries are proposed for TR2.
%prep
%setup -q -n boost_1_55_0
%build
# build b2, bjam
sh bootstrap.sh
%install
rm -rf %{buildroot}
./b2 install --prefix=%{buildroot}%{_prefix} --toolset=gcc architecture=x86 link=static runtime-link=static stage install
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
# /usr/include/boost
%{_includedir}/*
# {_libdir} becomes /usr/lib64 on 64-bit systems but b2 installs under /usr/lib
/usr/lib/*
%changelog
* Wed Dec 4 2013 Mario Giovacchini <[email protected]> - 1.0
- Intial version