From f19d378c71b4a59e1d8f1dc3b69f727a3b874642 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jun 09 2014 08:33:55 +0000 Subject: import nodejs010-nodejs-path-is-inside-1.0.0-1.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4912076 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/path-is-inside-1.0.0.tgz diff --git a/.nodejs010-nodejs-path-is-inside.metadata b/.nodejs010-nodejs-path-is-inside.metadata new file mode 100644 index 0000000..37faef9 --- /dev/null +++ b/.nodejs010-nodejs-path-is-inside.metadata @@ -0,0 +1 @@ +8ec1c42a4c1a039e3e75f6e9e6029bd0c699016e SOURCES/path-is-inside-1.0.0.tgz diff --git a/README.md b/README.md deleted file mode 100644 index ce46a88..0000000 --- a/README.md +++ /dev/null @@ -1,5 +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-path-is-inside.spec b/SPECS/nodejs-path-is-inside.spec new file mode 100644 index 0000000..a7553c9 --- /dev/null +++ b/SPECS/nodejs-path-is-inside.spec @@ -0,0 +1,49 @@ +%{?scl:%scl_package nodejs-path-is-inside} +%{!?scl:%global pkg_name %{name}} + +# spec file for package nodejs-nodejs-path-is-inside_1.0.0 + +%global npmname path-is-inside +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-path-is-inside +Version: 1.0.0 +Release: 1%{?dist} +Summary: Tests whether one path is inside another path +Url: https://github.com/domenic/path-is-inside +Source0: http://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.0.tgz +License: WTFPL + +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: %{?scl_prefix}nodejs-devel + +%description +Tests whether one path is inside another path + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +rm -rf %buildroot + +mkdir -p %{buildroot}%{nodejs_sitelib}/path-is-inside +cp -pr package.json lib/ %{buildroot}%{nodejs_sitelib}/path-is-inside +%nodejs_symlink_deps + +%clean +rm -rf %buildroot + +%files +%defattr(-,root,root,-) +%{nodejs_sitelib}/path-is-inside + +%doc LICENSE.txt README.md + +%changelog +* Wed Feb 12 2014 Tomas Hrcka - 1.0.0-1 +- Initial build +