diff --git a/jopt-simple-5.0.4.tar.gz b/jopt-simple-5.0.4.tar.gz new file mode 100644 index 0000000..b9e41c5 Binary files /dev/null and b/jopt-simple-5.0.4.tar.gz differ diff --git a/jopt-simple.spec b/jopt-simple.spec new file mode 100644 index 0000000..8a04b9b --- /dev/null +++ b/jopt-simple.spec @@ -0,0 +1,46 @@ +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 help +Summary: Javadoc for %{name} +Provides: %{name}-javadoc = %{version}-%{release} +Obsoletes: %{name}-javadoc < %{version}-%{release} +%description help +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 help -f .mfiles-javadoc +%license LICENSE.txt + +%changelog +* Mon Aug 24 2020 liyanan - 5.0.4-1 +- package init diff --git a/jopt-simple.yaml b/jopt-simple.yaml new file mode 100644 index 0000000..22964de --- /dev/null +++ b/jopt-simple.yaml @@ -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: "."