Sophie

Sophie

distrib > Fedora > 20 > x86_64 > by-pkgid > 69f3c45956fe1833c533609fd74f14ca > files > 2

nodejs-cookiejar-1.3.2-1.fc20.src.rpm

%{?nodejs_find_provides_and_requires}

%global enable_tests 1

Name:       nodejs-cookiejar
Version:    1.3.2
Release:    1%{?dist}
Summary:    A simple, persistent cookie jar system for Node.js
License:    MIT
Group:      System Environment/Libraries
URL:        https://github.com/bmeck/node-cookiejar
Source0:    http://registry.npmjs.org/cookiejar/-/cookiejar-%{version}.tgz

BuildArch:  noarch
%if 0%{?fedora} >= 19
ExclusiveArch: %{nodejs_arches} noarch
%else
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
%endif

BuildRequires:  nodejs-packaging

%description
%{summary}.


%prep
%setup -q -n package


%build
#nothing to do


%install
mkdir -p %{buildroot}%{nodejs_sitelib}/cookiejar
cp -pr package.json cookiejar.js \
    %{buildroot}%{nodejs_sitelib}/cookiejar

%nodejs_symlink_deps


%if 0%{?enable_tests}
%check
%nodejs_symlink_deps --check
%__nodejs tests/*.js
%endif


%files
%doc LICENSE readme.md
%{nodejs_sitelib}/cookiejar


%changelog
* Fri Apr 25 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1.3.2-1
- update to upstream release 1.3.2

* Sat Mar 08 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1.3.1-1
- initial package