1 |
# $Id: smeserver-phpmyadmin.spec,v 1.4 2013/06/19 02:54:10 unnilennium 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 3.5.2.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-3.5.2.2-configext.patch |
16 |
URL: http://www.phpmyadmin.net/ |
17 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
BuildArchitectures: noarch |
19 |
Requires: e-smith-base |
20 |
Requires: phpMyAdmin3 >= 3.5.2.2 |
21 |
Obsoletes: phpmyadmin |
22 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
23 |
Obsoletes: e-smith-phpmyadmin |
24 |
Obsoletes: smeserver-phpmyadmin <= 3.5.2.2-1 |
25 |
|
26 |
%description |
27 |
Implementation of phpMyAdmin for SME Server. |
28 |
Access with admin username/password via: https://yourdomain/phpmyadmin. |
29 |
|
30 |
%changelog |
31 |
* Tue Jun 18 2013 JP Pialasse <tests@pialasse.com> 3.5.2.2-3 |
32 |
- added full 3.5 configuration to avoid errors [SME: 7153] [SME: 7194] |
33 |
- incorporated multiuser contrib in this package [SME: 7628 7627 ] |
34 |
- increased security [SME: 5007] |
35 |
- configext.patch |
36 |
|
37 |
* Thu Aug 06 2012 JP Pialasse aka Unnilennium <tests@pialasse.com> 3.5.2.2-2 |
38 |
- first version for SME 8 |
39 |
- adaptation for phpMyAdmin3 3.5.2.2 |
40 |
|
41 |
* Thu May 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.11.1.2-3 |
42 |
- Protect sensible data and prevent access error by setting |
43 |
proper permissions to config.inc.php template [SME: 4343] |
44 |
|
45 |
* Wed May 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> |
46 |
- Converted RPM to be an integrational RPM [SME: 4298]: |
47 |
- Convert and move templates to RPMForge (Dag) install location [SME: 4339] |
48 |
- Automatically expand phpmyadmin configuation file (config.php.inc) [SME: 4340] |
49 |
- Remove PHPMyAdmin core [SME: 4341] |
50 |
|
51 |
* Mon Apr 21 2008 Shad L. Lords <slords@mail.com> |
52 |
- Prep for import into buildsys |
53 |
- Clean up spec |
54 |
|
55 |
* Fri Oct 19 2007 Darrell May <dmay@myezserver.com> |
56 |
- accounts and configuration db phpmyadmin defaults added |
57 |
- default access restricted to private (private|public) |
58 |
- phpMyAdmin 2.11.1.2 |
59 |
- [ 2.11.1.2-0] |
60 |
* Fri Mar 09 2007 Darrell May <dmay@myezserver.com> |
61 |
- phpMyAdmin 2.10.0.2 |
62 |
- [ 2.10.0.2-0] |
63 |
* Thu Oct 12 2006 Darrell May <dmay@myezserver.com> |
64 |
- phpMyAdmin 2.9.0.2 |
65 |
- [ 2.9.0.2-0] |
66 |
* Thu Dec 15 2005 Darrell May <dmay@myezserver.com> |
67 |
- phpMyAdmin 2.6.4-pl4 |
68 |
- [ 2.6.4-pl4] |
69 |
* Fri Apr 22 2005 Darrell May <dmay@myezserver.com> |
70 |
- added support for SME 7.x |
71 |
- [ 2.6.2-2] |
72 |
* Mon Apr 18 2005 Darrell May <dmay@myezserver.com> |
73 |
- Release 2.6.2 of phpMyAdmin |
74 |
- change rpm name to smeserver-phpmyadmin |
75 |
- change install dir to /opt/phpmyadmin |
76 |
- [ 2.6.2-1] |
77 |
|
78 |
%prep |
79 |
%setup |
80 |
%patch0 -p1 |
81 |
#%patch1 -p1 |
82 |
#%patch2 -p1 |
83 |
|
84 |
%build |
85 |
perl createlinks |
86 |
|
87 |
%install |
88 |
/bin/rm -rf $RPM_BUILD_ROOT |
89 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
90 |
/bin/rm -f %{name}-%{version}-filelist |
91 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
92 |
|
93 |
%files -f %{name}-%{version}-filelist |
94 |
%defattr(-,root,root) |
95 |
|
96 |
%clean |
97 |
rm -rf $RPM_BUILD_ROOT |
98 |
|