代码拉取完成,页面将自动刷新
Name: oeDevPlugin
Version: 1.0.2
Release: 4
Summary: oeDevPlugin is designed for all developers, based on the widely-used IDE VSCode.
License: MulanPSL-2.0
URL: https://gitee.com/openeuler/oeDevPlugin
Source0: %{name}-%{version}.tar.gz
Source1: %{name}-node_modules_extension-Linux-x86_64.tar.gz
Source2: %{name}-node_modules_webview-Linux-x86_64.tar.gz
Source3: %{name}-node_modules_extension-Linux-aarch64.tar.gz
Source4: %{name}-node_modules_webview-Linux-aarch64.tar.gz
Source5: %{name}-node_modules_extension-Linux-riscv64.tar.gz
Source6: %{name}-node_modules_webview-Linux-riscv64.tar.gz
Patch1000: 1000-fix-build-on-riscv64.patch
BuildRequires: nodejs
Requires: vscodium
Requires: oegitext
%description
oeDevPlugin is designed for all developers, based on the widely-used IDE VSCode. It enables developers to quickly participate in openEuler community development by using the VSCode plugin to easily pull code repositories, compile with the AI4C compiler, and invoke EulerMaker with one click. It helps developers seamlessly leverage the openEuler community infrastructure.
%global debug_package %{nil}
%prep
%setup -c -q
%ifarch x86_64
tar -xzf %{SOURCE1} -C .
tar -xzf %{SOURCE2} -C webview-ui
%endif
%ifarch aarch64
tar -xzf %{SOURCE3} -C .
tar -xzf %{SOURCE4} -C webview-ui
%endif
%ifarch riscv64
tar -xzf %{SOURCE5} -C .
%patch 1000 -p1
tar -xzf %{SOURCE6} -C webview-ui
%endif
if [ ! -f LICENSE ]; then
echo "MulanPSL-2.0 license file is missing" >&2
exit 1
fi
%build
npm run build
npm run vscode:prepublish
%install
mkdir -p %{buildroot}%{_datadir}/vscodium/resources/app/extensions/%{name}-%{version}
mkdir -p %{buildroot}%{_datadir}/vscodium/resources/app/extensions/%{name}-%{version}/webview-ui
cp -r out resource package.json README.md README.en.md LICENSE %{buildroot}%{_datadir}/vscodium/resources/app/extensions/%{name}-%{version}
cp -r webview-ui/build %{buildroot}%{_datadir}/vscodium/resources/app/extensions/%{name}-%{version}/webview-ui/build
%files
%license LICENSE
%{_datadir}/vscodium/resources/app/extensions/%{name}-%{version}
%changelog
* Tue Jun 10 2025 wu-donger <wudonger@huawei.com> - 1.0.2-4
- Revise docs formatting guidelines
* Fri Jun 06 2025 misaka00251 <liuxin@iscas.ac.cn> - 1.0.2-3
- Add riscv64 build
* Fri May 30 2025 Li Zixin 2271170409@qq.com - 1.0.2-2
- update docs
* Fri May 16 2025 Liu Wang 1823363429@qq.com - 1.0.2-1
- update release to 1.0.2-1
* Wed Mar 19 2025 2271170409@qq.com - 1.0.1-1
- 修复部分bug
* Fri Mar 14 2025 2271170409@qq.com - 1.0.0-1
- 修复新建PR过程中的bug
* Wed Mar 12 2025 2271170409@qq.com - 0.0.3-1
- 适配vscodium相关
* Wed Feb 26 2025 2271170409@qq.com - 0.0.2-1
- 增加PR相关功能
* Wed Dec 25 2024 gjn_2012@foxmail.com - 0.0.1-1
- Initial RPM release.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。