56 lines
1.6 KiB
RPMSpec
56 lines
1.6 KiB
RPMSpec
#
|
|
# spec file for package OpenSearch-kit
|
|
#
|
|
# Copyright (c) 2021 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: opensearch-kit
|
|
Version: 1.2.4
|
|
Release: 0
|
|
Summary: Build-time dependency of project "opensearch"
|
|
# prevent package from landing on distribution
|
|
License: SUSE-NonFree
|
|
Group: Development/Libraries/Java
|
|
URL: https://build.opensuse.org
|
|
Source0: %{name}.tar.xz
|
|
Source1: %{name}-rpmlintrc
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: fdupes
|
|
BuildRequires: xz
|
|
|
|
%description
|
|
This package provides build time dependencies of Java packages.
|
|
|
|
It should not be used except for rebuilding other packages,
|
|
thus it should never be installed on end users' systems.
|
|
|
|
%prep
|
|
|
|
%build
|
|
# nothing to do, precompiled by design
|
|
|
|
%install
|
|
export NO_BRP_CHECK_BYTECODE_VERSION=true
|
|
install -d -m 0755 %{buildroot}%{_datadir}/tetra/
|
|
(cd %{buildroot}%{_datadir}/tetra; tar xf %{S:0})
|
|
%fdupes -s %{buildroot}%{_datadir}/tetra/
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_datadir}/tetra/
|
|
|
|
%changelog
|