From 77622505c0dbbe252f986199d96c181a2b538427 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jun 09 2014 08:31:27 +0000 Subject: import nodejs010-nodejs-chmodr-0.1.0-4.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9d307fd --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/chmodr-0.1.0.tgz diff --git a/.nodejs010-nodejs-chmodr.metadata b/.nodejs010-nodejs-chmodr.metadata new file mode 100644 index 0000000..dd13841 --- /dev/null +++ b/.nodejs010-nodejs-chmodr.metadata @@ -0,0 +1 @@ +e09215a1d51542db2a2576969765bcf6125583eb SOURCES/chmodr-0.1.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-chmodr.spec b/SPECS/nodejs-chmodr.spec new file mode 100644 index 0000000..d71255d --- /dev/null +++ b/SPECS/nodejs-chmodr.spec @@ -0,0 +1,58 @@ +%{?scl:%scl_package nodejs-chmodr} +%{!?scl:%global pkg_name %{name}} +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-chmodr +Version: 0.1.0 +Release: 4%{?dist} +Summary: Recursively change UNIX file permissions +License: BSD +Group: System Environment/Libraries +URL: https://github.com/isaacs/chmodr +Source0: http://registry.npmjs.org/chmodr/-/chmodr-%{version}.tgz +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +BuildRequires: %{?scl_prefix}nodejs-devel + +%description +%{summary}, like `chmod -R`. + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +rm -rf %{buildroot} + +mkdir -p %{buildroot}%{nodejs_sitelib}/chmodr +cp -pr chmodr.js package.json %{buildroot}%{nodejs_sitelib}/chmodr + +%nodejs_symlink_deps + +# disabled; TAP is not in the distro yet +#%%check +#%%tap test/* + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%{nodejs_sitelib}/chmodr +%doc README.md LICENSE + +%changelog +* Thu Oct 17 2013 Tomas Hrcka - 0.1.0-4 +- replace provides and requires with macro + +* Fri Apr 12 2013 Stanislav Ochotnicky - 0.1.0-3 +- Add support for software collections + +* Wed Mar 13 2013 T.C. Hollingsworth - 0.1.0-2 +- fix License tag + +* Wed Mar 13 2013 T.C. Hollingsworth - 0.1.0-1 +- initial package