1 |
# $Id$ |
# $Id: smeserver-phpmyadmin.spec,v 1.3 2008/05/14 19:08:10 snetram Exp $ |
2 |
# Authority: darrellmay |
# Authority: darrellmay |
3 |
# Name: Darrell May |
# Name: Darrell May |
4 |
|
|
6 |
%define name smeserver-phpmyadmin |
%define name smeserver-phpmyadmin |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 2.11.1.2 |
%define version 2.11.1.2 |
9 |
%define release 1 |
%define release 3 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
13 |
Group: Mitel/addon |
Group: Mitel/addon |
14 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
15 |
|
Patch0: smeserver-phpmyadmin-2.11.1.2-FixLocation.patch |
16 |
|
Patch1: smeserver-phpmyadmin-2.11.1.2-TemplateExpansionAndServiceRestart.patch |
17 |
|
Patch2: smeserver-phpmyadmin-2.11.1.2-TemplatePermission.patch |
18 |
URL: http://www.phpmyadmin.net/ |
URL: http://www.phpmyadmin.net/ |
19 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
21 |
Requires: e-smith-base |
Requires: e-smith-base |
22 |
|
Requires: phpmyadmin |
23 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
24 |
Obsoletes: e-smith-phpmyadmin |
Obsoletes: e-smith-phpmyadmin |
25 |
|
Obsoletes: smeserver-phpmyadmin <= 2.11.1.2-1 |
26 |
|
|
27 |
%description |
%description |
28 |
Implementation of phpMyAdmin for SME Server. |
Implementation of phpMyAdmin for SME Server. |
29 |
Access with admin username/password via: https://yourdomain/phpmyadmin. |
Access with admin username/password via: https://yourdomain/phpmyadmin. |
30 |
|
|
31 |
%changelog |
%changelog |
32 |
|
* Thu May 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.11.1.2-3 |
33 |
|
- Protect sensible data and prevent access error by setting |
34 |
|
proper permissions to config.inc.php template [SME: 4343] |
35 |
|
|
36 |
|
* Wed May 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> |
37 |
|
- Converted RPM to be an integrational RPM [SME: 4298]: |
38 |
|
- Convert and move templates to RPMForge (Dag) install location [SME: 4339] |
39 |
|
- Automatically expand phpmyadmin configuation file (config.php.inc) [SME: 4340] |
40 |
|
- Remove PHPMyAdmin core [SME: 4341] |
41 |
|
|
42 |
* Mon Apr 21 2008 Shad L. Lords <slords@mail.com> |
* Mon Apr 21 2008 Shad L. Lords <slords@mail.com> |
43 |
- Prep for import into buildsys |
- Prep for import into buildsys |
44 |
- Clean up spec |
- Clean up spec |
68 |
|
|
69 |
%prep |
%prep |
70 |
%setup |
%setup |
71 |
|
%patch0 -p1 |
72 |
|
%patch1 -p1 |
73 |
|
%patch2 -p1 |
74 |
|
|
75 |
|
%build |
76 |
|
perl createlinks |
77 |
|
|
78 |
%install |
%install |
79 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |