# # spec file for package jetty-test-policy # # 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: jetty-test-policy Version: 1.2 Release: 0 Summary: Jetty test policy files License: Apache-2.0 OR EPL-1.0 Group: Development/Libraries/Java URL: https://www.eclipse.org/jetty/ Source0: %{name}-%{version}.tar.xz Source2: http://www.eclipse.org/legal/epl-v10.html Source3: http://www.apache.org/licenses/LICENSE-2.0.txt BuildRequires: fdupes BuildRequires: maven-local BuildRequires: mvn(org.apache.maven.plugins:maven-jarsigner-plugin) BuildRequires: mvn(org.eclipse.jetty.toolchain:jetty-toolchain:pom:) BuildArch: noarch %description Jetty test policy files %package javadoc Summary: API documentation for %{name} Group: Documentation/HTML %description javadoc This package provides %{summary}. %prep %setup -q cp -p %{SOURCE2} %{SOURCE3} . %pom_remove_plugin :maven-jar-plugin %build %{mvn_build} -f %install %mvn_install %fdupes -s %{buildroot}%{_javadocdir} %files -f .mfiles %license epl-v10.html LICENSE-2.0.txt %files javadoc -f .mfiles-javadoc %license epl-v10.html LICENSE-2.0.txt %changelog