Accepting request 255006 from home:deadpoint

nodejs-angular.

OBS-URL: https://build.opensuse.org/request/show/255006
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-angular?expand=0&rev=1
This commit is contained in:
2014-10-17 11:36:13 +00:00
committed by Git OBS Bridge
commit 106c2adf92
5 changed files with 102 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

3
angular-1.2.23.tgz Normal file
View File

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

20
nodejs-angular.changes Normal file
View File

@@ -0,0 +1,20 @@
-------------------------------------------------------------------
Fri Oct 10 18:09:52 UTC 2014 - darin@darins.net
- use nodejs-packaging for building
-------------------------------------------------------------------
Sat Sep 27 11:35:38 UTC 2014 - darin@darins.net
- cleaned up spec, add %{?nodejs_requires}
-------------------------------------------------------------------
Thu Sep 25 17:29:14 UTC 2014 - darin@darins.net
- fix packaging
-------------------------------------------------------------------
Thu Sep 25 17:26:05 UTC 2014 - darin@darins.net
- Initial build

55
nodejs-angular.spec Normal file
View File

@@ -0,0 +1,55 @@
#
# spec file for package nodejs-angular
#
# Copyright (c) 2014 SUSE LINUX Products 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 http://bugs.opensuse.org/
#
%define base_name angular
Name: nodejs-%{base_name}
Version: 1.2.23
Release: 0
Summary: AngularJS provided as a CommonJS module
License: MIT
Group: Development/Languages/Other
Url: https://github.com/bclinkinbeard/angular
Source0: http://registry.npmjs.org/%{base_name}/-/%{base_name}-%{version}.tgz
BuildRequires: nodejs
BuildRequires: nodejs-packaging
Requires: nodejs
Requires: nodejs-jsdom
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
ExclusiveArch: %ix86 x86_64 %{arm} noarch
%{?nodejs_requires}
%description
Node.js angular module. AngularJS provided as a CommonJS module. Compiled with jsdom when running in Node. Useful for client-side apps built with Browserify and for testing AngularJS code in Node without depending on a browser.
%prep
%setup -q -n package
%build
%install
mkdir -p %{buildroot}%{nodejs_modulesdir}/%{base_name}
cp -pr package.json lib *.js \
%{buildroot}%{nodejs_modulesdir}/%{base_name}/
%files
%defattr(-,root,root,-)
%doc LICENSE README.md
%{nodejs_modulesdir}/%{base_name}
%changelog