Package init
This commit is contained in:
parent
41d038e0b6
commit
f2a726cac2
BIN
streambuffer-1.5.4.tar.gz
Normal file
BIN
streambuffer-1.5.4.tar.gz
Normal file
Binary file not shown.
48
xmlstreambuffer.spec
Normal file
48
xmlstreambuffer.spec
Normal file
@ -0,0 +1,48 @@
|
||||
Name: xmlstreambuffer
|
||||
Version: 1.5.4
|
||||
Release: 9
|
||||
Summary: XML Stream Buffer
|
||||
License: CDDL or GPLv2 with exceptions
|
||||
URL: http://java.net/projects/xmlstreambuffer/
|
||||
Source0: https://github.com/javaee/metro-xmlstreambuffer/archive/streambuffer-%{version}.tar.gz
|
||||
BuildRequires: jvnet-parent maven-local maven-enforcer-plugin maven-plugin-bundle
|
||||
BuildRequires: maven-surefire-provider-junit stax-ex >= 1.7.1 junit woodstox-core
|
||||
BuildArch: noarch
|
||||
%description
|
||||
This project defines a stream-based representation,a stream buffer
|
||||
,of an XML infoset in JAVA and mechanisms to create and processs
|
||||
stream buffers using standard XML APIs. Supports SAX and StAX.
|
||||
|
||||
%package help
|
||||
Summary: man files for xmlstreambuffer
|
||||
Provides: xmlstreambuffer-javadoc = %{version}-%{release}
|
||||
Obsoletes: xmlstreambuffer-javadoc < %{version}-%{release}
|
||||
%description help
|
||||
This package contains of man files for xmlstreambuffer.
|
||||
|
||||
%prep
|
||||
%autosetup -n metro-xmlstreambuffer-streambuffer-%{version} -p1
|
||||
%pom_remove_plugin :maven-deploy-plugin
|
||||
%pom_remove_plugin :maven-source-plugin
|
||||
%pom_remove_plugin :findbugs-maven-plugin
|
||||
%pom_remove_plugin :glassfish-copyright-maven-plugin
|
||||
%pom_remove_plugin :cobertura-maven-plugin
|
||||
%pom_remove_plugin :buildnumber-maven-plugin
|
||||
%pom_remove_plugin :maven-enforcer-plugin
|
||||
%pom_xpath_set "pom:dependency[pom:groupId = 'org.codehaus.woodstox']/pom:artifactId" woodstox-core-asl
|
||||
rm -r test/com/sun/xml/stream/buffer/stax/InscopeNamespaceTest.java
|
||||
%mvn_file :streambuffer xmlstreambuffer
|
||||
|
||||
%build
|
||||
%mvn_build
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files -f .mfiles
|
||||
|
||||
%files help -f .mfiles-javadoc
|
||||
|
||||
%changelog
|
||||
* Thu Jun 4 2020 yanan li <liyanan032@huawei.com> - 1.5.4-9
|
||||
- Package init
|
||||
5
xmlstreambuffer.yaml
Normal file
5
xmlstreambuffer.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
git_url: https://github.com/javaee/metro-xmlstreambuffer.git
|
||||
version_control: github
|
||||
src_repo: javaee/metro-xmlstreambuffer
|
||||
tag_prefix: "streambuffer-"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user