Mageia Bugzilla – Attachment 11197 Details for
Bug 24029
yarn - A fast, reliable, and secure dependency management for nodejs/npm
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
New proposal spec file
yarn.spec (text/x-rpm-spec), 1.58 KB, created by
Kristoffer Grundström
on 2019-07-18 00:06:32 CEST
(
hide
)
Description:
New proposal spec file
Filename:
MIME Type:
Creator:
Kristoffer Grundström
Created:
2019-07-18 00:06:32 CEST
Size:
1.58 KB
patch
obsolete
>%define nodejs_libdir %{_prefix}/lib/node_modules/npm/node_modules > >Summary: Fast, reliable, and secure node dependency management >Name: yarn >Version: 1.17.3 >Release: %mkrel 1 >License: BSD >Group: Development/Tools >Url: https://yarnpkg.com/ >Source0: https://github.com/yarnpkg/yarn/releases/download/%{version}/%{name}-%{version}.tar.gz >Requires: gcc-c++ >Requires: nodejs >BuildArch: noarch > >%description >Fast, reliable, and secure dependency management. Yarn: Fast, >reliable, and secure dependency management. > >Fast: Yarn caches every package it downloads so it never needs to >again. It also parallelizes operations to maximize resource >utilization so install times are faster than ever. > >Reliable: Using a detailed, but concise, lockfile format, and a >deterministic algorithm for installs, Yarn is able to guarantee that >an install that worked on one system will work exactly the same way on >any other system. > >Secure: Yarn uses checksums to verify the integrity of every installed >package before its code is executed. > >%files >%doc LICENSE >%{_bindir}/yarn >%{_bindir}/yarnpkg >%{nodejs_libdir}/%{name} > >#---------------------------------------------------------------------------- > >%prep >%setup -q -n %{name}-%{version} > >rm bin/*.cmd >rm bin/yarn >rm bin/yarnpkg > >%build > >%install >mkdir -p %{buildroot}%{_bindir} >mkdir -p %{buildroot}%{nodejs_libdir}/%{name} >ln -s %{nodejs_libdir}/%{name}/bin/%{name}.js %{buildroot}%{_bindir}/%{name} >ln -s %{name} %{buildroot}%{_bindir}/yarnpkg > >%changelog > >* Thu Jul 17 2019 Kristoffer Grundström <hamnisdude@gmail.com> 1.17.3-1.mga7 >- Ported from Rosa 2016.1 >- Initial release
%define nodejs_libdir %{_prefix}/lib/node_modules/npm/node_modules Summary: Fast, reliable, and secure node dependency management Name: yarn Version: 1.17.3 Release: %mkrel 1 License: BSD Group: Development/Tools Url: https://yarnpkg.com/ Source0: https://github.com/yarnpkg/yarn/releases/download/%{version}/%{name}-%{version}.tar.gz Requires: gcc-c++ Requires: nodejs BuildArch: noarch %description Fast, reliable, and secure dependency management. Yarn: Fast, reliable, and secure dependency management. Fast: Yarn caches every package it downloads so it never needs to again. It also parallelizes operations to maximize resource utilization so install times are faster than ever. Reliable: Using a detailed, but concise, lockfile format, and a deterministic algorithm for installs, Yarn is able to guarantee that an install that worked on one system will work exactly the same way on any other system. Secure: Yarn uses checksums to verify the integrity of every installed package before its code is executed. %files %doc LICENSE %{_bindir}/yarn %{_bindir}/yarnpkg %{nodejs_libdir}/%{name} #---------------------------------------------------------------------------- %prep %setup -q -n %{name}-%{version} rm bin/*.cmd rm bin/yarn rm bin/yarnpkg %build %install mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{nodejs_libdir}/%{name} ln -s %{nodejs_libdir}/%{name}/bin/%{name}.js %{buildroot}%{_bindir}/%{name} ln -s %{name} %{buildroot}%{_bindir}/yarnpkg %changelog * Thu Jul 17 2019 Kristoffer Grundström <hamnisdude@gmail.com> 1.17.3-1.mga7 - Ported from Rosa 2016.1 - Initial release
View Attachment As Raw
Actions:
View
Attachments on
bug 24029
:
10579
|
11197
|
11883
|
12706