Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Staging:A
ninja
ninja.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ninja.spec of Package ninja
# # spec file for package ninja # # Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: ninja Version: 1.10.0 Release: 0 Summary: A small build system closest in spirit to Make License: Apache-2.0 Group: Development/Tools/Building URL: https://ninja-build.org/ Source0: https://github.com/ninja-build/ninja/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: macros.ninja Patch1: ninja-disable-maxprocs-test.patch BuildRequires: gcc-c++ BuildRequires: python3-base BuildRequires: re2c %description Ninja is yet another build system. It takes as input the interdependencies of files (typically source code and output executables) and orchestrates building them, quickly. %prep %autosetup -p0 %build export CFLAGS="%{optflags}" export CXXFLAGS="%{optflags}" python3 ./configure.py --bootstrap --verbose %install install -D -p -m 0755 ninja %{buildroot}%{_bindir}/ninja install -D -p -m 0644 misc/zsh-completion %{buildroot}%{_datadir}/zsh/site-functions/_ninja install -D -p -m 0644 misc/ninja.vim %{buildroot}%{_datadir}/vim/site/syntax/ninja.vim install -D -p -m 0644 misc/bash-completion %{buildroot}%{_datadir}/bash-completion/completions/ninja install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_rpmconfigdir}/macros.d/macros.ninja %check ./ninja all ./ninja_test python3 ./misc/ninja_syntax_test.py python3 ./misc/output_test.py %files %license COPYING %{_bindir}/ninja %{_datadir}/bash-completion %{_datadir}/vim %{_datadir}/zsh %{_rpmconfigdir}/macros.d/macros.ninja %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor