Accepting request 710117 from home:guoyunhe

Version 8.0.3

OBS-URL: https://build.opensuse.org/request/show/710117
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/npmjs-angular-cli?expand=0&rev=1
This commit is contained in:
Karl Cheng
2019-08-15 13:59:05 +00:00
committed by Git OBS Bridge
commit 9de2b85e9b
5 changed files with 88 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ffeeb03125013ac626387ca751815ab457d1feace971413e1ad18fb8b984446e
size 6184105

View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Sat Jun 15 16:46:53 UTC 2019 - Yunhe Guo <i@guoyunhe.me>
- Version 8.0.3

57
npmjs-angular-cli.spec Normal file
View File

@@ -0,0 +1,57 @@
#
# spec file for package npmjs-angular-cli
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define npm_name @angular/cli
Name: npmjs-angular-cli
Version: 8.0.3
Release: 0
Summary: Angular CLI
License: MIT
Group: Development/Languages/NodeJS
URL: https://www.npmjs.com/package/%{npm_name}
Source0: %{name}-%{version}.tar.gz
BuildRequires: nodejs
BuildRequires: fdupes
Requires: nodejs
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Angular CLI
%prep
%setup -q
%build
%install
mkdir -p %{buildroot}%{_prefix}/lib/node_modules/%{npm_name}
cp -r * %{buildroot}%{_prefix}/lib/node_modules/%{npm_name}
mkdir -p %{buildroot}%{_bindir}
ln -s %{_prefix}/lib/node_modules/%{npm_name}/bin/ng %{buildroot}%{_bindir}/ng
%fdupes %{buildroot}
%check
%files
%license LICENSE
%doc README.md
%{_bindir}/ng
%{_prefix}/lib/node_modules
%changelog