Files
netty-resource-transformers/netty-resource-transformers.spec

61 lines
1.6 KiB
RPMSpec

#
# spec file for package jackson-dataformat-xml
#
# Copyright (c) 2024 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: netty-resource-transformers
Version: 0.0.0
Release: 0
Summary: Maven Shade Transformers of Netty resources
License: Apache-2.0
URL: https://github.com/fridrich/netty-resource-transformers
Source0: %{name}-%{version}.tar.xz
BuildRequires: fdupes
BuildRequires: maven-local
BuildRequires: mvn(commons-io:commons-io)
BuildRequires: mvn(org.apache.maven.plugins:maven-shade-plugin)
BuildArch: noarch
%description
Provides utilities to use with Apache Maven Shade plugin.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains API documentation for %{name}.
%prep
%setup -q
%pom_remove_plugin :maven-javadoc-plugin
%build
%{mvn_build} -f
%install
%mvn_install
%fdupes -s %{buildroot}%{_javadocdir}
%files -f .mfiles
%doc README.md
%license LICENSE
%files javadoc -f .mfiles-javadoc
%license LICENSE
%changelog