44 lines
1.1 KiB
RPMSpec
44 lines
1.1 KiB
RPMSpec
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
|