File uuid.spec of Package nodejs-uuid


%define module uuid
%define pkg_name nodejs-%{module}
%define version 3.1.0
%define release 1
%define buildroot %(mktemp -ud %{_tmppath}/%{module}-%{version}-%{release}-XXXXXX)

Name: %{pkg_name}
Version: %{version}
Release: %{release}
Summary: RFC4122 (v1, v4, and v5) UUIDs

Group: Installation Script
License: MIT
Source: %{module}-%{version}.tgz
BuildRoot: %{buildroot}
BuildArch:  noarch
ExclusiveArch: %{ix86} x86_64 %{arm} noarch

Requires: nodejs

BuildRequires: nodejs
%{?el6:BuildRequires: npm}
#AutoReqProv: no

RFC4122 (v1, v4, and v5) UUIDs

rm -rf %{buildroot}

%setup -q -n package

# Nothing needed here!

mkdir -p %{buildroot}%{nodejs_sitelib}/%{module}
cp -prv . %{buildroot}%{nodejs_sitelib}/%{module}


%defattr(644, root, root, 755)