SPECS: mysqldumpgrants.spec (NEW) - new

glen glen at pld-linux.org
Mon Dec 10 14:45:47 CET 2007


Author: glen                         Date: Mon Dec 10 13:45:47 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   mysqldumpgrants.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/mysqldumpgrants.spec
diff -u /dev/null SPECS/mysqldumpgrants.spec:1.1
--- /dev/null	Mon Dec 10 14:45:47 2007
+++ SPECS/mysqldumpgrants.spec	Mon Dec 10 14:45:41 2007
@@ -0,0 +1,48 @@
+# $Revision$, $Date$
+Summary:	Dumps grants from a MySQL database as valid SQL
+Name:		mysqldumpgrants
+Version:	1.0
+Release:	1
+License:	GPL
+Group:		Applications
+Source0:	http://forge.mysql.com/snippets/download.php?id=12
+# Source0-md5:	c556ab1f346698e1994c97e1ae773b4e
+URL:		http://forge.mysql.com/snippets/view.php?id=12
+BuildRequires:	perl-tools-pod
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+mysqldumpgrants dumps the grants of a MySQL database as valid SQL
+commands.
+
+%prep
+%setup -qcT
+%{__sed} -e 's,\r$,,' %{SOURCE0} > %{name}
+
+%build
+pod2man %{name} > %{name}.1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
+install %{name} $RPM_BUILD_ROOT%{_bindir}
+install %{name}.1  $RPM_BUILD_ROOT%{_mandir}/man1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/mysqldumpgrants
+%{_mandir}/man1/mysqldumpgrants.1*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007-12-10 13:45:41  glen
+- new
+
================================================================


More information about the pld-cvs-commit mailing list