package created using the webbuild interface [release 7.3.3-1mamba;Fri Feb 22 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 20:24:27 +01:00
parent a817757e7d
commit 2a775099cf
2 changed files with 45 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# angular-cli # angular-cli
CLI tool for Angular.

43
angular-cli.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 7.3.3-1mamba
- package created using the webbuild interface