package init
This commit is contained in:
parent
fb79250971
commit
2594f549a7
40
BareBonesBrowserLaunch.spec
Normal file
40
BareBonesBrowserLaunch.spec
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
Name: BareBonesBrowserLaunch
|
||||||
|
Version: 3.1
|
||||||
|
Release: 1
|
||||||
|
Summary: Simple library to launch a browser window from Java
|
||||||
|
License: Public Domain
|
||||||
|
URL: http://www.centerkey.com/java/browser/
|
||||||
|
Source0: https://src.fedoraproject.org/lookaside/extras/BareBonesBrowserLaunch/bare-bones-browser-launch-3.1.jar/bd5d43408d485b120da6cf0f9fae5dcd/bare-bones-browser-launch-3.1.jar
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: java-devel javapackages-local
|
||||||
|
%description
|
||||||
|
Utility class to open a web page from a Swing application in the user's
|
||||||
|
default browser. Supports: Mac OS X, GNU/Linux, Unix, Windows XP
|
||||||
|
|
||||||
|
%package javadoc
|
||||||
|
Summary: Javadoc for %{name}
|
||||||
|
%description javadoc
|
||||||
|
This package contains the API documentation for %{name}
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -c
|
||||||
|
find * -name *.class -delete
|
||||||
|
rm -rf doc/*
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{javac} com/centerkey/utils/BareBonesBrowserLaunch.java
|
||||||
|
%{jar} -cf %{name}.jar com/centerkey/utils/BareBonesBrowserLaunch.class
|
||||||
|
%{javadoc} -encoding UTF-8 -d doc com/centerkey/utils/BareBonesBrowserLaunch.java -windowtitle "%{name} %{version}"
|
||||||
|
|
||||||
|
%install
|
||||||
|
%mvn_artifact com.centerkey.utils:%{name}:%{version} %{name}.jar
|
||||||
|
%mvn_file com.centerkey.utils:%{name} %{name}
|
||||||
|
%mvn_install -J doc
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
|
||||||
|
%files javadoc -f .mfiles-javadoc
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Aug 4 2020 shaoqiang kang <kangshaoqiang1@huawei.com> - 3.1-1
|
||||||
|
- Package init
|
||||||
4
BareBonesBrowserLaunch.yaml
Normal file
4
BareBonesBrowserLaunch.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: NA
|
||||||
|
src_repo: NA
|
||||||
|
tag_prefix: NA
|
||||||
|
seperator: NA
|
||||||
BIN
bare-bones-browser-launch-3.1.jar
Normal file
BIN
bare-bones-browser-launch-3.1.jar
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user