package init

This commit is contained in:
zhanghua1831 2020-08-19 09:45:19 +08:00
parent eecda5a9f6
commit 69fb13afba
3 changed files with 45 additions and 0 deletions

BIN
joda-convert-1.9.2.tar.gz Normal file

Binary file not shown.

41
joda-convert.spec Normal file
View File

@ -0,0 +1,41 @@
Name: joda-convert
Version: 1.9.2
Release: 1
Summary: Java library for conversion to and from standard string formats
License: ASL 2.0
URL: https://github.com/JodaOrg/joda-convert/
BuildArch: noarch
Source0: https://github.com/JodaOrg/joda-convert/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: maven-local mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
%description
Java library to enable conversion to and from standard string formats.
%package javadoc
Summary: API documentation for %{name}
%description javadoc
This package contains the %{summary}.
%prep
%setup -q
%mvn_file : %{name}
sed -i s/\r// *.txt
%pom_remove_plugin :maven-checkstyle-plugin
%pom_remove_plugin :maven-source-plugin
%pom_remove_plugin :maven-javadoc-plugin
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc LICENSE.txt NOTICE.txt RELEASE-NOTES.txt
%files javadoc -f .mfiles-javadoc
%doc LICENSE.txt NOTICE.txt
%changelog
* Wed Jul 29 2020 zhanghua <zhanghua40@huawei.com> - 1.9.2-1
- package init

4
joda-convert.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: JodaOrg/joda-convert
tag_pattern: "^v"
seperator: "."