From 17d83e9e350d22e33332c02761dc0a18e5baeda5 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jun 09 2014 08:33:10 +0000 Subject: import nodejs010-nodejs-lru-cache-2.5.0-1.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5de2f0f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/lru-cache-2.5.0.tgz diff --git a/.nodejs010-nodejs-lru-cache.metadata b/.nodejs010-nodejs-lru-cache.metadata new file mode 100644 index 0000000..0c4d75a --- /dev/null +++ b/.nodejs010-nodejs-lru-cache.metadata @@ -0,0 +1 @@ +d82388ae9c960becbea0c73bb9eb79b6c6ce9aeb SOURCES/lru-cache-2.5.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-lru-cache.spec b/SPECS/nodejs-lru-cache.spec new file mode 100644 index 0000000..457dd53 --- /dev/null +++ b/SPECS/nodejs-lru-cache.spec @@ -0,0 +1,84 @@ +%{?scl:%scl_package nodejs-lru-cache} +%{!?scl:%global pkg_name %{name}} +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-lru-cache +Version: 2.5.0 +Release: 1%{?dist} +Summary: A least recently used cache object for Node.js +License: MIT +Group: System Environment/Libraries +URL: https://github.com/isaacs/node-lru-cache +Source0: http://registry.npmjs.org/lru-cache/-/lru-cache-%{version}.tgz +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +BuildRequires: %{?scl_prefix}nodejs-devel + +%description +A cache object that deletes the least recently used items. + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +rm -rf %{buildroot} + +mkdir -p %{buildroot}%{nodejs_sitelib}/lru-cache +cp -pr lib package.json %{buildroot}%{nodejs_sitelib}/lru-cache + +%nodejs_symlink_deps + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%{nodejs_sitelib}/lru-cache +%doc CONTRIBUTORS README.md LICENSE + +%changelog +* Thu Jan 16 2014 Tomas Hrcka - 2.5.0-1 +- New upstream release 2.5.0 +- AUTHORS renamed to CONTRIBUTORS + +* Thu Oct 17 2013 Tomas Hrcka - 2.3.0-3 +- replace provides and requires with macro + +* Thu Apr 11 2013 Stanislav Ochotnicky - 2.3.0-2 +- Add support for software collections + +* Wed Apr 03 2013 T.C. Hollingsworth - 2.3.0-1 +- new upstream release 2.3.0 + +* Sat Feb 09 2013 T.C. Hollingsworth - 2.2.2-1 +- new upstream release 2.2.2 + +* Tue Jan 08 2013 T.C. Hollingsworth - 2.2.1-2 +- add missing build section +- improve summary/description + +* Mon Dec 31 2012 T.C. Hollingsworth - 2.2.1-1 +- new upstream release 2.2.1 +- clean up for submission + +* Fri Apr 27 2012 T.C. Hollingsworth - 1.1.0-2 +- fix BuildRequires not present on - 1.1.0-1 +- New upstream release 1.1.0 + +* Wed Mar 28 2012 T.C. Hollingsworth - 1.0.6-1 +- new upstream release 1.0.6 + +* Sat Feb 25 2012 T.C. Hollingsworth - 1.0.5-1 +- new upstream release 1.0.5 + +* Sun Dec 18 2011 T.C. Hollingsworth - 1.0.4-2 +- add Group to make EL5 happy + +* Mon Aug 22 2011 T.C. Hollingsworth - 1.0.4-1 +- initial package