Package init

This commit is contained in:
lyn1001 2020-08-12 20:07:40 +08:00
parent 0b8285fcb5
commit 5e9ee208ee
3 changed files with 49 additions and 0 deletions

BIN
jopt-simple-5.0.4.tar.gz Normal file

Binary file not shown.

44
jopt-simple.spec Normal file
View File

@ -0,0 +1,44 @@
Name: jopt-simple
Version: 5.0.4
Release: 1
Summary: A Java command line parser
License: MIT
URL: http://jopt-simple.github.io/jopt-simple
BuildArch: noarch
Source0: https://github.com/jopt-simple/jopt-simple/archive/jopt-simple-%{version}.tar.gz
BuildRequires: maven-local mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
%description
JOpt Simple is a Java library for parsing command line options, such as those
you might pass to an invocation of javac.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n jopt-simple-jopt-simple-%{version}
%pom_xpath_remove "pom:build/pom:extensions"
%pom_remove_dep org.infinitest:continuous-testing-toolkit
%pom_remove_plugin org.pitest:pitest-maven
%pom_remove_plugin org.codehaus.mojo:cobertura-maven-plugin
%pom_remove_plugin org.apache.maven.plugins:maven-pmd-plugin
%pom_remove_plugin :animal-sniffer-maven-plugin
%build
%mvn_build -f
%install
%mvn_install
%files -f .mfiles
%license LICENSE.txt
%files javadoc -f .mfiles-javadoc
%license LICENSE.txt
%changelog
* Sat Aug 1 2020 yanan li <liyanan032@huawei.com> - 5.0.4-1
- Package init

5
jopt-simple.yaml Normal file
View File

@ -0,0 +1,5 @@
git_url: https://github.com/jopt-simple/jopt-simple.git
version_control: github
src_repo: jopt-simple/jopt-simple
tag_prefix: "jopt-simple-"
seperator: "."