package created using the webbuild interface [release 1.22.10-1mamba;Sun Mar 28 2021]
This commit is contained in:
parent
cc5af0cee3
commit
1d075a5265
46
yarn.spec
Normal file
46
yarn.spec
Normal 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
|
Loading…
Reference in New Issue
Block a user