# # spec file for package nashorn # # 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: proxy-vole Version: 1.0.16 Release: 0 Summary: Java library to auto detect platform network proxy settings License: Apache-2.0 Group: Development/Libraries/Java URL: https://github.com/akuhtz/proxy-vole Source0: %{name}-%{version}.tar.xz BuildRequires: maven-local fdupes BuildRequires: mvn(net.java.dev.jna:jna) BuildRequires: mvn(net.java.dev.jna:jna-platform) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.ini4j:ini4j) BuildRequires: mvn(org.javadelight:delight-rhino-sandbox) BuildRequires: mvn(org.mozilla:rhino-runtime) BuildRequires: mvn(org.slf4j:slf4j-api) BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) BuildArch: noarch %description Proxy Vole is a Java library to auto detect the platform network proxy settings. It provides some proxy setting search strategies to read the proxy settings from the system config (Windows, KDE, Gnome, OSX), browser config (Firefox, IE) or environment variables and provides you an ready to use proxy selector. %package javadoc Summary: Javadoc for %{name} Group: Documentation/HTML %description javadoc This package contains the API documentation for %{name}. %prep %setup -q %pom_remove_plugin :maven-assembly-plugin %pom_remove_dep :junit-bom %mvn_alias org.bidib.com.github.markusbernhardt: com.github.markusbernhardt: %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 -s %{buildroot}%{_javadocdir} %files -f .mfiles %license LICENSE.md NOTICE.md %doc README.md %files javadoc -f .mfiles-javadoc %license LICENSE.md NOTICE.md %changelog