This repo contains software to build linux from scratch and package it into rpm files.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

43 lines
1.8 KiB

#TARBALL: https://github.com/ninja-build/ninja/archive/v1.10.0/ninja-1.10.0.tar.gz
#MD5SUM: cf1d964113a171da42a8940e7607e71a;SOURCES/ninja-1.10.0.tar.gz
#-----------------------------------------------------------------------------
Summary: Ninja is a small build system with a focus on speed.
Name: ninja
Version: 1.10.0
Release: 1
License: Any
URL: Any
Group: LFS/Base
Source: %{name}-%{version}.tar.gz
Requires: filesystem
%description
Ninja is a small build system with a focus on speed.
#-----------------------------------------------------------------------------
%prep
%setup -q -n %{NAME}-%{VERSION}
%build
python3 configure.py --bootstrap
%install
install -vdm 755 %{buildroot}/usr/bin/
install -vDm644 ninja %{buildroot}/usr/bin/
install -vDm644 misc/bash-completion %{buildroot}/usr/share/bash-completion/completions/ninja
install -vDm644 misc/zsh-completion %{buildroot}/usr/share/zsh/site-functions/_ninja
#-----------------------------------------------------------------------------
# Copy license/copying file
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.list
%defattr(-,root,root)
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 1.10.0-1
* Sat Apr 06 2019 baho-utot <baho-utot@columbus.rr.com> 1.9.0-1
- LFS-8.4
* Wed Jul 25 2018 baho-utot <baho-utot@columbus.rr.com> 1.8.2-1
- Initial build. First version