commit
951c8eda55
54
jcommon.spec
Normal file
54
jcommon.spec
Normal file
@ -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="<extensions>true</extensions>
|
||||||
|
<configuration>
|
||||||
|
<instructions>
|
||||||
|
<Bundle-SymbolicName>org.jfree.jcommon</Bundle-SymbolicName>
|
||||||
|
<Bundle-Vendor>Fedora Project</Bundle-Vendor>
|
||||||
|
<Bundle-Version>%{version}</Bundle-Version>
|
||||||
|
<!-- Do not autogenerate uses clauses in Manifests -->
|
||||||
|
<_nouses>true</_nouses>
|
||||||
|
</instructions>
|
||||||
|
</configuration>"
|
||||||
|
%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 <yaokai13@huawei.com> - 1.0.23-1
|
||||||
|
- Package init
|
||||||
4
jcommon.yaml
Normal file
4
jcommon.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: jfree/jcommon
|
||||||
|
tag_pattern: "^v"
|
||||||
|
seperator: "."
|
||||||
BIN
v1.0.23.tar.gz
Normal file
BIN
v1.0.23.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user