# # spec file for package spark-core # # Copyright (c) 2022 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: spark-core Version: 2.9.3 Release: 0 Summary: A simple expressive web framework for java License: Apache-2.0 Group: Development/Libraries/Java URL: https://sparkjava.com/ Source: https://github.com/perwendel/spark/archive/refs/tags/%{version}.tar.gz BuildRequires: fdupes BuildRequires: maven-local BuildRequires: mvn(org.eclipse.jetty.websocket:websocket-server) BuildRequires: mvn(org.eclipse.jetty.websocket:websocket-servlet) BuildRequires: mvn(org.eclipse.jetty:jetty-server) BuildRequires: mvn(org.eclipse.jetty:jetty-webapp) BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) BuildArch: noarch %description Spark Framework is a simple and expressive Java/Kotlin web framework DSL built for rapid development. Sparks intention is to provide an alternative for Kotlin/Java developers that want to develop their web applications as expressive as possible and with minimal boilerplate. With a clear philosophy Spark is designed not only to make you more productive, but also to make your code better under the influence of Spark’s sleek, declarative and expressive syntax. %package javadoc Summary: API documentation for %{name} Group: Documentation/HTML %description javadoc API documentation for %{name}. %prep %setup -q -n spark-%{version} %pom_xpath_remove pom:packaging %pom_remove_plugin org.apache.felix:maven-bundle-plugin %pom_remove_plugin :maven-enforcer-plugin %{mvn_file} : spark/%{name} %build %{mvn_build} -f %install %mvn_install %fdupes %{buildroot}/%{_javadocdir}/%{name} %files -f .mfiles %license LICENSE NOTICE %doc README.md %files javadoc -f .mfiles-javadoc %license LICENSE NOTICE %changelog