Summary: Boost Jam - build tool Summary(pl.UTF-8): Boost Jam - narzędzie do budowania Name: boost-jam Version: 3.1.17 Release: 1 License: BSD-like Group: Development/Tools Source0: http://dl.sourceforge.net/boost/%{name}-%{version}.tgz # Source0-md5: f4afd896788f2327fd35c128ddc6e340 URL: http://www.boost.org/ BuildRequires: docbook-dtd41-sgml BuildRequires: docbook-utils BuildRequires: perl-base BuildRequires: sgml-tools Provides: jam Obsoletes: jam BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Boost Jam is a build tool based on FTJam, which in turn is based on Perforce Jam. It contains significant improvements made to facilitate its use in the Boost Build System, but should be backward compatible with Perforce Jam. %description -l pl.UTF-8 Boost Jam jest narzędziem służącym do budowania, opartym o FTJam, który jest dla odmiany oparty na Perforce Jam. Zawiera znaczące usprawnienia wprowadzone dla ułatwienia użycia w Boost Build System, ale powinien być wstecznie kompatybilny z Perforce Jam. %prep %setup -q %{__perl} -pi -e 's/-s -O /%{rpmldflags} /' build.jam # CFLAGS must be given in this way to avoid incorrect "" argument when building %{__perl} -pi -e 's/\$\(CFLAGS\)/%{rpmcflags}/' build.jam %build CC="%{__cc}" \ LOCATE_TARGET=bin \ ./build.sh cc -d2 %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_bindir} install bin/bjam $RPM_BUILD_ROOT%{_bindir}/bjam-%{version} ln -sf bjam-%{version} $RPM_BUILD_ROOT%{_bindir}/bjam ln -sf bjam-%{version} $RPM_BUILD_ROOT%{_bindir}/jam %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc jam LICENSE_1_0.txt index.html images boost.png boostbook.css %attr(755,root,root) %{_bindir}/*