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