52 lines
1.9 KiB
RPMSpec
52 lines
1.9 KiB
RPMSpec
Name: xmlstreambuffer
|
|
Version: 1.5.4
|
|
Release: 2
|
|
Summary: XML Stream Buffer
|
|
License: CDDL-1.1 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 13 2024 wulei <wu_lei@hoperun.com> - 1.5.4-2
|
|
- Regulate license information
|
|
|
|
* Sat Aug 22 2020 liyanan <liyanan32@huawei.com> - 1.5.4-1
|
|
- package init
|