Sha256: 286a6024547895870270365fe3fefc4f23dc49ea3a0aa132229f9e946043beda

Contents?: true

Size: 1.98 KB

Versions: 15

Compression:

Stored size: 1.98 KB

Contents

#
# spec file for gjp kit for project "<%= name %>"
#
# Copyright (c) <%= Time.now.year %> <%= Etc.getlogin %>
#
# 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/
#

Name:           <%= name %>-kit
Version:        <%= version %>
Release:        1
License:        Apache-2.0
Summary:        Build-time dependencies for gjp project <%= name %>
Url:            https://github.com/SilvioMoioli/gjp
Group:          Development/Libraries/Java
<% archives.each_with_index do |archive, i| %>
Source<%= i %>:        <%= archive %>
<% end %>
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
BuildRequires:  xz
BuildRequires:  fdupes
Provides:       gjp(kit)
# no two kits should ever be installed at any given time
Conflicts:      otherproviders(gjp(kit))

%description
This package has been automatically created by gjp in order to
satisfy build time dependencies of some Java packages. It should
not be used except for rebuilding those packages and it should never
be installed on end users' systems.

%prep
<% (0..(archives.length-1)).each do |i| %>
<% if i > 0 %>
%setup -q -c -T -D -b <%= i %>
<% else %>
%setup -q -c -T -b <%= i %>
<% end %>
<% end %>

%build
# nothing to do, gjp kits are precompiled by design

%install
install -d -m 0755 %{buildroot}%{_datadir}/gjp/%{name}/
cp -a * %{buildroot}%{_datadir}/gjp/%{name}/
%fdupes -s %{buildroot}%{_datadir}/gjp/%{name}/

%files
%defattr(-,root,root)
%{_datadir}/gjp/

%changelog

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
gjp-0.36.0 lib/template/kit.spec
gjp-0.35.0 lib/template/kit.spec
gjp-0.34.0 lib/template/kit.spec
gjp-0.33.0 lib/template/kit.spec
gjp-0.32.0 lib/template/kit.spec
gjp-0.31.0 lib/template/kit.spec
gjp-0.30.0 lib/template/kit.spec
gjp-0.29.0 lib/template/kit.spec
gjp-0.28.0 lib/template/kit.spec
gjp-0.27.0 lib/template/kit.spec
gjp-0.26.0 lib/template/kit.spec
gjp-0.25.0 lib/template/kit.spec
gjp-0.24.0 lib/template/kit.spec
gjp-0.23.0 lib/template/kit.spec
gjp-0.22.0 lib/template/kit.spec