From 1d075a52655391329905c5545734f25120733563 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 20:00:11 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.22.10-1mamba;Sun Mar 28 2021] --- README.md | 2 ++ yarn.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 yarn.spec diff --git a/README.md b/README.md index c1405c4..6236da2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # yarn +Fast, reliable, and secure dependency managemen. + diff --git a/yarn.spec b/yarn.spec new file mode 100644 index 0000000..a1d5537 --- /dev/null +++ b/yarn.spec @@ -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 +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 1.22.10-1mamba +- package created using the webbuild interface