diff --git a/jcommon.spec b/jcommon.spec new file mode 100644 index 0000000..7bb722b --- /dev/null +++ b/jcommon.spec @@ -0,0 +1,54 @@ +Name: jcommon +Version: 1.0.23 +Release: 1 +Summary: JFree Java utility classes +License: LGPLv2+ +URL: http://www.jfree.org/jcommon +Source: https://github.com/jfree/jcommon/archive/v1.0.23.tar.gz +BuildRequires: maven-local maven-plugin-bundle sonatype-oss-parent +Requires: java-headless, jpackage-utils +BuildArch: noarch +%description +JCommon is a collection of useful classes used by +JFreeChart, JFreeReport and other projects. + +%package javadoc +Summary: Javadoc for jcommon +Requires: jcommon = %{version}-%{release} jpackage-utils +%description javadoc +Javadoc for jcommon. + +%prep +%setup -q +find . -name "*.jar" -exec rm -f {} \; +MVN_BUNDLE_PLUGIN_EXTRA_XML="true + + + org.jfree.jcommon + Fedora Project + %{version} + + <_nouses>true + + " +%pom_remove_plugin :maven-gpg-plugin +%pom_remove_plugin :nexus-staging-maven-plugin +%pom_remove_plugin :cobertura-maven-plugin +%pom_remove_plugin :maven-site-plugin +%pom_add_plugin org.apache.felix:maven-bundle-plugin . "$MVN_BUNDLE_PLUGIN_EXTRA_XML" +%pom_xpath_set "pom:packaging" "bundle" + +%build +%mvn_build + +%install +%mvn_install + +%files -f .mfiles +%doc LICENSE README.md + +%files javadoc -f .mfiles-javadoc + +%changelog +* Thu Aug 20 2020 yaokai - 1.0.23-1 +- Package init diff --git a/jcommon.yaml b/jcommon.yaml new file mode 100644 index 0000000..56e2d74 --- /dev/null +++ b/jcommon.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: jfree/jcommon +tag_pattern: "^v" +seperator: "." diff --git a/v1.0.23.tar.gz b/v1.0.23.tar.gz new file mode 100644 index 0000000..7ba22fd Binary files /dev/null and b/v1.0.23.tar.gz differ