mirror of
https://github.com/boostorg/build.git
synced 2026-02-19 14:22:10 +00:00
* changed boost-jam-3.1.3.src.tar.gz to boost-jam-3.1.3.tar.bz
* Added a variable RPMARCH to Jamfile.
* remove the .tar.gz and .tar.bz2 before recreating them. gzip asks for
confirmation otherwise, bzip2 just dies.
* Get rid of hardcoded /usr/src/redhat/... as it's a) distribution-specific
and b) a user can override the build root to use.
[SVN r15916]
50 lines
1.2 KiB
RPMSpec
50 lines
1.2 KiB
RPMSpec
Name: boost-jam
|
|
Version: 3.1.3
|
|
Summary: Build tool
|
|
Release: 1
|
|
Source: boost-jam-%{version}.tar.bz2
|
|
|
|
License: GPL
|
|
Group: Development/Tools
|
|
URL: http://www.boost.org
|
|
Packager: Vladimir Prus <ghost@cs.msu.su>
|
|
BuildRoot: /var/tmp/boost-jam-%{version}.root
|
|
|
|
%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.
|
|
|
|
Authors:
|
|
Perforce Jam : Cristopher Seiwald
|
|
FT Jam : David Turner
|
|
Boost Jam : David Abrahams
|
|
|
|
%prep
|
|
%setup -n boost-jam-%{version}
|
|
|
|
%build
|
|
YACC="" LOCATE_TARGET=bin make
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
|
mkdir -p $RPM_BUILD_ROOT%{_docdir}/boost-jam
|
|
install -m 755 bin/jam $RPM_BUILD_ROOT%{_bindir}/jam
|
|
ln -sf jam $RPM_BUILD_ROOT%{_bindir}/bjam
|
|
install -m 644 Jam.html Jambase.html Jamfile.html README RELNOTES INSTALL \
|
|
$RPM_BUILD_ROOT%{_docdir}/boost-jam
|
|
|
|
find $RPM_BUILD_ROOT -name CVS -type d -depth -exec rm -r {} \;
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%attr(755,root,root) /usr/bin/*
|
|
%doc %{_docdir}/boost-jam
|
|
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|