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