From 3067a38218d847d5a179e277d51d7d4fdafb1b21 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Apr 26 2017 10:36:53 +0000 Subject: import rh-nodejs6-nodejs-abbrev-1.0.9-1.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2d9ebbc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/abbrev-1.0.9.tgz diff --git a/.rh-nodejs6-nodejs-abbrev.metadata b/.rh-nodejs6-nodejs-abbrev.metadata new file mode 100644 index 0000000..52545c5 --- /dev/null +++ b/.rh-nodejs6-nodejs-abbrev.metadata @@ -0,0 +1 @@ +91b4792588a7738c25f35dd6f63752a2f8776135 SOURCES/abbrev-1.0.9.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-abbrev.spec b/SPECS/nodejs-abbrev.spec new file mode 100644 index 0000000..ad299fe --- /dev/null +++ b/SPECS/nodejs-abbrev.spec @@ -0,0 +1,98 @@ +%{?scl:%scl_package nodejs-abbrev} +%{!?scl:%global pkg_name %{name}} + +%{?nodejs_find_provides_and_requires} + +%global enable_tests 0 + +Name: %{?scl_prefix}nodejs-abbrev +Version: 1.0.9 +Release: 1%{?dist} +Summary: Abbreviation calculator for Node.js +License: ISC +URL: https://github.com/isaacs/abbrev-js +Source0: http://registry.npmjs.org/abbrev/-/abbrev-%{version}.tgz +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: %{?scl_prefix}nodejs-devel + +%description +Calculate the set of unique abbreviations for a given set of strings. + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/abbrev +cp -pr abbrev.js package.json %{buildroot}%{nodejs_sitelib}/abbrev + +%nodejs_symlink_deps + +%if 0%{?enable_tests} +%check +tap test.js --cov +%endif + +%files +%{nodejs_sitelib}/abbrev +%doc README.md LICENSE + +%changelog +* Tue Sep 06 2016 Zuzana Svetlikova - 1.0.9-1 +- Update + +* Thu Jun 09 2016 Zuzana Svetlikova - 1.0.7-2 +- Resolves: rhbz#1334856 , fixes wrong license + +* Sun Feb 14 2016 Zuzana Svetlikova - 1.0.7-1 +- Update + +* Wed Jan 07 2015 Tomas Hrcka - 1.0.5-1 +- New upstream release 1.0.5 + +* Tue Oct 22 2013 Tomas Hrcka - 1.0.4-7 +- enable collection when running tests + +* Sat Jun 22 2013 T.C. Hollingsworth - 1.0.4-6 +- restrict to compatible arches + +* Fri May 03 2013 Stanislav Ochotnicky - 1.0.4-5 +- Run unit tests as part of build + +* Mon Apr 15 2013 T.C. Hollingsworth - 1.0.4-4 +- add macro for EPEL6 dependency generation + +* Fri Apr 12 2013 Stanislav Ochotnicky - 1.0.4-4 +- Add support for software collections + +* Thu Feb 14 2013 Fedora Release Engineering - 1.0.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sun Jan 13 2013 T.C. Hollingsworth - 1.0.4-2 +- fix missing dist macro in Release + +* Thu Jan 10 2013 T.C. Hollingsworth - 1.0.4-1 +- new upstream release 1.0.4 +- include newly added LICENSE file + +* Tue Jan 08 2013 T.C. Hollingsworth - 1.0.3-5 +- add missing build section + +* Mon Dec 31 2012 T.C. Hollingsworth - 1.0.3-4 +- clean up for submission + +* Fri Apr 27 2012 T.C. Hollingsworth - 1.0.3-3 +- guard Requires for F17 automatic depedency generation + +* Sat Jan 21 2012 T.C. Hollingsworth - 1.0.3-2 +- missing Group field for EL5 + +* Sat Jan 21 2012 T.C. Hollingsworth - 1.0.3-1 +- new upstream release 1.0.3 + +* Mon Aug 22 2011 T.C. Hollingsworth - 1.0.2-1 +- initial package