From 78d45dfc46284793e52827a2458a5d5604d2a25d Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jun 09 2014 08:34:50 +0000 Subject: import nodejs010-nodejs-uid-number-0.0.3-7.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4b6f42e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/uid-number-0.0.3.tgz diff --git a/.nodejs010-nodejs-uid-number.metadata b/.nodejs010-nodejs-uid-number.metadata new file mode 100644 index 0000000..5d3d641 --- /dev/null +++ b/.nodejs010-nodejs-uid-number.metadata @@ -0,0 +1 @@ +cefb0fa138d8d8098da71a40a0d04a8327d6e1cc SOURCES/uid-number-0.0.3.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-uid-number.spec b/SPECS/nodejs-uid-number.spec new file mode 100644 index 0000000..1bbd0ad --- /dev/null +++ b/SPECS/nodejs-uid-number.spec @@ -0,0 +1,68 @@ +%{?scl:%scl_package nodejs-uid-number} +%{!?scl:%global pkg_name %{name}} +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-uid-number +Version: 0.0.3 +Release: 7%{?dist} +Summary: Convert a username/group name to a UID/GID number +License: BSD +Group: System Environment/Libraries +URL: https://github.com/isaacs/uid-number +Source0: http://registry.npmjs.org/uid-number/-/uid-number-%{version}.tgz +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +BuildRequires: %{?scl_prefix}nodejs-devel + +%description +%{summary}. + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +rm -rf %{buildroot} + +mkdir -p %{buildroot}%{nodejs_sitelib}/uid-number +cp -pr *.js package.json %{buildroot}%{nodejs_sitelib}/uid-number + +chmod 0644 %{buildroot}%{nodejs_sitelib}/uid-number/get-uid-gid.js + +%nodejs_symlink_deps + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%{nodejs_sitelib}/uid-number +%doc README.md LICENCE + +%changelog +* Thu Oct 17 2013 Tomas Hrcka - 0.0.3-7 +- replace provides and requires with macro + +* Thu Apr 11 2013 Stanislav Ochotnicky - 0.0.3-6 +- Add support for software collections + +* Thu Feb 14 2013 Fedora Release Engineering - 0.0.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jan 11 2013 T.C. Hollingsworth - 0.0.3-4 +- really use a fresh tarball from upstream +- fix permissions +- include LICENCE file + +* Tue Jan 08 2013 T.C. Hollingsworth - 0.0.3-3 +- add missing build section +- rebuild with fresh tarball from upstream + +* Mon Dec 31 2012 T.C. Hollingsworth - 0.0.3-2 +- Clean up for submission + +* Wed Mar 28 2012 T.C. Hollingsworth - 0.0.3-1 +- initial package