forked from pool/bazel
Accepting request 556829 from home:mrdocs
- Inital Package 0.8.1 This has bundled libraries, but needs a home while we wait for upstream to fix. OBS-URL: https://build.opensuse.org/request/show/556829 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=1
This commit is contained in:
commit
8c695a9231
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
7
_service
Normal file
7
_service
Normal file
@ -0,0 +1,7 @@
|
||||
<services>
|
||||
<service name="download_url">
|
||||
<param name="host">github.com</param>
|
||||
<param name="protocol">https</param>
|
||||
<param name="path">/bazelbuild/bazel/releases/download/0.8.1/bazel-0.8.1-dist.zip</param>
|
||||
</service>
|
||||
</services>
|
3
_service:download_url:bazel-0.8.1-dist.zip
Normal file
3
_service:download_url:bazel-0.8.1-dist.zip
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dfd0761e0b7e36c1d74c928ad986500c905be5ebcfbc29914d574af1db7218cf
|
||||
size 86002066
|
3
bazel.changes
Normal file
3
bazel.changes
Normal file
@ -0,0 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 12 23:58:01 UTC 2017 - plinnell@opensuse.org
|
||||
- Inital Package 0.8.1
|
72
bazel.spec
Normal file
72
bazel.spec
Normal file
@ -0,0 +1,72 @@
|
||||
# spec file for package bazel
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# 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 http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# they warn against doing this ... :-\
|
||||
%define _disable_source_fetch 0
|
||||
|
||||
Name: bazel
|
||||
Version: 0.8.1
|
||||
Release: 0
|
||||
Summary: Correct, reproducible, and fast builds for everyone.
|
||||
License: Apache License 2.0
|
||||
URL: http://bazel.io/
|
||||
Source0: https://github.com/bazelbuild/bazel/releases/download/%{version}/%{name}-%{version}-dist.zip
|
||||
|
||||
|
||||
BuildRequires: java-1_8_0-openjdk-devel
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: pkgconfig(bash-completion)
|
||||
BuildRequires: python
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: unzip
|
||||
BuildRequires: zip
|
||||
Requires: java-1_8_0-openjdk-devel
|
||||
|
||||
%define bashcompdir %(pkg-config --variable=completionsdir bash-completion 2>/dev/null)
|
||||
|
||||
|
||||
%description
|
||||
Correct, reproducible, and fast builds for everyone.
|
||||
Build and test Java, C++, Android, iOS, Go and a wide
|
||||
variety of other language platforms.
|
||||
|
||||
%prep
|
||||
%setup -q -c -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
CC=gcc
|
||||
CXX=g++
|
||||
./compile.sh
|
||||
./output/bazel build //scripts:bazel-complete.bash
|
||||
./output/bazel shutdown
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}/%{_bindir}
|
||||
mkdir -p %{buildroot}/%{bashcompdir}
|
||||
cp output/bazel %{buildroot}/%{_bindir}
|
||||
#cp bazel-out/local-fastbuild/bin/scripts/bazel-complete.bash %{buildroot}/%{bashcompdir}/bazel
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%attr(0755,root,root)
|
||||
%{_bindir}/bazel
|
||||
#%%{bashcompdir}/bazel
|
||||
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user