diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..31915ad --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/is-typedarray-1.0.0.tgz diff --git a/.rh-nodejs6-nodejs-is-typedarray.metadata b/.rh-nodejs6-nodejs-is-typedarray.metadata new file mode 100644 index 0000000..98bf54a --- /dev/null +++ b/.rh-nodejs6-nodejs-is-typedarray.metadata @@ -0,0 +1 @@ +e479c80858df0c1b11ddda6940f96011fcda4a9a SOURCES/is-typedarray-1.0.0.tgz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/nodejs-is-typedarray.spec b/SPECS/nodejs-is-typedarray.spec new file mode 100644 index 0000000..1d2591d --- /dev/null +++ b/SPECS/nodejs-is-typedarray.spec @@ -0,0 +1,64 @@ +%{?scl:%scl_package nodejs-%{srcname}} +%{!?scl:%global pkg_name %{name}} + +# needed for building on el6 +%{?nodejs_find_provides_and_requires} + +%global srcname is-typedarray + +Name: %{?scl_prefix}nodejs-%{srcname} +Version: 1.0.0 +Release: 3%{?dist} +Summary: Detect whether or not an object is a Typed Array +License: MIT +URL: https://github.com/hughsk/%{srcname} +Source0: https://registry.npmjs.org/%{srcname}/-/%{srcname}-%{version}.tgz + +BuildArch: noarch + +%if 0%{?rhel} == 6 +ExclusiveArch: %{ix86} x86_64 %{arm} noarch +%else +ExclusiveArch: %{nodejs_arches} noarch +%endif + +BuildRequires: %{?scl_prefix}nodejs-devel +#BuildRequires: %{?scl_prefix}nodejs-tape + +%description +%{summary}. + +%prep +%autosetup -n package +rm -rf node_modules + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/%{srcname} + +cp -pr package.json *.js \ + %{buildroot}%{nodejs_sitelib}/%{srcname} + +%nodejs_symlink_deps + +#%check +#%nodejs_symlink_deps --check +#%{__nodejs} test.js + +%files +%{!?_licensedir:%global license %doc} +%doc README.md +%license LICENSE.md +%{nodejs_sitelib}/%{srcname} + +%changelog +* Wed Sep 14 2016 Zuzana Svetlikova - 1.0.0-3 +- Built for RHSCL + +* Thu Feb 04 2016 Fedora Release Engineering - 1.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Sun Dec 06 2015 Piotr Popieluch - 1.0.0-1 +- Initial package