]> git.pld-linux.org Git - packages/nodejs-abbrev.git/commitdiff
- initial node pkgs for npm deps auto/th/nodejs-abbrev-1_0_3-1
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 25 Jan 2012 22:44:45 +0000 (22:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  based on specs from http://nodejs.tchol.org/ repo

Changed files:
    nodejs-abbrev.spec -> 1.1

nodejs-abbrev.spec [new file with mode: 0644]

diff --git a/nodejs-abbrev.spec b/nodejs-abbrev.spec
new file mode 100644 (file)
index 0000000..bcc2c18
--- /dev/null
@@ -0,0 +1,35 @@
+%define                pkg     abbrev
+Summary:       Abbreviation calculator for Node.js
+Name:          nodejs-%{pkg}
+Version:       1.0.3
+Release:       1
+License:       MIT
+Group:         Development/Libraries
+URL:           https://github.com/isaacs/abbrev-js
+Source0:       http://registry.npmjs.org/abbrev/-/abbrev-%{version}.tgz
+# Source0-md5: 1f71ac1c233f52712018b60f9f926239
+BuildRequires: rpmbuild(macros) >= 1.634
+Requires:      nodejs
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Calculate the set of unique abbreviations for a given set of strings.
+
+%prep
+%setup -qc
+mv package/* .
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
+cp -pr lib package.json $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%{nodejs_libdir}/%{pkg}
This page took 0.05765 seconds and 4 git commands to generate.