6 Star 0 Fork 9

src-openEuler/nodejs-clean-css

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
nodejs-clean-css.spec 1.49 KB
一键复制 编辑 原始数据 按行查看 历史
吴磊磊 提交于 2023-10-30 10:59 . Update to 5.3.2
%{?nodejs_find_provides_and_requires}
%global enable_tests 0
%global barename clean-css
Name: nodejs-clean-css
Version: 5.3.2
Release: 1
Summary: A well-tested CSS minifier
License: MIT
URL: https://www.npmjs.org/package/clean-css
Source0: http://registry.npmjs.org/clean-css/-/clean-css-%{version}.tgz
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
BuildRequires: nodejs-packaging >= 6
%if 0%{?enable_tests}
BuildRequires: npm(browserify) npm(http-proxy) npm(nock) npm(jshint) npm(server-destroy)
BuildRequires: npm(uglify-js) npm(vows)
%endif
%description
Clean-css is a fast and efficient [Node.js](http://nodejs.org/) library for
minifying CSS files.
%prep
%setup -q -n package
rm -rf node_modules/
%nodejs_fixdep commander
%nodejs_fixdep source-map "^0.5.2"
%build
%install
mkdir -p %{buildroot}%{nodejs_sitelib}/clean-css
cp -pr package.json lib index.js \
%{buildroot}%{nodejs_sitelib}/clean-css
%nodejs_symlink_deps
%check
%if 0%{?enable_tests}
%nodejs_symlink_deps --check
vows
%endif
%files
%doc README.md History.md
%license LICENSE
%{nodejs_sitelib}/clean-css/
%changelog
* Mon Oct 30 2023 wulei <wu_lei@hoperun.com> - 5.3.2-1
- Update to 5.3.2
* Tue Aug 29 2023 xu_ping <707078654@qq.com> - 5.3.1-2
- Remove unuse code
* Sat Jan 7 2023 wenchaofan <349464272@qq.com> - 5.3.1-1
- Upgrade 5.3.1
* Tue Aug 18 2020 leiju <leiju4@huawei.com> - 3.4.6-1
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/nodejs-clean-css.git
git@gitee.com:src-openeuler/nodejs-clean-css.git
src-openeuler
nodejs-clean-css
nodejs-clean-css
master

搜索帮助