Blame SPECS/nodejs-osenv.spec

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
680a6e
Version:        0.0.3
680a6e
Release:        5%{?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
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