T.C. Hollingsworth 324eb98
%{?nodejs_find_provides_and_requires}
T.C. Hollingsworth 324eb98
T.C. Hollingsworth 324eb98
Name:           nodejs-npm-user-validate
742b4af
Version:        0.1.2
d5cf63c
Release:        2%{?dist}
T.C. Hollingsworth 324eb98
Summary:        Username, password, and e-mail validation for the npm registry
T.C. Hollingsworth 324eb98
T.C. Hollingsworth 324eb98
Group:          Development/Libraries
T.C. Hollingsworth 324eb98
License:        BSD
T.C. Hollingsworth 324eb98
URL:            https://github.com/robertkowalski/npm-user-validate
T.C. Hollingsworth 324eb98
Source0:        http://registry.npmjs.org/npm-user-validate/-/npm-user-validate-%{version}.tgz
742b4af
BuildArch:      noarch
742b4af
ExclusiveArch:  %{nodejs_arches} noarch
742b4af
742b4af
BuildRequires:  nodejs-packaging
T.C. Hollingsworth 324eb98
T.C. Hollingsworth 324eb98
BuildRequires:  npm(tap)
T.C. Hollingsworth 324eb98
T.C. Hollingsworth 324eb98
%description
T.C. Hollingsworth 324eb98
This library validates usernames, passwords, and e-mail addresses to the
T.C. Hollingsworth 324eb98
standards required by the npm registry.
T.C. Hollingsworth 324eb98
742b4af
T.C. Hollingsworth 324eb98
%prep
T.C. Hollingsworth 324eb98
%setup -q -n package
T.C. Hollingsworth 324eb98
742b4af
T.C. Hollingsworth 324eb98
%build
T.C. Hollingsworth 324eb98
#nothing to do
T.C. Hollingsworth 324eb98
T.C. Hollingsworth 324eb98
742b4af
%install
T.C. Hollingsworth 324eb98
mkdir -p %{buildroot}%{nodejs_sitelib}/npm-user-validate
742b4af
cp -pr package.json npm-user-validate.js %{buildroot}%{nodejs_sitelib}/npm-user-validate
T.C. Hollingsworth 324eb98
%nodejs_symlink_deps
T.C. Hollingsworth 324eb98
742b4af
T.C. Hollingsworth 324eb98
%check
T.C. Hollingsworth 324eb98
%nodejs_symlink_deps --check
T.C. Hollingsworth 324eb98
%tap test/*.js
T.C. Hollingsworth 324eb98
T.C. Hollingsworth 324eb98
T.C. Hollingsworth 324eb98
%files
742b4af
%doc README.md
742b4af
%license LICENSE
T.C. Hollingsworth 324eb98
%{nodejs_sitelib}/npm-user-validate
742b4af
T.C. Hollingsworth 324eb98
T.C. Hollingsworth 324eb98
%changelog
d5cf63c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-2
d5cf63c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d5cf63c
742b4af
* Sun Jan 17 2016 Tom Hughes <tom@compton.nu> - 0.1.2-1
742b4af
- Update to 0.1.2 upstream release
742b4af
7731c92
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.3-4
7731c92
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7731c92
8fea854
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.3-3
8fea854
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
8fea854
8e897f3
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.3-2
8e897f3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
8e897f3
T.C. Hollingsworth b403eac
* Sun Jun 23 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.3-1
T.C. Hollingsworth b403eac
- new upstream release 0.0.3
T.C. Hollingsworth b403eac
T.C. Hollingsworth df7192e
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.1-3
T.C. Hollingsworth df7192e
- restrict to compatible arches
T.C. Hollingsworth df7192e
T.C. Hollingsworth 324eb98
* Thu May 30 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.1-2
T.C. Hollingsworth 324eb98
- fix License tag
T.C. Hollingsworth 324eb98
T.C. Hollingsworth 324eb98
* Thu May 30 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.1-1
T.C. Hollingsworth 324eb98
- initial package