Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Java:packages
mvel2
mvel2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mvel2.spec of Package mvel2
# # spec file for package mvel2 # # 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: mvel2 Version: 2.5.2 Release: 0 Summary: MVEL (MVFLEX Expression Language) License: Apache-2.0 AND BSD-3-Clause Group: Development/Libraries/Java URL: http://mvel.documentnode.com/ Source0: https://github.com/mvel/mvel/archive/refs/tags/%{name}-%{version}.Final.tar.gz Patch0: 00-fix-samples.patch Patch1: reproducible-date.patch BuildRequires: fdupes BuildRequires: maven-local BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildArch: noarch %description MVEL has largely been inspired by Java syntax, but has some fundamental differences aimed at making it more efficient as an expression language, such as operators that directly support collection, array and string matching, as well as regular expressions. MVEL is used to evaluate expressions written using Java syntax. In addition to the expression language, MVEL serves as a templating language for configuration and string construction. Another wiki page for a summary information is: https://en.wikipedia.org/wiki/MVEL. %package javadoc Summary: API documentation for %{name} Group: Documentation/HTML %description javadoc API documentation for %{name} %prep %setup -q -n mvel-%{name}-%{version}.Final %patch -P 0 -p1 %patch -P 1 -p1 rm -rf lib/ sed -i -e 's/\r//' samples/scripts/line{Child,TopLevel}.mvel %pom_remove_plugin :maven-source-plugin %pom_remove_plugin :maven-shade-plugin %pom_remove_plugin :maven-enforcer-plugin %pom_xpath_remove 'pom:build/pom:extensions' %{mvn_file} : %{name} %build %{mvn_build} -f -- \ -Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) \ -Dsource=8 %install %mvn_install %fdupes %{buildroot}%{_javadocdir}/%{name} %jpackage_script org.mvel2.sh.Main "" "" %{name}:objectweb-asm %{name} true %files -f .mfiles %license *LICENSE.txt %doc samples/scripts %{_bindir}/%{name} %files javadoc -f .mfiles-javadoc %license *LICENSE.txt %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor