commit
2b8972dcd3
48
java-xmlbuilder.spec
Normal file
48
java-xmlbuilder.spec
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
Name: java-xmlbuilder
|
||||||
|
Version: 1.1
|
||||||
|
Release: 1
|
||||||
|
Summary: XML Builder Java library for creating XML documents
|
||||||
|
License: ASL 2.0
|
||||||
|
Url: https://github.com/jmurty/java-xmlbuilder
|
||||||
|
Source0: https://github.com/jmurty/java-xmlbuilder/archive/v%{version}.tar.gz
|
||||||
|
BuildRequires: sonatype-oss-parent base64 junit
|
||||||
|
BuildRequires: maven-local maven-enforcer-plugin
|
||||||
|
BuildArch: noarch
|
||||||
|
%description
|
||||||
|
XML Builder is a utility that creates simple XML documents using relatively
|
||||||
|
sparse Java code.
|
||||||
|
It is intended to allow for quick and painless creation of XML documents
|
||||||
|
where you might otherwise be tempted to use concatenated strings, and
|
||||||
|
where you would rather not face the tedium and verbosity of coding with JAXP.
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: Javadoc for %{name}
|
||||||
|
Provides: %{name}-javadoc = %{version}-%{release}
|
||||||
|
Obsoletes: %{name}-javadoc < %{version}-%{release}
|
||||||
|
%description help
|
||||||
|
This package contains javadoc for %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
%pom_remove_plugin :maven-gpg-plugin
|
||||||
|
%pom_remove_plugin :maven-source-plugin
|
||||||
|
%pom_remove_plugin :maven-javadoc-plugin
|
||||||
|
sed -i 's/\r//' LICENSE-2.0.txt
|
||||||
|
%mvn_file :%{name} %{name}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%mvn_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%mvn_install
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
%doc CHANGES.md README.md
|
||||||
|
%license LICENSE-2.0.txt
|
||||||
|
|
||||||
|
%files help -f .mfiles-javadoc
|
||||||
|
%license LICENSE-2.0.txt
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Aug 24 2020 huanghaitao <huanghaitao8@huawei.com> - 1.1-1
|
||||||
|
- package init
|
||||||
1204
java-xmlbuilder.txt
Normal file
1204
java-xmlbuilder.txt
Normal file
File diff suppressed because it is too large
Load Diff
4
java-xmlbuilder.yaml
Normal file
4
java-xmlbuilder.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: jmurty/java-xmlbuilder
|
||||||
|
tag_prefix: "v"
|
||||||
|
seperator: "."
|
||||||
BIN
v1.1.tar.gz
Normal file
BIN
v1.1.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user