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