1 |
# $Id: smeserver-phpmyadmin.spec,v 1.5 2013/06/19 03:04:04 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 4 |
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-4 |
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 |
- release bump to 4 to fix spec file |
37 |
|
38 |
* Thu Aug 06 2012 JP Pialasse aka Unnilennium <tests@pialasse.com> 3.5.2.2-2 |
39 |
- first version for SME 8 |
40 |
- adaptation for phpMyAdmin3 3.5.2.2 |
41 |
|
42 |
* Thu May 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.11.1.2-3 |
43 |
- Protect sensible data and prevent access error by setting |
44 |
proper permissions to config.inc.php template [SME: 4343] |
45 |
|
46 |
* Wed May 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> |
47 |
- Converted RPM to be an integrational RPM [SME: 4298]: |
48 |
- Convert and move templates to RPMForge (Dag) install location [SME: 4339] |
49 |
- Automatically expand phpmyadmin configuation file (config.php.inc) [SME: 4340] |
50 |
- Remove PHPMyAdmin core [SME: 4341] |
51 |
|
52 |
* Mon Apr 21 2008 Shad L. Lords <slords@mail.com> |
53 |
- Prep for import into buildsys |
54 |
- Clean up spec |
55 |
|
56 |
* Fri Oct 19 2007 Darrell May <dmay@myezserver.com> |
57 |
- accounts and configuration db phpmyadmin defaults added |
58 |
- default access restricted to private (private|public) |
59 |
- phpMyAdmin 2.11.1.2 |
60 |
- [ 2.11.1.2-0] |
61 |
* Fri Mar 09 2007 Darrell May <dmay@myezserver.com> |
62 |
- phpMyAdmin 2.10.0.2 |
63 |
- [ 2.10.0.2-0] |
64 |
* Thu Oct 12 2006 Darrell May <dmay@myezserver.com> |
65 |
- phpMyAdmin 2.9.0.2 |
66 |
- [ 2.9.0.2-0] |
67 |
* Thu Dec 15 2005 Darrell May <dmay@myezserver.com> |
68 |
- phpMyAdmin 2.6.4-pl4 |
69 |
- [ 2.6.4-pl4] |
70 |
* Fri Apr 22 2005 Darrell May <dmay@myezserver.com> |
71 |
- added support for SME 7.x |
72 |
- [ 2.6.2-2] |
73 |
* Mon Apr 18 2005 Darrell May <dmay@myezserver.com> |
74 |
- Release 2.6.2 of phpMyAdmin |
75 |
- change rpm name to smeserver-phpmyadmin |
76 |
- change install dir to /opt/phpmyadmin |
77 |
- [ 2.6.2-1] |
78 |
|
79 |
%prep |
80 |
%setup |
81 |
%patch0 -p1 |
82 |
#%patch1 -p1 |
83 |
#%patch2 -p1 |
84 |
|
85 |
%build |
86 |
perl createlinks |
87 |
|
88 |
%install |
89 |
/bin/rm -rf $RPM_BUILD_ROOT |
90 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
91 |
/bin/rm -f %{name}-%{version}-filelist |
92 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
93 |
|
94 |
%files -f %{name}-%{version}-filelist |
95 |
%defattr(-,root,root) |
96 |
|
97 |
%clean |
98 |
rm -rf $RPM_BUILD_ROOT |
99 |
|