Initial import (#1992757).
This commit is contained in:
parent
c4b143264e
commit
208908a17f
3 changed files with 51 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
/xmlpull-xpp3-parent-1.2.0.tar.gz
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
SHA512 (xmlpull-xpp3-parent-1.2.0.tar.gz) = 6d3494033ee7f2df22c28d38a1197ba9e42de3f7de068fa786c4789c10d82c04170007bd6f2e45f27d671ce3468cef75a58fe9349135cacd7e48b2353f0d49d9
|
||||
49
xmlpull.spec
Normal file
49
xmlpull.spec
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
Name: xmlpull
|
||||
Version: 1.2.0
|
||||
Release: 1%{?dist}
|
||||
Summary: XML Pull Parsing API
|
||||
|
||||
License: Public Domain
|
||||
URL: https://github.com/xmlpull-xpp3/%{name}-xpp3
|
||||
Source0: %{url}/archive/%{name}-xpp3-parent-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
|
||||
BuildRequires: mvn(junit:junit)
|
||||
|
||||
%description
|
||||
XmlPull v1 API is a simple to use XML pull parsing API that was
|
||||
designed for simplicity and very good performance both in constrained
|
||||
environment such as defined by J2ME and on server side when used in
|
||||
J2EE application servers.
|
||||
|
||||
%javadoc_package
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-xpp3-%{name}-xpp3-parent-%{version}
|
||||
|
||||
find \( -name \*.jar -o -name \*.class \) -delete
|
||||
|
||||
%pom_disable_module xpp3_min
|
||||
|
||||
# using java 8, we need to remove the java module
|
||||
rm xmlpull/src/main/java/module-info.java
|
||||
|
||||
%mvn_package :%{name}-xpp3-parent __noinstall
|
||||
|
||||
%build
|
||||
%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files -f .mfiles
|
||||
%license %{name}/LICENSE.txt
|
||||
%doc %{name}/README.adoc
|
||||
|
||||
%changelog
|
||||
* Wed Aug 11 2021 Didik Supriadi <didiksupriadi41@gmail.com> - 1.2.0-1
|
||||
- Initial package
|
||||
Loading…
Add table
Add a link
Reference in a new issue