Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:alvistack
ninja-build-ninja-1.12.1
ninja-build_1.12.1-1.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ninja-build_1.12.1-1.spec of Package ninja-build-ninja-1.12.1
# Copyright 2024 Wong Hoi Sing Edison <hswong3i@pantarei-design.com> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. %global debug_package %{nil} %global source_date_epoch_from_changelog 0 Name: ninja-build Epoch: 100 Version: 1.12.1 Release: 1%{?dist} Summary: Small build system with a focus on speed License: Apache-2.0 URL: https://github.com/ninja-build/ninja/tags Source0: %{name}_%{version}.orig.tar.gz BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: python-rpm-macros BuildRequires: python3-devel BuildRequires: re2c >= 0.11.3 %description Ninja is a small build system with a focus on speed. It differs from other build systems in two major respects: it is designed to have its input files generated by a higher-level build system, and it is designed to run builds as fast as possible. %prep %autosetup -T -c -n %{name}_%{version}-%{release} tar -zx -f %{S:0} --strip-components=1 -C . %build python3 configure.py --bootstrap --verbose ./ninja -v all %install install -Dpm755 -d %{buildroot}%{_bindir} install -Dpm0755 ninja -t %{buildroot}%{_bindir}/ install -Dpm0644 misc/bash-completion %{buildroot}%{_datadir}/bash-completion/completions/ninja install -Dpm0644 misc/ninja-mode.el %{buildroot}%{_datadir}/emacs/site-lisp/ninja-mode.el install -Dpm0644 misc/ninja.vim %{buildroot}%{_datadir}/vim/vimfiles/syntax/ninja.vim install -Dpm0644 misc/zsh-completion %{buildroot}%{_datadir}/zsh/site-functions/_ninja install -Dpm0644 misc/ninja_syntax.py %{buildroot}%{python3_sitelib}/ninja_syntax.py install -Dpm0644 macros.ninja %{buildroot}%{_rpmconfigdir}/macros.d/macros.ninja ln -s ninja %{buildroot}%{_bindir}/ninja-build find %{buildroot}%{python3_sitelib} -type f -name '*.pyc' -exec rm -rf {} \; fdupes -qnrps %{buildroot}%{python3_sitelib} %check %if 0%{?suse_version} > 1500 || 0%{?sle_version} > 150000 %package -n ninja Summary: Small build system with a focus on speed %description -n ninja Ninja is a small build system with a focus on speed. It differs from other build systems in two major respects: it is designed to have its input files generated by a higher-level build system, and it is designed to run builds as fast as possible. %files -n ninja %license COPYING %doc README.md %dir %{_datadir}/vim %dir %{_datadir}/vim/vimfiles %dir %{_datadir}/vim/vimfiles/syntax %dir %{_datadir}/zsh %dir %{_datadir}/zsh/site-functions %{_bindir}/ninja %{_bindir}/ninja-build %{_datadir}/bash-completion/completions/ninja %{_datadir}/emacs/site-lisp/ninja-mode.el %{_datadir}/vim/vimfiles/syntax/ninja.vim %{_datadir}/zsh/site-functions/_ninja %{_rpmconfigdir}/macros.d/macros.ninja %{python3_sitelib}/* %endif %if !(0%{?suse_version} > 1500) && !(0%{?sle_version} > 150000) %files %license COPYING %doc README.md %dir %{_datadir}/vim %dir %{_datadir}/vim/vimfiles %dir %{_datadir}/vim/vimfiles/syntax %dir %{_datadir}/zsh %dir %{_datadir}/zsh/site-functions %{_bindir}/ninja %{_bindir}/ninja-build %{_datadir}/bash-completion/completions/ninja %{_datadir}/emacs/site-lisp/ninja-mode.el %{_datadir}/vim/vimfiles/syntax/ninja.vim %{_datadir}/zsh/site-functions/_ninja %{_rpmconfigdir}/macros.d/macros.ninja %{python3_sitelib}/* %endif %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