Blame SPECS/nodejs-tunnel-agent.spec

ce59ca
%{?scl:%scl_package nodejs-tunnel-agent}
ce59ca
%{!?scl:%global pkg_name %{name}}
ce59ca
%{?nodejs_find_provides_and_requires}
ce59ca
ce59ca
Name:       %{?scl_prefix}nodejs-tunnel-agent
ce59ca
Version:    0.3.0
ce59ca
Release:    3%{?dist}
ce59ca
Summary:    HTTP proxy tunneling agent
ce59ca
# Apache 2.0 License added upstream, will appear in next release
ce59ca
# https://github.com/mikeal/tunnel-agent/blob/master/LICENSE
ce59ca
License:    ASL 2.0
ce59ca
Group:      Development/Libraries
ce59ca
URL:        https://github.com/mikeal/tunnel-agent
ce59ca
Source0:    http://registry.npmjs.org/tunnel-agent/-/tunnel-agent-%{version}.tgz
ce59ca
BuildRoot:  %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
ce59ca
BuildArch:  noarch
ce59ca
ExclusiveArch: %{nodejs_arches} noarch
ce59ca
ce59ca
BuildRequires:  %{?scl_prefix}nodejs-devel
ce59ca
ce59ca
%description
ce59ca
%{summary}.
ce59ca
ce59ca
%prep
ce59ca
%setup -q -n package
ce59ca
ce59ca
%build
ce59ca
#nothing to do
ce59ca
ce59ca
%install
ce59ca
rm -rf %{buildroot}
ce59ca
ce59ca
mkdir -p %{buildroot}%{nodejs_sitelib}/tunnel-agent
ce59ca
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/tunnel-agent
ce59ca
ce59ca
%nodejs_symlink_deps
ce59ca
ce59ca
%clean
ce59ca
rm -rf %{buildroot}
ce59ca
ce59ca
%files
ce59ca
%defattr(-,root,root,-)
ce59ca
%{nodejs_sitelib}/tunnel-agent
ce59ca
ce59ca
%changelog
ce59ca
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.3.0-3
ce59ca
- rebuilt
ce59ca
ce59ca
* Thu Oct 17 2013 Tomas Hrcka <thrcka@redhat.com> - 0.3.0-2
ce59ca
- replace provides and requires with macro
ce59ca
ce59ca
* Sun Jun 23 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.3.0-1
ce59ca
- new upstream release 0.3.0
ce59ca
ce59ca
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.2.0-3
ce59ca
- restrict to compatible arches
ce59ca
ce59ca
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.2.0-2
ce59ca
- add macro for EPEL6 dependency generation
ce59ca
ce59ca
* Fri Apr 12 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.2.0-2
ce59ca
- Add support for software collections
ce59ca
ce59ca
* Fri Apr 05 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.2.0-1
ce59ca
- initial package