From 6782205311f29777ef7899bdb37f31dae68385b3 Mon Sep 17 00:00:00 2001 From: anish Date: Jun 04 2014 11:36:57 +0000 Subject: Initial build --- diff --git a/.gitignore b/.gitignore index e69de29..880f40b 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/0.1.3.tar.gz diff --git a/nodejs-strip-json-comments.spec b/nodejs-strip-json-comments.spec new file mode 100644 index 0000000..693ffa9 --- /dev/null +++ b/nodejs-strip-json-comments.spec @@ -0,0 +1,65 @@ +%{?nodejs_find_provides_and_requires} + +Name: nodejs-strip-json-comments +Version: 0.1.3 +Release: 4%{?dist} +Summary: Strip comments from JSON +License: MIT +Group: System Environment/Libraries +URL: https://github.com/sindresorhus/strip-json-comments +Source: https://github.com/sindresorhus/strip-json-comments/archive/%{version}.tar.gz + + + +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: nodejs-packaging + + +%description +Strip comments from JSON. Lets you use comments in your JSON files! + + +%prep +%setup -q -n strip-json-comments-%{version} + + + + +%build +#nothing to do + + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/strip-json-comments +cp -pr package.json strip-json-comments.js \ + %{buildroot}%{nodejs_sitelib}/strip-json-comments +install -p -D -m0755 cli.js %{buildroot}%{nodejs_sitelib}/strip-json-comments/ + +mkdir -p %{buildroot}%{_bindir} +ln -s %{nodejs_sitelib}/strip-json-comments/cli.js \ + %{buildroot}%{_bindir}/strip-json-comments + +%nodejs_symlink_deps + + + +%files +%doc readme.md license +%{nodejs_sitelib}/strip-json-comments +%{_bindir}/strip-json-comments + + +%changelog +* Wed Jun 4 2014 Anish Patil - 0.1.3-4 +- Incorporated package review comments + +* Wed May 28 2014 Anish Patil - 0.1.2-3 +- Incorporated package review comments + +* Wed May 07 2014 Anish Patil - 0.1.1-2 +- Incorporated package review comments + +* Thu Apr 10 2014 Anish Patil - 0.1.1-1 +- Initial package diff --git a/sources b/sources index e69de29..7453157 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +fefcd0220f62ce17d52ffa4593e65561 0.1.3.tar.gz