]> git.pld-linux.org Git - SPECS.git/blob - myadmin.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / myadmin.spec
1 Summary:        Myadmin - web-based MySQL administration
2 Summary(pl.UTF-8):      Myadmin - administracja bazami MySQL przez WWW
3 Name:           myadmin
4 Version:        0.4
5 Release:        1
6 License:        GPL
7 Group:          Applications/Databases/Interfaces
8 Source0:        ftp://myadmin.cheapnet.net/pub/myadmin/%{name}-%{version}.tar.gz
9 # Source0-md5:  9915ce0cf36c9e33bf4bf8a600a6d85d
10 Patch0:         %{name}-perlpath.patch
11 URL:            http://myadmin.cheapnet.net/
12 Requires:       mysql
13 Requires:       perl
14 Requires:       perl-CGI
15 Requires:       perl-DBI
16 Requires:       perl-Msql-Mysql-modules
17 Requires:       webserver
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _cgibindir      /home/services/httpd/cgi-bin
22
23 %description
24 MyAdmin is a web cgi written in perl to fully administer the MySQL
25 database created by http://www.tcx.se/ SQL interface, imports and
26 export via the web. It can administrate any database on any server
27 that the cgi host has permissions to connect.
28
29 %description -l pl.UTF-8
30 MyAdmin jest napisanym w perl'u skryptem cgi służącym do
31 administrowania bazami danych MySQL. Interfejs SQL tworzony został
32 przez http://www.tcx.se/. Potrafi zarządzać każdą bazą danych, do
33 której host ma możliwość się połączyć.
34
35 %prep
36 %setup -q
37 %patch0 -p1
38
39 %build
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 install -d $RPM_BUILD_ROOT%{_cgibindir}
45
46 cp myadmin.cgi $RPM_BUILD_ROOT%{_cgibindir}/myadmin.cgi
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc CHANGES TODO
54 %attr(755,root,root) %{_cgibindir}/myadmin.cgi
This page took 0.332195 seconds and 3 git commands to generate.