12 Star 0 Fork 3

src-openEuler / nodejsporter
关闭

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
nodejsporter.spec 1.53 KB
一键复制 编辑 原始数据 按行查看 历史
吴磊磊 提交于 2021-06-16 09:27 +08:00 . fixes failed: No module named setuptools
Name: nodejsporter
Version: 1.0
Release: 2
Summary: A rpm packager bot for nodejs modules from npmjs.org
License: Mulan PSL v2
URL: https://gitee.com/openeuler/nodejsporter
Source0: https://gitee.com/openeuler/rubyporter/repository/archive/v%{version}.tar.gz
BuildArch: noarch
BuildRequires: nodejs python3-setuptools
Requires: gcc gdb libstdc++-devel python3-cffi nodejs
%description
nodejsporter is a tool to create spec file and create rpm for nodejs modules.
%package -n python3-nodejsporter
Summary: A rpm packager bot for nodejs modules from npmjs.org
%description -n python3-nodejsporter
nodejsporter is a tool to create spec file and create rpm for nodejs modules.
%prep
%autosetup -n nodejsporter -p1
%build
%py3_build
%install
%py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
pushd %{buildroot}
if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
fi
popd
mv %{buildroot}/filelist.lst .
%files -n python3-nodejsporter -f filelist.lst
%license LICENSE
%doc README.md
%dir %{python3_sitelib}/*
%changelog
* Wed Jun 16 2021 wulei <wulei80@huawei.com> - 1.0-2
- fixes failed: No module named 'setuptools'
* Wed Nov 4 2020 sunchendong<sunchendong@huawei.com> -1.0-1
- Type:NA
- ID:NA
- SUG:NA
- DESC:init package
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/nodejsporter.git
git@gitee.com:src-openeuler/nodejsporter.git
src-openeuler
nodejsporter
nodejsporter
openEuler-25.03

搜索帮助