|
|
680a6e |
%{?scl:%scl_package nodejs-osenv}
|
|
|
680a6e |
%{!?scl:%global pkg_name %{name}}
|
|
|
680a6e |
%{?nodejs_find_provides_and_requires}
|
|
|
680a6e |
|
|
|
680a6e |
Name: %{?scl_prefix}nodejs-osenv
|
|
|
c83b67 |
Version: 0.1.3
|
|
|
602a9c |
Release: 1%{?dist}
|
|
|
680a6e |
Summary: Look up environment settings specific to different operating systems
|
|
|
680a6e |
BuildArch: noarch
|
|
|
680a6e |
|
|
|
680a6e |
Group: System Environment/Libraries
|
|
|
680a6e |
License: BSD
|
|
|
680a6e |
URL: https://github.com/isaacs/osenv
|
|
|
680a6e |
Source0: http://registry.npmjs.org/osenv/-/osenv-%{version}.tgz
|
|
|
680a6e |
BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
680a6e |
|
|
|
680a6e |
BuildRequires: %{?scl_prefix}nodejs-devel
|
|
|
680a6e |
|
|
|
680a6e |
%description
|
|
|
680a6e |
Look up environment settings specific to different operating systems.
|
|
|
680a6e |
|
|
|
680a6e |
%prep
|
|
|
680a6e |
%setup -q -n package
|
|
|
680a6e |
|
|
|
680a6e |
%build
|
|
|
680a6e |
#nothing to do
|
|
|
680a6e |
|
|
|
680a6e |
%install
|
|
|
680a6e |
rm -rf %buildroot
|
|
|
680a6e |
mkdir -p %{buildroot}%{nodejs_sitelib}/osenv
|
|
|
680a6e |
cp -pr package.json osenv.js %{buildroot}%{nodejs_sitelib}/osenv
|
|
|
680a6e |
|
|
|
680a6e |
%nodejs_symlink_deps
|
|
|
680a6e |
|
|
|
680a6e |
%clean
|
|
|
680a6e |
rm -rf %buildroot
|
|
|
680a6e |
|
|
|
680a6e |
%files
|
|
|
680a6e |
%defattr(-,root,root,-)
|
|
|
680a6e |
%{nodejs_sitelib}/osenv
|
|
|
680a6e |
%doc LICENSE README.md
|
|
|
680a6e |
|
|
|
680a6e |
%changelog
|
|
|
c83b67 |
* Mon Nov 30 2015 Tomas Hrcka <thrcka@redhat.com> - 0.1.3-1
|
|
|
c83b67 |
- New upstream release
|
|
|
c83b67 |
|
|
|
602a9c |
* Fri Jan 09 2015 Tomas Hrcka <thrcka@redhat.com> - 0.1.0-1
|
|
|
602a9c |
- New upstream release
|
|
|
602a9c |
|
|
|
c83b67 |
* Fri Feb 28 2014 Tomas Hrcka <thrcka@redhat.com> - 0.0.3-6
|
|
|
c83b67 |
- rebuilt, bump release to fix rhbz#1070612
|
|
|
c83b67 |
|
|
|
680a6e |
* Thu Oct 17 2013 Tomas Hrcka <thrcka@redhat.com> - 0.0.3-5
|
|
|
680a6e |
- replace provides and requires with macro
|
|
|
680a6e |
|
|
|
680a6e |
* Thu Apr 11 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.0.3-4
|
|
|
680a6e |
- Add support for software collections
|
|
|
680a6e |
|
|
|
680a6e |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.3-3
|
|
|
680a6e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
680a6e |
|
|
|
680a6e |
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.3-2
|
|
|
680a6e |
- add missing build section
|
|
|
680a6e |
|
|
|
680a6e |
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.3-1
|
|
|
680a6e |
- initial package generated by npm2rpm
|