diff --git a/streambuffer-1.5.4.tar.gz b/streambuffer-1.5.4.tar.gz new file mode 100644 index 0000000..901b03d Binary files /dev/null and b/streambuffer-1.5.4.tar.gz differ diff --git a/xmlstreambuffer.spec b/xmlstreambuffer.spec new file mode 100644 index 0000000..2a214af --- /dev/null +++ b/xmlstreambuffer.spec @@ -0,0 +1,48 @@ +Name: xmlstreambuffer +Version: 1.5.4 +Release: 1 +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 +* Sat Aug 22 2020 liyanan - 1.5.4-1 +- package init diff --git a/xmlstreambuffer.yaml b/xmlstreambuffer.yaml new file mode 100644 index 0000000..aca90ea --- /dev/null +++ b/xmlstreambuffer.yaml @@ -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: "."