diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8b3c7b3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/wcwidth-1.0.0.tgz diff --git a/.rh-nodejs6-nodejs-wcwidth.metadata b/.rh-nodejs6-nodejs-wcwidth.metadata new file mode 100644 index 0000000..30b9aa2 --- /dev/null +++ b/.rh-nodejs6-nodejs-wcwidth.metadata @@ -0,0 +1 @@ +02d059ff7a8fc741e0f6b5da1e69b2b40daeca6f SOURCES/wcwidth-1.0.0.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-wcwidth.spec b/SPECS/nodejs-wcwidth.spec new file mode 100644 index 0000000..e770073 --- /dev/null +++ b/SPECS/nodejs-wcwidth.spec @@ -0,0 +1,50 @@ +%{?scl:%scl_package nodejs-wcwidth} +%{!?scl:%global pkg_name %{name}} +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-wcwidth +Version: 1.0.0 +Release: 7%{?dist} +Summary: Port of C's wcwidth() and wcswidth() +License: MIT +Url: https://github.com/mycoboco/wcwidth.js +Source: http://registry.npmjs.org/wcwidth/-/wcwidth-%{version}.tgz +BuildRequires: %{?scl_prefix}nodejs-devel +BuildArch: noarch +ExclusiveArch: %{ix86} x86_64 %{arm} noarch + +%description +Determine columns needed for a fixed-size wide-character string. + +%prep +%setup -q -n package + +%build + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/wcwidth +cp -pr package.json index.js combining.js \ + %{buildroot}%{nodejs_sitelib}/wcwidth/ + +%nodejs_symlink_deps + +%files +%doc docs/index.md LICENSE Readme.md +%{nodejs_sitelib}/wcwidth + +%changelog +* Tue Feb 16 2016 Zuzana Svetlikova - 1.0.0-7 +- Use macro in -runtime dependency + +* Tue Feb 16 2016 Tomas Hrcka - 1.0.0-6 +- Fix hardcoded dependency on metapackage + +* Tue Jul 21 2015 Tomas Hrcka - 1.0.0-4 +- Add missing build require + +* Mon Jul 20 2015 Tomas Hrcka - 1.0.0-3 +- Fix url, Resolves: RHBZ#1210384 + +* Mon Jan 12 2015 Tomas Hrcka - 1.0.0-2 +- Initial build +