T.C. Hollingsworth 324eb98
%{?nodejs_find_provides_and_requires}
T.C. Hollingsworth 324eb98
T.C. Hollingsworth 324eb98
Name:           nodejs-npm-user-validate
T.C. Hollingsworth b403eac
Version:        0.0.3
7731c92
Release:        4%{?dist}
T.C. Hollingsworth 324eb98
Summary:        Username, password, and e-mail validation for the npm registry
T.C. Hollingsworth 324eb98
BuildArch:      noarch
T.C. Hollingsworth df7192e
ExclusiveArch: %{nodejs_arches} noarch
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
T.C. Hollingsworth 324eb98
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
T.C. Hollingsworth 324eb98
T.C. Hollingsworth 324eb98
BuildRequires:  nodejs-devel
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
T.C. Hollingsworth 324eb98
%prep
T.C. Hollingsworth 324eb98
%setup -q -n package
T.C. Hollingsworth 324eb98
T.C. Hollingsworth 324eb98
%build
T.C. Hollingsworth 324eb98
#nothing to do
T.C. Hollingsworth 324eb98
T.C. Hollingsworth 324eb98
%install
T.C. Hollingsworth 324eb98
rm -rf %buildroot
T.C. Hollingsworth 324eb98
T.C. Hollingsworth 324eb98
mkdir -p %{buildroot}%{nodejs_sitelib}/npm-user-validate
T.C. Hollingsworth 324eb98
cp -pr npm-user-validate.js package.json %{buildroot}%{nodejs_sitelib}/npm-user-validate
T.C. Hollingsworth 324eb98
T.C. Hollingsworth 324eb98
%nodejs_symlink_deps
T.C. Hollingsworth 324eb98
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
%clean
T.C. Hollingsworth 324eb98
rm -rf %buildroot
T.C. Hollingsworth 324eb98
T.C. Hollingsworth 324eb98
%files
T.C. Hollingsworth 324eb98
%defattr(-,root,root,-)
T.C. Hollingsworth 324eb98
%{nodejs_sitelib}/npm-user-validate
T.C. Hollingsworth 324eb98
%doc README.md LICENSE
T.C. Hollingsworth 324eb98
T.C. Hollingsworth 324eb98
%changelog
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