File bazel-rules-android.spec of Package bazel-rules-android
#
# spec file for package bazel-rules-android
#
# Copyright (c) 2021 SUSE Software Solutions Germany 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/
#
%define src_install_dir /usr/src/%{name}
Name: bazel-rules-android
Version: 0.1.1
Release: 0
Summary: Bazel rules for Android
Group: Development/Tools/Building
License: Apache-2.0
Url: https://github.com/bazelbuild/rules_android
Source0: https://github.com/bazelbuild/rules_android/archive/v%{version}.tar.gz#/rules_android-%{version}.tar.gz
Source1: %{name}-rpmlintrc
BuildRequires: fdupes
BuildArch: noarch
%description
Bazel rules to build software for Android.
%package source
Summary: Source code of bazel-rules-android
Group: Development/Sources
%description source
Bazel rules to build software for Android.
This package contains source code of bazel-rules-android.
%prep
%setup -q -n rules_android-%{version}
%build
%install
mkdir -p %{buildroot}%{src_install_dir}
cp -R * %{buildroot}%{src_install_dir}
fdupes %{buildroot}%{src_install_dir}
%files source
%license LICENSE
%doc README.md
%{src_install_dir}
%changelog