4 Summary: An Enhanced Make Replacement
6 Group: Development/Tools/Building
7 Source: %{name}-%{version}.tar.xz
8 # From http://boost.cvs.sourceforge.net/boost/boost/tools/jam/test/:
10 Url: http://www.boost.org/
14 Boost Jam is a build tool based on FTJam, which in turn is based on
15 Perforce Jam. It contains significant improvements made to facilitate
16 its use in the Boost Build System, but should be backward compatible
21 find . -type f|xargs chmod -R u+w
24 export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wall -fno-strict-aliasing"
25 export CFLAGS="$RPM_OPT_FLAGS"
26 LOCATE_TARGET=bin ./build.sh gcc --symbols
27 # Trivial test: -- Documented used of bjam -v: Print the version of jam and exit:
32 ln -s %{name}-%{version} src
34 sh test.sh || if [ $? -gt 5 ]; then sh test.sh;fi
37 mkdir -p %{buildroot}%{_bindir}
38 mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
39 install -m 755 bin/bjam %{buildroot}%{_bindir}/bjam-%{version}
40 ln -sf bjam-%{version} %{buildroot}%{_bindir}/bjam
41 ln -sf bjam-%{version} %{buildroot}%{_bindir}/jam
45 %attr(755,root,root) %{_bindir}/*