1 Star 0 Fork 5

李恬/glassfish-fastinfoset

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
glassfish-fastinfoset.spec 2.31 KB
一键复制 编辑 原始数据 按行查看 历史
Name: glassfish-fastinfoset
Version: 1.2.15
Release: 2
Summary: Fast Infoset
License: ASL 2.0
URL: https://fi.java.net
Source0: https://github.com/javaee/metro-fi/archive/refs/tags/1.2.15-RELEASE.tar.gz
Patch0: glassfish-fastinfoset-1.2.12-utilities-FastInfosetWriterSAXBufferProcessor.patch
BuildRequires: maven-local mvn(com.sun.xml.stream.buffer:streambuffer) mvn(com.sun.xsom:xsom)
BuildRequires: mvn(junit:junit) mvn(net.java:jvnet-parent:pom:) mvn(org.apache.felix:maven-bundle-plugin)
BuildArch: noarch
%description
An XML infoset may be serialized to an XML 1.x document as specified by
the Fast Infoset standard, may be serialized to a fast infoset document.
Fast infoset documents are usually smaller in size and faster to parse
and serialize than equivalent XML documents.
%package help
Summary: Javadoc for glassfish-fastinfoset
Provides: glassfish-fastinfoset-javadoc = %{version}-%{release}
Obsoletes: glassfish-fastinfoset-javadoc < %{version}-%{release}
%description help
This package provides help for glassfish-fastinfoset.
%prep
%setup -n metro-fi-%{version}-RELEASE
rm -rf CONTRIBUTING.md
rm -rf FIME
rm -rf Japex
rm -rf JapexXMLDriverLibrary
rm -rf tools
rm -rf xml-data.zip.REMOVED.git-id
mv code/* ./
rm -rf code
%patch 0 -p1
%pom_xpath_remove "pom:build/pom:extensions"
%pom_remove_plugin :findbugs-maven-plugin
%pom_remove_plugin :maven-antrun-extended-plugin
%pom_remove_plugin org.codehaus.mojo:buildnumber-maven-plugin
%pom_disable_module roundtrip-tests
%pom_disable_module samples
%pom_xpath_inject "pom:plugin[pom:artifactId='maven-jar-plugin']/pom:executions" "
<execution>
<id>default-jar</id>
<phase>skip</phase>
</execution>" fastinfoset
%mvn_file :FastInfoset glassfish-fastinfoset
%mvn_file :FastInfosetUtilities glassfish-fastinfoset-utilities
rm -rf fastinfoset/src/main/java/module-info.java
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc copyright.txt LICENSE README.md
%files help -f .mfiles-javadoc
%doc copyright.txt LICENSE README.md
%changelog
* Fri Dec 13 2024 litian <dev11105@linx-info.com> - 1.2.15-2
- fix %patchN is deprecated warning
* Tue Jul 11 2023 Ge Wang <wang__ge@126.com> - 1.2.15-1
- Update to version 1.2.15
* Sat Jun 20 2020 wangchong <wangchong56@huawei.com> - 1.2.13-11
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/litian_code/glassfish-fastinfoset.git
git@gitee.com:litian_code/glassfish-fastinfoset.git
litian_code
glassfish-fastinfoset
glassfish-fastinfoset
master

搜索帮助