[packages/nodejs-github-url-from-username-repo] - new

kiesiu kiesiu at pld-linux.org
Wed Mar 12 13:55:19 CET 2014


commit 95837530b007dfe372f27fec6fdf0072b26bd6cc
Author: Łukasz Kieś <kiesiu at pld-linux.org>
Date:   Wed Mar 12 13:54:53 2014 +0100

    - new

 nodejs-github-url-from-username-repo.spec | 35 +++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
---
diff --git a/nodejs-github-url-from-username-repo.spec b/nodejs-github-url-from-username-repo.spec
new file mode 100644
index 0000000..3380a9b
--- /dev/null
+++ b/nodejs-github-url-from-username-repo.spec
@@ -0,0 +1,35 @@
+%define		pkg	github-url-from-username-repo
+Summary:	Create urls from github username/repo
+Name:		nodejs-%{pkg}
+Version:	0.0.2
+Release:	1
+License:	MIT
+Group:		Development/Libraries
+Source0:	http://registry.npmjs.org/%{pkg}/-/%{pkg}-%{version}.tgz
+# Source0-md5:	665679078e592d04657e3abf09d771a4
+URL:		https://github.com/robertkowalski/github-url-from-username-repo
+BuildRequires:	rpmbuild(macros) >= 1.634
+Requires:	nodejs
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Create urls from github username/repo.
+
+%prep
+%setup -qc
+mv package/* .
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
+cp -pr index.js 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}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nodejs-github-url-from-username-repo.git/commitdiff/95837530b007dfe372f27fec6fdf0072b26bd6cc



More information about the pld-cvs-commit mailing list