From 2a775099cf8f47806676b3a95b8cd30799c1289d Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 20:24:27 +0100 Subject: [PATCH] package created using the webbuild interface [release 7.3.3-1mamba;Fri Feb 22 2019] --- README.md | 2 ++ angular-cli.spec | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 angular-cli.spec diff --git a/README.md b/README.md index 99f0983..e0618b5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # angular-cli +CLI tool for Angular. + diff --git a/angular-cli.spec b/angular-cli.spec new file mode 100644 index 0000000..00a8d2c --- /dev/null +++ b/angular-cli.spec @@ -0,0 +1,43 @@ +Name: angular-cli +Version: 7.3.3 +Release: 1mamba +Summary: CLI tool for Angular +Group: Applications/Web +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://cli.angular.io/ +## GITSOURCE https://github.com/angular/angular-cli.git v7.3.3 +Source: https://github.com/angular/angular-cli.git/v%{version}/angular-cli-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRequires: nodejs +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +CLI tool for Angular. + +%prep +%setup -q + +%build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +npm install -g --prefix "%{buildroot}%{_prefix}" @angular/cli@%{version} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/ng +%dir %{_prefix}/lib/node_modules/@angular +%dir %{_prefix}/lib/node_modules/@angular/cli +%{_prefix}/lib/node_modules/@angular/cli/* +%doc LICENSE + +%changelog +* Fri Feb 22 2019 Silvan Calarco 7.3.3-1mamba +- package created using the webbuild interface