1 |
# $Id: smeserver-phpmyadmin.spec,v 1.6 2008/11/25 16:20:28 slords Exp $ |
2 |
# Authority: darrellmay |
3 |
# Name: Darrell May |
4 |
|
5 |
Summary: phpMyAdmin for SME Server |
6 |
%define name smeserver-phpmyadmin |
7 |
Name: %{name} |
8 |
%define version 2.11.1.2 |
9 |
%define release 3 |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
Group: Mitel/addon |
14 |
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/ |
19 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
BuildArchitectures: noarch |
21 |
Requires: e-smith-base |
22 |
Requires: phpmyadmin |
23 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
24 |
Obsoletes: e-smith-phpmyadmin |
25 |
Obsoletes: smeserver-phpmyadmin <= 2.11.1.2-1 |
26 |
|
27 |
%description |
28 |
Implementation of phpMyAdmin for SME Server. |
29 |
Access with admin username/password via: https://yourdomain/phpmyadmin. |
30 |
|
31 |
%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> |
43 |
- Prep for import into buildsys |
44 |
- Clean up spec |
45 |
|
46 |
* Fri Oct 19 2007 Darrell May <dmay@myezserver.com> |
47 |
- accounts and configuration db phpmyadmin defaults added |
48 |
- default access restricted to private (private|public) |
49 |
- phpMyAdmin 2.11.1.2 |
50 |
- [ 2.11.1.2-0] |
51 |
* Fri Mar 09 2007 Darrell May <dmay@myezserver.com> |
52 |
- phpMyAdmin 2.10.0.2 |
53 |
- [ 2.10.0.2-0] |
54 |
* Thu Oct 12 2006 Darrell May <dmay@myezserver.com> |
55 |
- phpMyAdmin 2.9.0.2 |
56 |
- [ 2.9.0.2-0] |
57 |
* Thu Dec 15 2005 Darrell May <dmay@myezserver.com> |
58 |
- phpMyAdmin 2.6.4-pl4 |
59 |
- [ 2.6.4-pl4] |
60 |
* Fri Apr 22 2005 Darrell May <dmay@myezserver.com> |
61 |
- added support for SME 7.x |
62 |
- [ 2.6.2-2] |
63 |
* Mon Apr 18 2005 Darrell May <dmay@myezserver.com> |
64 |
- Release 2.6.2 of phpMyAdmin |
65 |
- change rpm name to smeserver-phpmyadmin |
66 |
- change install dir to /opt/phpmyadmin |
67 |
- [ 2.6.2-1] |
68 |
|
69 |
%prep |
70 |
%setup |
71 |
%patch0 -p1 |
72 |
%patch1 -p1 |
73 |
%patch2 -p1 |
74 |
|
75 |
%build |
76 |
perl createlinks |
77 |
|
78 |
%install |
79 |
/bin/rm -rf $RPM_BUILD_ROOT |
80 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
81 |
/bin/rm -f %{name}-%{version}-filelist |
82 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
83 |
|
84 |
%files -f %{name}-%{version}-filelist |
85 |
%defattr(-,root,root) |
86 |
|
87 |
%clean |
88 |
rm -rf $RPM_BUILD_ROOT |
89 |
|