Blame SPECS/nodejs-npm-user-validate.spec

acecf5
%{?scl:%scl_package nodejs-npm-user-validate}
acecf5
%{!?scl:%global pkg_name %{name}}
acecf5
acecf5
%{?nodejs_find_provides_and_requires}
acecf5
acecf5
Name:           %{?scl_prefix}nodejs-npm-user-validate
acecf5
Version:        0.0.3
acecf5
Release:        2.1%{?dist}
acecf5
Summary:        Username, password, and e-mail validation for the npm registry
acecf5
BuildArch:      noarch
acecf5
ExclusiveArch: %{nodejs_arches} noarch
acecf5
acecf5
Group:          Development/Libraries
acecf5
License:        BSD
acecf5
URL:            https://github.com/robertkowalski/npm-user-validate
acecf5
Source0:        http://registry.npmjs.org/npm-user-validate/-/npm-user-validate-%{version}.tgz
acecf5
BuildRoot:      %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
acecf5
acecf5
BuildRequires:  %{?scl_prefix}nodejs-devel
acecf5
#BuildRequires:  %{?scl_prefix}npm(tap)
acecf5
acecf5
%description
acecf5
This library validates usernames, passwords, and e-mail addresses to the
acecf5
standards required by the npm registry.
acecf5
acecf5
%prep
acecf5
%setup -q -n package
acecf5
acecf5
%build
acecf5
#nothing to do
acecf5
acecf5
%install
acecf5
rm -rf %buildroot
acecf5
acecf5
mkdir -p %{buildroot}%{nodejs_sitelib}/npm-user-validate
acecf5
cp -pr npm-user-validate.js package.json %{buildroot}%{nodejs_sitelib}/npm-user-validate
acecf5
acecf5
%nodejs_symlink_deps
acecf5
acecf5
%check
acecf5
#nodejs_symlink_deps --check
acecf5
#tap test/*.js
acecf5
acecf5
%clean
acecf5
rm -rf %buildroot
acecf5
acecf5
%files
acecf5
%defattr(-,root,root,-)
acecf5
%{nodejs_sitelib}/npm-user-validate
acecf5
%doc README.md LICENSE
acecf5
acecf5
%changelog
acecf5
* Fri Nov 08 2013 Tomas Hrcka <thrcka@redhat.com> - 0.0.3-2.1
acecf5
- Software collections support
acecf5
acecf5
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.3-2
acecf5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
acecf5
acecf5
* Sun Jun 23 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.3-1
acecf5
- new upstream release 0.0.3
acecf5
acecf5
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.1-3
acecf5
- restrict to compatible arches
acecf5
acecf5
* Thu May 30 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.1-2
acecf5
- fix License tag
acecf5
acecf5
* Thu May 30 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.1-1
acecf5
- initial package