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