From 483074eed0903a329b88e04599b538db65416c10 Mon Sep 17 00:00:00 2001 From: Piotr Popieluch Date: Dec 10 2014 21:32:23 +0000 Subject: Initial import (#1170816). --- diff --git a/.gitignore b/.gitignore index e69de29..5a3b917 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/astral-angular-annotate-0.0.2.tgz diff --git a/nodejs-astral-angular-annotate.spec b/nodejs-astral-angular-annotate.spec new file mode 100644 index 0000000..e815f6d --- /dev/null +++ b/nodejs-astral-angular-annotate.spec @@ -0,0 +1,51 @@ +%{?nodejs_find_provides_and_requires} +%global srcname astral-angular-annotate + +Name: nodejs-%{srcname} +Version: 0.0.2 +Release: 2%{?dist} +Summary: AngularJS DI annotation pass for astral +License: MIT +# License file requested : +# https://github.com/btford/astral-angular-annotate/issues/12 +URL: https://github.com/btford/astral-angular-annotate +Source0: http://registry.npmjs.org/%{srcname}/-/%{srcname}-%{version}.tgz + +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: nodejs-packaging + + +%description +A pass for Astral to generate AngularJS DI annotations automatically. + + +%prep +%setup -q -n package +rm -rf node_modules/ + + +%build +#nothing to do + + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/%{srcname} +cp -pr package.json annotate.js lib/ passes/ signatures/ %{buildroot}%{nodejs_sitelib}/%{srcname} + +%nodejs_symlink_deps + + +%files +%doc README.md +%{nodejs_sitelib}/%{srcname} + + +%changelog +* Sat Dec 6 2014 Piotr Popieluch - 0.0.2-2 +- Added rm -rf node_modules/ +- Removed Group tag + +* Fri Nov 21 2014 Piotr Popieluch - 0.0.2-1 +- Initial package diff --git a/sources b/sources index e69de29..40236a2 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +782c5b9044f44ea1305a1e495ee9add1 astral-angular-annotate-0.0.2.tgz