From df019db2e71e620b1e7132dce6bd59067b3e4b1e Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 31 2016 08:23:14 +0000 Subject: import rh-nodejs4-nodejs-npm-user-validate-0.1.1-2.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a358c66 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/npm-user-validate-0.1.1.tgz diff --git a/.rh-nodejs4-nodejs-npm-user-validate.metadata b/.rh-nodejs4-nodejs-npm-user-validate.metadata new file mode 100644 index 0000000..935b337 --- /dev/null +++ b/.rh-nodejs4-nodejs-npm-user-validate.metadata @@ -0,0 +1 @@ +ea7774636c3c8fe6d01e174bd9f2ee0e22eeed57 SOURCES/npm-user-validate-0.1.1.tgz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/nodejs-npm-user-validate.spec b/SPECS/nodejs-npm-user-validate.spec new file mode 100644 index 0000000..f06de1b --- /dev/null +++ b/SPECS/nodejs-npm-user-validate.spec @@ -0,0 +1,75 @@ +%{?scl:%scl_package nodejs-npm-user-validate} +%{!?scl:%global pkg_name %{name}} + +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-npm-user-validate +Version: 0.1.1 +Release: 2%{?dist} +Summary: Username, password, and e-mail validation for the npm registry +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +Group: Development/Libraries +License: BSD +URL: https://github.com/robertkowalski/npm-user-validate +Source0: http://registry.npmjs.org/npm-user-validate/-/npm-user-validate-%{version}.tgz +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: %{?scl_prefix}nodejs-devel +#BuildRequires: %{?scl_prefix}npm(tap) + +%description +This library validates usernames, passwords, and e-mail addresses to the +standards required by the npm registry. + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +rm -rf %buildroot + +mkdir -p %{buildroot}%{nodejs_sitelib}/npm-user-validate +cp -pr npm-user-validate.js package.json %{buildroot}%{nodejs_sitelib}/npm-user-validate + +%nodejs_symlink_deps + +%check +#nodejs_symlink_deps --check +#tap test/*.js + +%clean +rm -rf %buildroot + +%files +%defattr(-,root,root,-) +%{nodejs_sitelib}/npm-user-validate +%doc README.md LICENSE + +%changelog +* Sun Feb 14 2016 Zuzana Svetlikova - 0.1.1-2 +- rebuilt + +* Thu Jan 08 2015 Tomas Hrcka - 0.1.1-1 +- New upstream release 0.1.1 + +* Fri Nov 08 2013 Tomas Hrcka - 0.0.3-2.1 +- Software collections support + +* Sat Aug 03 2013 Fedora Release Engineering - 0.0.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Sun Jun 23 2013 T.C. Hollingsworth - 0.0.3-1 +- new upstream release 0.0.3 + +* Sat Jun 22 2013 T.C. Hollingsworth - 0.0.1-3 +- restrict to compatible arches + +* Thu May 30 2013 T.C. Hollingsworth - 0.0.1-2 +- fix License tag + +* Thu May 30 2013 T.C. Hollingsworth - 0.0.1-1 +- initial package