Blame SPECS/ninja-build.spec

0782da
Name:           ninja-build
0782da
Version:        1.8.2
0782da
Release:        1%{?dist}
0782da
Summary:        A small build system with a focus on speed
0782da
License:        ASL 2.0
0782da
URL:            http://martine.github.com/ninja/
0782da
Source0:        https://github.com/martine/ninja/archive/v%{version}/ninja-%{version}.tar.gz
0782da
Source1:        ninja.vim
0782da
Source2:        macros.ninja
0782da
BuildRequires:  gcc-c++
0782da
%if 0%{?rhel} && 0%{?rhel} <= 7
0782da
BuildRequires:  python2-devel
0782da
%else
0782da
BuildRequires:  python3-devel
0782da
%endif
0782da
BuildRequires:  asciidoc
0782da
BuildRequires:  gtest-devel
0782da
BuildRequires:  re2c >= 0.11.3
0782da
Requires:       emacs-filesystem
0782da
Requires:       vim-filesystem
0782da
0782da
%description
0782da
Ninja is a small build system with a focus on speed. It differs from other
0782da
build systems in two major respects: it is designed to have its input files
0782da
generated by a higher-level build system, and it is designed to run builds as
0782da
fast as possible.
0782da
0782da
%prep
0782da
%autosetup -n ninja-%{version} -p1
0782da
0782da
%build
0782da
CFLAGS="%{optflags}" LDFLAGS="%{?__global_ldflags}" \
0782da
%if 0%{?rhel} && 0%{?rhel} <= 7
0782da
%{__python2} \
0782da
%else
0782da
%{__python3} \
0782da
%endif
0782da
  configure.py --bootstrap --verbose
0782da
./ninja -v all
0782da
./ninja -v manual
0782da
0782da
%install
0782da
# TODO: Install ninja_syntax.py?
0782da
install -Dpm0755 ninja -t %{buildroot}%{_bindir}/
0782da
install -Dpm0644 misc/bash-completion %{buildroot}%{_datadir}/bash-completion/completions/ninja
0782da
install -Dpm0644 misc/ninja-mode.el %{buildroot}%{_datadir}/emacs/site-lisp/ninja-mode.el
0782da
install -Dpm0644 misc/ninja.vim %{buildroot}%{_datadir}/vim/vimfiles/syntax/ninja.vim
0782da
install -Dpm0644 %{S:1} %{buildroot}%{_datadir}/vim/vimfiles/ftdetect/ninja.vim
0782da
install -Dpm0644 misc/zsh-completion %{buildroot}%{_datadir}/zsh/site-functions/_ninja
0782da
install -Dpm0644 %{S:2} %{buildroot}%{rpmmacrodir}/macros.ninja
0782da
0782da
ln -s ninja %{buildroot}%{_bindir}/ninja-build
0782da
0782da
%check
0782da
./ninja_test --gtest_filter=-SubprocessTest.SetWithLots
0782da
0782da
%files
0782da
%license COPYING
0782da
%doc HACKING.md README doc/manual.html
0782da
%{_bindir}/ninja
0782da
%{_bindir}/ninja-build
0782da
%{_datadir}/bash-completion/completions/ninja
0782da
%{_datadir}/emacs/site-lisp/ninja-mode.el
0782da
%{_datadir}/vim/vimfiles/syntax/ninja.vim
0782da
%{_datadir}/vim/vimfiles/ftdetect/ninja.vim
0782da
# zsh does not have a -filesystem package
0782da
%{_datadir}/zsh/
0782da
%{rpmmacrodir}/macros.ninja
0782da
0782da
%changelog
0782da
* Tue Sep 12 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.8.2-1
0782da
- Update to 1.8.2
0782da
0782da
* Thu Sep 07 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.8.1-1
0782da
- Update to 1.8.1
0782da
0782da
* Sat Sep 02 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.8.0-1
0782da
- Update to 1.8.0
0782da
0782da
* Tue Aug 01 2017 Kalev Lember <klember@redhat.com> - 1.7.2-6
0782da
- Backport an upstream patch to handle ostree setting 0 mtime
0782da
0782da
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-5
0782da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
0782da
0782da
* Fri Apr 21 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.7.2-4
0782da
- Rename main executable to ninja (#1166135)
0782da
  (compatibility symlink is added)
0782da
0782da
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-3
0782da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
0782da
0782da
* Sat Dec 03 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.7.2-2
0782da
- Add EPEL hacks
0782da
0782da
* Mon Nov 28 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.7.2-1
0782da
- Update to 1.7.2
0782da
0782da
* Mon Oct 10 2016 Igor Gnatenko <ignatenko@redhat.com> - 1.7.1-3
0782da
- Fix install ninja.vim
0782da
0782da
* Sat Oct 08 2016 Igor Gnatenko <ignatenko@redhat.com> - 1.7.1-2
0782da
- Add RPM macro
0782da
0782da
* Sat Jul 23 2016 Ben Boeckel <mathstuf@gmail.com> - 1.7.1-1
0782da
- update to 1.7.1
0782da
- fix bash completion for the binary rename (#1352330)
0782da
- disable test which fails to koji rlimit settings
0782da
0782da
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-3
0782da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
0782da
0782da
* Mon Nov 16 2015 Ben Boeckel <mathstuf@gmail.com> - 1.6.0-2
0782da
- Add patch to rename mentions of the binary name
0782da
0782da
* Sun Jul 19 2015 Ben Boeckel <mathstuf@gmail.com> - 1.6.0-1
0782da
- Update to 1.6.0
0782da
0782da
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.3-4
0782da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0782da
0782da
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.5.3-3
0782da
- Rebuilt for GCC 5 C++11 ABI change
0782da
0782da
* Sun Feb 08 2015 Ben Boeckel <mathstuf@gmail.com> - 1.5.3-2
0782da
- Update bash-completions location
0782da
0782da
* Wed Dec 10 2014 Ben Boeckel <mathstuf@gmail.com> - 1.5.3-1
0782da
- Update to 1.5.3
0782da
0782da
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.1-2
0782da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
0782da
0782da
* Tue Aug 05 2014 Christopher Meng <rpm@cicku.me> - 1.5.1-1
0782da
- Update to 1.5.1
0782da
0782da
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-2
0782da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
0782da
0782da
* Wed Nov 20 2013 Ben Boeckel <mathstuf@gmail.com> - 1.4.0-1
0782da
- Update to 1.4.0
0782da
0782da
* Sun Nov  3 2013 Ville Skyttä <ville.skytta@iki.fi> - 1.3.4-4
0782da
- Use special %%doc to install all docs (#994005).
0782da
0782da
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.4-3
0782da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
0782da
0782da
* Fri Jun 21 2013 Dan Horák <dan[at]danny.cz> - 1.3.4-2
0782da
- workaround possible too low limits for number of processes and open files,
0782da
  fixes build on ppc/ppc64 and s390(x)
0782da
0782da
* Sun Jun 09 2013 Ben Boeckel <mathstuf@gmail.com> - 1.3.4-1
0782da
- Update to 1.3.4
0782da
- Run test suite
0782da
0782da
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
0782da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0782da
0782da
* Sun Nov 04 2012 Ben Boeckel <mathstuf@gmail.com> - 1.0.0-1
0782da
- Update to 1.0.0
0782da
0782da
* Thu Jul 19 2012 Ben Boeckel <mathstuf@gmail.com> - 0-0.6.20120719git5dc55a3
0782da
- Update to new snapshot
0782da
0782da
* Mon Jul 09 2012 Ben Boeckel <mathstuf@gmail.com> - 0-0.5.20120709gitb90d038
0782da
- Preserve timestamps on install
0782da
- Install as ninja-build to avoid conflicts with the ninja IRC package
0782da
- Update snapshot
0782da
0782da
* Tue Jun 19 2012 Ben Boeckel <mathstuf@gmail.com> - 0-0.4.20120605git54553d3
0782da
- Add an ftdetect file for ninja
0782da
- Fix zsh-stuff directory ownership
0782da
0782da
* Thu Jun 07 2012 Ben Boeckel <mathstuf@gmail.com> - 0-0.3.20120605git54553d3
0782da
- Add a Group tag
0782da
0782da
* Tue Jun 05 2012 Ben Boeckel <mathstuf@gmail.com> - 0-0.2.20120605git54553d3
0782da
- Update to new snapshot
0782da
0782da
* Fri Mar 30 2012 Ben Boeckel <mathstuf@gmail.com> - 0-0.1.20120330gitabd33d5
0782da
- Initial package