From 07e5b343855d6780782ceccf0f6fe81f1b8a0855 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jun 09 2014 08:31:01 +0000 Subject: import nodejs010-nodejs-abbrev-1.0.4-7.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f31f788 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/abbrev-1.0.4.tgz diff --git a/.nodejs010-nodejs-abbrev.metadata b/.nodejs010-nodejs-abbrev.metadata new file mode 100644 index 0000000..eba4347 --- /dev/null +++ b/.nodejs010-nodejs-abbrev.metadata @@ -0,0 +1 @@ +bd55ae5e413ba1722ee4caba1f6ea10414a59ecd SOURCES/abbrev-1.0.4.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-abbrev.spec b/SPECS/nodejs-abbrev.spec new file mode 100644 index 0000000..c335e26 --- /dev/null +++ b/SPECS/nodejs-abbrev.spec @@ -0,0 +1,92 @@ +%{?scl:%scl_package nodejs-abbrev} +%{!?scl:%global pkg_name %{name}} + +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-abbrev +Version: 1.0.4 +Release: 7%{?dist} +Group: Development/Libraries +Summary: Abbreviation calculator for Node.js +License: MIT +URL: https://github.com/isaacs/abbrev-js +Source0: http://registry.npmjs.org/abbrev/-/abbrev-%{version}.tgz +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n) +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 +rm -rf %{buildroot} + +mkdir -p %{buildroot}%{nodejs_sitelib}/abbrev +cp -pr lib package.json %{buildroot}%{nodejs_sitelib}/abbrev + +%nodejs_symlink_deps + +%clean +rm -rf %{buildroot} + +%check +%{?scl:scl enable %{scl} "} +node lib/abbrev.js +%{?scl: "} + +%files +%defattr(-,root,root,-) +%{nodejs_sitelib}/abbrev +%doc README.md LICENSE + +%changelog +* 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