# # spec file for package ognl # # Copyright (c) 2025 SUSE LLC and contributors # # 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: ognl Version: 3.4.7 Release: 0 Summary: Object-Graph Navigation Language License: Apache-2.0 Group: Development/Libraries/Java URL: https://reload4j.qos.ch/ Source0: %{name}-%{version}.tar.xz BuildRequires: fdupes BuildRequires: maven-local BuildRequires: mvn(org.apache.maven.surefire:surefire-junit47) BuildRequires: mvn(org.codehaus.mojo:javacc-maven-plugin) BuildRequires: mvn(org.javassist:javassist) Obsoletes: apache-commons-ognl BuildArch: noarch %description OGNL stands for Object-Graph Navigation Language; it is an expression language for getting and setting properties of Java objects. You use the same expression for both getting and setting the value of a property. %package javadoc Summary: Javadoc for %{name} Group: Documentation/HTML %description javadoc This package contains the API documentation for %{name}. %prep %setup -q %pom_remove_parent %pom_remove_plugin :maven-javadoc-plugin %build %{mvn_build} -f %install %mvn_install %files -f .mfiles %license LICENSE.txt %doc README.md %files javadoc -f .mfiles-javadoc %changelog