]> git.pld-linux.org Git - SPECS.git/blob - mysqldumpgrants.spec
SPECS updated Tue 30 Apr 15:13:02 CEST 2024
[SPECS.git] / mysqldumpgrants.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        Dumps grants from a MySQL database as valid SQL
3 Summary(pl.UTF-8):      Wyciąganie uprawnień z bazy danych MySQL w postaci poprawnego SQL-a
4 Name:           mysqldumpgrants
5 Version:        1.0
6 Release:        4
7 License:        GPL
8 Group:          Applications/Databases/Interfaces
9 Source0:        %{name}.pl
10 URL:            http://forge.mysql.com/tools/tool.php?id=12
11 BuildRequires:  perl-tools-pod
12 BuildRequires:  rpm-perlprov >= 4.1-13
13 Requires:       perl-DBD-mysql
14 Requires:       perl-Encode
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 mysqldumpgrants dumps the grants of a MySQL database as valid SQL
20 commands.
21
22 this package is not maintained, use mk-show-grants from maatkit
23 instead.
24
25 %description -l pl.UTF-8
26 mysqldumpgrants wyciąga informacje o uprawnieniach z bazy danych MySQL
27 w postaci poprawnych poleceń SQL.
28
29 %prep
30 %setup -qcT
31 install -p %{SOURCE0} %{name}
32
33 %build
34 pod2man %{name} > %{name}.1
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
39 install -p %{name} $RPM_BUILD_ROOT%{_bindir}
40 cp -p %{name}.1  $RPM_BUILD_ROOT%{_mandir}/man1
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %attr(755,root,root) %{_bindir}/mysqldumpgrants
48 %{_mandir}/man1/mysqldumpgrants.1*
This page took 0.465641 seconds and 3 git commands to generate.