代码拉取完成,页面将自动刷新
Name: zxing
Version: 3.5.3
Release: 2
Summary: Java multi-format 1D/2D bar-code image processing library
License: ASL 2.0
URL: https://github.com/zxing/zxing/
Source0: https://github.com/zxing/zxing/archive/refs/tags/%{name}-%{version}.tar.gz
Patch1: backport-Fix-SYMBOLOGY_IDENTIFIER-loss-in-QRCodeMultiReader.patch
BuildRequires: maven-local mvn(com.beust:jcommander) mvn(junit:junit)
BuildRequires: mvn(biz.aQute.bnd:bnd-maven-plugin)
Provides: bundled(barcode4j)
BuildArch: noarch
%description
ZXing ("zebra crossing") is an open-source,
multi-format 1D/2D bar-code image processing library
implemented in Java, with ports to other languages.
%package javase
Summary: ZXing Java SE extensions
%description javase
Java SE-specific extensions to core ZXing library.
%package parent
Summary: ZXing Parent POM
%description parent
This package provides ZXing Parent POM.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains javadoc for %{name}.
%prep
%setup -q -n %{name}-%{name}-%{version}
%patch1 -p1
%pom_remove_dep com.google.android:
%pom_remove_dep :android-core
%pom_remove_dep :android-integration
%pom_remove_dep com.github.jai-imageio:jai-imageio-core javase/pom.xml
%pom_disable_module android-core
%pom_disable_module android-integration
%pom_disable_module android
%pom_disable_module zxing.appspot.com
%pom_disable_module zxingorg
%pom_remove_plugin -r :maven-site-plugin
%pom_remove_plugin -r :maven-source-plugin
%pom_remove_plugin -r :maven-javadoc-plugin
%pom_remove_plugin -r :maven-dependency-plugin
%pom_remove_plugin -r :maven-release-plugin
%pom_remove_plugin -r :maven-checkstyle-plugin
%pom_remove_plugin -r :maven-enforcer-plugin
%pom_remove_plugin -r :apache-rat-plugin
%pom_remove_plugin -r :clirr-maven-plugin
%pom_remove_plugin -r :android-maven-plugin
rm -r javase/src/test/java/com/google/zxing/client/j2se/MatrixToImageWriterTestCase.java
%build
%mvn_build -s
%install
%mvn_install
%files -f .mfiles-core
%doc AUTHORS CHANGES README.md
%license LICENSE NOTICE
%files javase -f .mfiles-javase
%license LICENSE NOTICE
%files parent -f .mfiles-zxing-parent
%license LICENSE NOTICE
%files javadoc -f .mfiles-javadoc
%license LICENSE NOTICE
%changelog
* Tue Aug 6 2024 zhangxingrong <[email protected]> - 3.5.3-2
- Fix SYMBOLOGY_IDENTIFIER Loss in QRCodeMultiReader to Ensure Data Integrity and Functional Consistency with QRCodeReader
* Mon Mar 11 2024 Ge Wang <[email protected]> - 3.5.3-1
- update to version 3.5.3
* Wed Dec 27 2023 Ge Wang <[email protected]> - 3.5.1-1
- update to version 3.5.1
* Thu Aug 20 2020 maminjie <[email protected]> - 3.2.1-1
- package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。