Author: glen                         Date: Thu Mar 15 15:10:40 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/nodejs-mysql-native:
   nodejs-mysql-native.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/nodejs-mysql-native/nodejs-mysql-native.spec
diff -u /dev/null packages/nodejs-mysql-native/nodejs-mysql-native.spec:1.1
--- /dev/null   Thu Mar 15 16:10:41 2012
+++ packages/nodejs-mysql-native/nodejs-mysql-native.spec       Thu Mar 15 
16:10:35 2012
@@ -0,0 +1,48 @@
+# $Revision$, $Date$
+%define                pkg     mysql-native
+Summary:       MySql protocol client for Node.js
+Name:          nodejs-%{pkg}
+Version:       0.4.4
+Release:       1
+License:       MIT
+Group:         Development/Libraries
+URL:           http://github.com/sidorares/nodejs-mysql-native
+Source0:       http://registry.npmjs.org/mysql-native/-/%{pkg}-%{version}.tgz
+# Source0-md5: abfc7ebcf268c61c20d12c093ddc880b
+BuildRequires: rpmbuild(macros) >= 1.634
+Requires:      nodejs
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+%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}
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS Changelog LICENSE README.md
+%{nodejs_libdir}/%{pkg}
+%{_examplesdir}/%{name}-%{version}
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[email protected]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2012/03/15 15:10:35  glen
+- new
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to