Blame SPECS/nodejs-semver.spec

db686c
%{?scl:%scl_package nodejs-semver}
db686c
%{!?scl:%global pkg_name %{name}}
db686c
%{?nodejs_find_provides_and_requires}
db686c
db686c
Name:       %{?scl_prefix}nodejs-semver
db686c
Version:    5.1.0
db686c
Release:    1%{?dist}
db686c
Summary:    Semantic versioner for npm
db686c
License:    BSD
db686c
Group:      Development/Libraries
db686c
URL:        https://github.com/isaacs/node-semver
db686c
Source0:    http://registry.npmjs.org/semver/-/semver-%{version}.tgz
db686c
BuildRoot:  %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
db686c
BuildArch:  noarch
db686c
ExclusiveArch: %{nodejs_arches} noarch
db686c
db686c
BuildRequires:  %{?scl_prefix}nodejs-devel
db686c
db686c
%description
db686c
The semantic version comparison library for the Node.js package manager (npm).
db686c
db686c
%prep
db686c
%setup -q -n package
db686c
db686c
%build
db686c
#nothing to do
db686c
db686c
%install
db686c
rm -rf %{buildroot}
db686c
db686c
mkdir -p %{buildroot}%{nodejs_sitelib}/semver
db686c
cp -pr bin package.json semver.js %{buildroot}%{nodejs_sitelib}/semver
db686c
db686c
mkdir -p %{buildroot}%{_bindir}
db686c
ln -sf ../lib/node_modules/semver/bin/semver %{buildroot}%{_bindir}
db686c
db686c
%nodejs_symlink_deps
db686c
db686c
%clean
db686c
rm -rf %{buildroot}
db686c
db686c
%files
db686c
%defattr(-,root,root,-)
db686c
%{nodejs_sitelib}/semver
db686c
%{_bindir}/semver
db686c
%doc README.md LICENSE
db686c
db686c
%changelog
db686c
* Wed Feb 17 2016 Tomas Hrcka <thrcka@redhat.com> - 5.1.0-1
db686c
- Rebase to latest upstream
db686c
db686c
* Mon Nov 30 2015 Tomas Hrcka <thrcka@redhat.com> - 5.0.3-1
db686c
- Rebase to latest upstream
db686c
db686c
* Thu Jan 08 2015 Tomas Hrcka <thrcka@redhat.com> - 2.3.0-1
db686c
- New upstream release
db686c
db686c
* Tue Feb 04 2014 Tomas Hrcka <thrcka@redhat.com> - 2.1.0-3
db686c
- Upsteram license changed from MIT to BSD
db686c
db686c
* Thu Oct 17 2013 Tomas Hrcka <thrcka@redhat.com> - 2.1.0-2
db686c
- replace provides and requires with macro
db686c
db686c
* Tue Jul 30 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.1.0-1
db686c
- new upstream release 2.1.0
db686c
db686c
* Fri Jul 12 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.0.10-1
db686c
- new upstream release 2.0.10
db686c
db686c
* Sun Jun 23 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.0.7-1
db686c
- new upstream release 2.0.7
db686c
db686c
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.4-3
db686c
- restrict to compatible arches
db686c
db686c
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.4-2
db686c
- add macro for EPEL6 dependency generation
db686c
db686c
* Fri Apr 12 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.1.4-2
db686c
- Add support for software collections
db686c
db686c
* Wed Mar 13 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.4-1
db686c
- new upstream release 1.1.4
db686c
db686c
* Sat Feb 09 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.3-1
db686c
- new upstream release 1.1.3
db686c
db686c
* Thu Jan 10 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.2-1
db686c
- new upstream release 1.1.2
db686c
db686c
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.1-2
db686c
- add missing build section
db686c
db686c
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.1-1
db686c
- new upstream release 1.1.1
db686c
- clean up for submission
db686c
db686c
* Fri Apr 27 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.13-3
db686c
- guard Requires for F17 automatic depedency generation
db686c
db686c
* Sat Jan 21 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.13-2
db686c
- missing Group field for EL5
db686c
db686c
* Sat Jan 21 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.13-1
db686c
- new upstream release 1.0.13
db686c
db686c
* Thu Nov 17 2011 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.11-1
db686c
- new upstream release 1.0.11
db686c
db686c
* Tue Oct 25 2011 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.10-1
db686c
- new upstream release
db686c
db686c
* Mon Aug 22 2011 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.9-1
db686c
- initial package