diff options
author | CoprDistGit <infra@openeuler.org> | 2025-09-08 12:41:38 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-09-08 12:41:38 +0000 |
commit | dee80f3b5155a0d651f52c5d1be3ccf1a507590c (patch) | |
tree | e6f921713b0aad8ce52ebd11be6210176d0271f7 | |
parent | 1bce42c380e132f7db77a48c437ae8980ef6d2ef (diff) |
automatic import of UNTopeneuler22.03_LTS_SP4
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | UNT.spec | 62 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 64 insertions, 0 deletions
@@ -0,0 +1 @@ +/UNT-v1.0.tar.gz diff --git a/UNT.spec b/UNT.spec new file mode 100644 index 0000000..0a09e74 --- /dev/null +++ b/UNT.spec @@ -0,0 +1,62 @@ +Name: UNT +Version: 1.0 +Release: 7 +Summary: UDF native tool +License: MulanPSL-2.0 +URL: https://gitee.com/openeuler/UNT.git +Source0: https://gitee.com/openeuler/UNT/repository/archive/%{name}-v%{version}.tar.gz +BuildRequires: maven +BuildArch: noarch + +%description +UDF native tool can convert java code to native code, +and then compile native code to native binary. + +%prep +%setup -q -n %{name} + +%build +mvn package + +%install +mkdir -p %{buildroot}/opt/udf-trans-opt/ +mkdir -p %{buildroot}/usr/bin +tar -zxf %_builddir/%{name}/unt-translator/target/unt-translator-1.0-bin.tar.gz -C %{buildroot}/opt/udf-trans-opt/ +install -m 0640 %_builddir/%{name}/unt-scanner/target/unt-scanner-1.0-bin.jar %{buildroot}/opt/udf-trans-opt/ +install -m 0550 %_builddir/%{name}/script/native_udf.py %{buildroot}/usr/bin + +%clean +rm -rf %{buildroot} + +%postun +rm -rf /opt/udf-trans-opt/udf-translator +rm -rf /opt/udf-trans-opt/unt-scanner-1.0-bin.jar +rm -rf /usr/bin/native_udf.py + +%files +%defattr(-,root,root) +%attr(0640,root,root) /opt/udf-trans-opt/udf-translator/* +%attr(0640,root,root) /opt/udf-trans-opt/unt-scanner-1.0-bin.jar +%attr(0550,root,root) /usr/bin/native_udf.py + +%changelog +* Mon Jun 16 2025 liuchang <liuchang291@h-partners.com> - 1.0-7 +- fix array to enhance performance and ut of array init to current version + +* Thu Jun 12 2025 yuyufeng <yuyufeng1@huawei.com> - 1.0-6 +- fix native_udf.py bug, add support for primitive type Array and add ut + +* Sat May 31 2025 yuyufeng <yuyufeng1@huawei.com> - 1.0-5 +- add exception throw when translator fail and fix ignoreMethod expection bug + +* Wed May 28 2025 yuyufeng <yuyufeng1@huawei.com> - 1.0-4 +- clean code and improve string interface + +* Thu May 22 2025 yuyufeng <yuyufeng1@huawei.com> - 1.0-3 +- improve %postun files remove + +* Thu May 22 2025 yuyufeng <yuyufeng1@huawei.com> - 1.0-2 +- add test and change log path + +* Tue May 20 2025 hejingxian <hejingxian@huawei.com> - 1.0-1 +- package init @@ -0,0 +1 @@ +ae14cd281228273f6600d510a24ff3cf UNT-v1.0.tar.gz |