6a8ec4f
%nodejs_find_provides_and_requires
6a8ec4f
158832c
Name:       nodejs-semver
3b1cc3f
Version:    1.1.4
6a8ec4f
Release:    2%{?dist}
158832c
Summary:    Semantic versioner for npm
158832c
License:    MIT
158832c
Group:      Development/Libraries
158832c
URL:        https://github.com/isaacs/node-semver
158832c
Source0:    http://registry.npmjs.org/semver/-/semver-%{version}.tgz
158832c
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
158832c
BuildArch:  noarch
158832c
158832c
BuildRequires:  nodejs-devel
158832c
158832c
%description
158832c
The semantic version comparison library for the Node.js package manager (npm).
158832c
158832c
%prep
158832c
%setup -q -n package
158832c
158832c
%build
158832c
#nothing to do
158832c
158832c
%install
158832c
rm -rf %{buildroot}
158832c
158832c
mkdir -p %{buildroot}%{nodejs_sitelib}/semver
158832c
cp -pr bin package.json semver.js %{buildroot}%{nodejs_sitelib}/semver
158832c
158832c
mkdir -p %{buildroot}%{_bindir}
158832c
ln -sf ../lib/node_modules/semver/bin/semver %{buildroot}%{_bindir}
158832c
158832c
%nodejs_symlink_deps
158832c
158832c
%clean
158832c
rm -rf %{buildroot}
158832c
158832c
%files
158832c
%defattr(-,root,root,-)
158832c
%{nodejs_sitelib}/semver
158832c
%{_bindir}/semver
158832c
%doc README.md LICENSE
158832c
158832c
%changelog
6a8ec4f
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.4-2
6a8ec4f
- add macro for EPEL6 dependency generation
6a8ec4f
3b1cc3f
* Wed Mar 13 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.4-1
3b1cc3f
- new upstream release 1.1.4
3b1cc3f
9ce18ca
* Sat Feb 09 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.3-1
9ce18ca
- new upstream release 1.1.3
9ce18ca
158832c
* Thu Jan 10 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.2-1
158832c
- new upstream release 1.1.2
158832c
158832c
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.1-2
158832c
- add missing build section
158832c
158832c
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.1-1
158832c
- new upstream release 1.1.1
158832c
- clean up for submission
158832c
158832c
* Fri Apr 27 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.13-3
158832c
- guard Requires for F17 automatic depedency generation
158832c
158832c
* Sat Jan 21 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.13-2
158832c
- missing Group field for EL5
158832c
158832c
* Sat Jan 21 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.13-1
158832c
- new upstream release 1.0.13
158832c
158832c
* Thu Nov 17 2011 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.11-1
158832c
- new upstream release 1.0.11
158832c
158832c
* Tue Oct 25 2011 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.10-1
158832c
- new upstream release
158832c
158832c
* Mon Aug 22 2011 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.9-1
158832c
- initial package