File vesalainen-bcc.spec of Package vesalainen-bcc
#
# spec file for package vesalainen-bcc
#
# Copyright (c) 2023 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/
#
%global git_hash 8bfbb30
Name: vesalainen-bcc
Version: 1.1.5
Release: 0
Summary: Java Bytecode compiler
License: GPL-3.0
Group: Development/Libraries/Java
URL: https://github.com/tvesalainen/bcc/
Source0: %{url}/tarball/%{git_hash}#/%{name}-%{version}.tar.gz
BuildRequires: maven-local
BuildArch: noarch
%description
Java Bytecode compiler.
%package javadoc
Summary: API documentation for %{name}
Group: Documentation/HTML
%description javadoc
API documentation for %{name}.
%prep
%setup -q -n tvesalainen-bcc-%{git_hash}
%pom_remove_parent
%mvn_file : vesalainen/bcc
%build
%{mvn_build} -f
%install
%mvn_install
%files -f .mfiles
%license LICENSE.txt
%doc README.md
%files javadoc -f .mfiles-javadoc
%license LICENSE.txt
%changelog