package created using the webbuild interface [release 1.22.10-1mamba;Sun Mar 28 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 20:00:11 +01:00
parent cc5af0cee3
commit 1d075a5265
2 changed files with 48 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# yarn
Fast, reliable, and secure dependency managemen.

46
yarn.spec Normal file
View File

@ -0,0 +1,46 @@
Name: yarn
Version: 1.22.10
Release: 1mamba
Summary: Fast, reliable, and secure dependency management
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/yarnpkg/yarn
Source: https://github.com/yarnpkg/yarn/releases/download/v%{version}/yarn-v%{version}.tar.gz
License: BSD
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
Requires: nodejs
%description
Fast, reliable, and secure dependency managemen.
%prep
%setup -q -n yarn-v%{version}
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -dm755 %{buildroot}%{_prefix}/lib/node_modules/yarn
cp -R * %{buildroot}%{_prefix}/lib/node_modules/yarn
install -dm755 %{buildroot}%{_bindir}
ln -s ../lib/node_modules/yarn/bin/yarn.js %{buildroot}%{_bindir}/yarn
ln -s ../lib/node_modules/yarn/bin/yarn.js %{buildroot}%{_bindir}/yarnpkg
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/yarn
%{_bindir}/yarnpkg
%dir %{_prefix}/lib/node_modules/yarn
%{_prefix}/lib/node_modules/yarn/*
%doc LICENSE
%changelog
* Sun Mar 28 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.22.10-1mamba
- package created using the webbuild interface