]> git.pld-linux.org Git - packages/boost-jam.git/blob - boost-jam.spec
- 3.1.18
[packages/boost-jam.git] / boost-jam.spec
1 Summary:        Boost Jam - build tool
2 Summary(pl.UTF-8):      Boost Jam - narzędzie do budowania
3 Name:           boost-jam
4 Version:        3.1.18
5 Release:        1
6 License:        BSD-like
7 Group:          Development/Tools
8 Source0:        http://downloads.sourceforge.net/boost/%{name}-%{version}.tgz
9 # Source0-md5:  f790e022d658db38db5cc4aeeccad3f1
10 URL:            http://www.boost.org/
11 BuildRequires:  docbook-dtd41-sgml
12 BuildRequires:  docbook-utils
13 BuildRequires:  perl-base
14 BuildRequires:  sgml-tools
15 Provides:       jam
16 Obsoletes:      jam
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Boost Jam is a build tool based on FTJam, which in turn is based on
21 Perforce Jam. It contains significant improvements made to facilitate
22 its use in the Boost Build System, but should be backward compatible
23 with Perforce Jam.
24
25 %description -l pl.UTF-8
26 Boost Jam jest narzędziem służącym do budowania, opartym o FTJam,
27 który jest dla odmiany oparty na Perforce Jam. Zawiera znaczące
28 usprawnienia wprowadzone dla ułatwienia użycia w Boost Build System,
29 ale powinien być wstecznie kompatybilny z Perforce Jam.
30
31 %prep
32 %setup -q
33
34 %{__perl} -pi -e 's/-s -O /%{rpmldflags} /' build.jam
35 # CFLAGS must be given in this way to avoid incorrect "" argument when building
36 %{__perl} -pi -e 's/\$\(CFLAGS\)/%{rpmcflags}/' build.jam
37
38 %build
39 CC="%{__cc}" \
40 LOCATE_TARGET=bin \
41 ./build.sh cc -d2
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT%{_bindir}
46
47 install bin/bjam $RPM_BUILD_ROOT%{_bindir}/bjam-%{version}
48 ln -sf bjam-%{version} $RPM_BUILD_ROOT%{_bindir}/bjam
49 ln -sf bjam-%{version} $RPM_BUILD_ROOT%{_bindir}/jam
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc jam LICENSE_1_0.txt index.html images boost.png boostbook.css
57 %attr(755,root,root) %{_bindir}/*
This page took 0.137111 seconds and 4 git commands to generate.