[nodejs-read-installed/f18] really import

T.C. Hollingsworth patches at fedoraproject.org
Sun Jan 13 11:49:02 UTC 2013


commit 7a46ca04d5064dae7eb6cb0dbb293cc3d65c581e
Author: T.C. Hollingsworth <tchollingsworth at gmail.com>
Date:   Sun Jan 13 04:48:35 2013 -0700

    really import

 .gitignore                 |    1 +
 nodejs-read-installed.spec |   46 ++++++++++++++++++++++++++++++++++++++++++++
 sources                    |    1 +
 3 files changed, 48 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9c45781 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/read-installed-0.0.4.tgz
diff --git a/nodejs-read-installed.spec b/nodejs-read-installed.spec
new file mode 100644
index 0000000..d77b38d
--- /dev/null
+++ b/nodejs-read-installed.spec
@@ -0,0 +1,46 @@
+Name:           nodejs-read-installed
+Version:        0.0.4
+Release:        2%{?dist}
+Summary:        Returns a tree structure of all installed packages in a folder
+BuildArch:      noarch
+
+Group:          System Environment/Libraries
+License:        BSD
+URL:            https://github.com/isaacs/read-installed
+Source0:        http://registry.npmjs.org/read-installed/-/read-installed-%{version}.tgz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:  nodejs-devel
+
+%description
+Reads all the installed packages in a folder, and returns a tree structure with
+all the data.
+
+%prep
+%setup -q -n package
+
+%build
+#nothing to do
+
+%install
+rm -rf %buildroot
+mkdir -p %{buildroot}%{nodejs_sitelib}/read-installed
+cp -pr package.json read-installed.js %{buildroot}%{nodejs_sitelib}/read-installed
+
+%nodejs_symlink_deps
+
+%clean
+rm -rf %buildroot
+
+%files
+%defattr(-,root,root,-)
+%{nodejs_sitelib}/read-installed
+%doc LICENSE README.md
+
+%changelog
+* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 0.0.4-2
+- add missing build section
+- fix URL
+
+* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth at gmail.com> - 0.0.4-1
+- initial package generated by npm2rpm
diff --git a/sources b/sources
index e69de29..46cf67f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ffdae1117362a31fe6bd491a5acc9555  read-installed-0.0.4.tgz


More information about the scm-commits mailing list