xmlstreambuffer/xmlstreambuffer.spec

65 lines
2.1 KiB
RPMSpec
Raw Normal View History

2020-07-07 11:52:37 +08:00
Name: xmlstreambuffer
2024-01-02 09:51:47 +08:00
Version: 1.6.0
2023-05-05 17:08:14 +08:00
Release: 1
2020-07-07 11:52:37 +08:00
Summary: XML Stream Buffer
2022-06-20 03:21:05 +00:00
License: CDDL-1.1 or GPLv2 with exceptions
2020-07-07 11:52:37 +08:00
URL: http://java.net/projects/xmlstreambuffer/
2023-05-05 17:08:14 +08:00
Source0: https://github.com/javaee/metro-xmlstreambuffer/archive/refs/tags/%{version}.tar.gz
2020-07-07 11:52:37 +08:00
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
2023-05-05 17:08:14 +08:00
%autosetup -n metro-xmlstreambuffer-%{version} -p1
cd streambuffer
2024-01-02 09:51:47 +08:00
sed -i '/<release>/d' pom.xml
2020-07-07 11:52:37 +08:00
%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
rm -r test/com/sun/xml/stream/buffer/stax/InscopeNamespaceTest.java
%mvn_file :streambuffer xmlstreambuffer
2023-05-05 17:08:14 +08:00
cd -
2020-07-07 11:52:37 +08:00
%build
2023-05-05 17:08:14 +08:00
cd streambuffer
rm -rf src/module-info.java
%mvn_build --xmvn-javadoc
cd -
2020-07-07 11:52:37 +08:00
%install
2023-05-05 17:08:14 +08:00
cd streambuffer
2020-07-07 11:52:37 +08:00
%mvn_install
2023-05-05 17:08:14 +08:00
cd -
2020-07-07 11:52:37 +08:00
2023-05-05 17:08:14 +08:00
%files -f streambuffer/.mfiles
2020-07-07 11:52:37 +08:00
2023-05-05 17:08:14 +08:00
%files help -f streambuffer/.mfiles-javadoc
2020-07-07 11:52:37 +08:00
%changelog
2024-01-02 09:51:47 +08:00
* Thu Dec 28 2023 Ge Wang <wang__ge@126.com> - 1.6.0-1
- Update to version 1.6.0
2023-05-05 17:08:14 +08:00
* Fri May 05 2023 Ge Wang <wang__ge@126.com> - 1.5.6-1
- Update to version 1.5.6
2022-06-20 03:21:05 +00:00
* Mon Jun 20 2022 Chenyx <chenyixiong3@huawei.com> - 1.5.4-2
- License compliance rectification
2020-08-24 09:20:27 +08:00
* Sat Aug 22 2020 liyanan <liyanan32@huawei.com> - 1.5.4-1
- package init