%{?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 Group: System Environment/Libraries 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