1 |
slords |
1.5 |
# $Id: smeserver-phpmyadmin.spec,v 1.4 2008/05/15 20:15:37 snetram Exp $ |
2 |
slords |
1.1 |
# 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 |
snetram |
1.4 |
%define release 3 |
10 |
slords |
1.1 |
Version: %{version} |
11 |
|
|
Release: %{release}%{?dist} |
12 |
|
|
License: GPL |
13 |
|
|
Group: Mitel/addon |
14 |
|
|
Source: %{name}-%{version}.tar.gz |
15 |
snetram |
1.3 |
Patch0: smeserver-phpmyadmin-2.11.1.2-FixLocation.patch |
16 |
|
|
Patch1: smeserver-phpmyadmin-2.11.1.2-TemplateExpansionAndServiceRestart.patch |
17 |
snetram |
1.4 |
Patch2: smeserver-phpmyadmin-2.11.1.2-TemplatePermission.patch |
18 |
slords |
1.1 |
URL: http://www.phpmyadmin.net/ |
19 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
|
|
BuildArchitectures: noarch |
21 |
|
|
Requires: e-smith-base |
22 |
slords |
1.2 |
Requires: phpmyadmin |
23 |
slords |
1.1 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
24 |
|
|
Obsoletes: e-smith-phpmyadmin |
25 |
slords |
1.2 |
Obsoletes: smeserver-phpmyadmin <= 2.11.1.2-1 |
26 |
slords |
1.1 |
|
27 |
|
|
%description |
28 |
|
|
Implementation of phpMyAdmin for SME Server. |
29 |
|
|
Access with admin username/password via: https://yourdomain/phpmyadmin. |
30 |
|
|
|
31 |
|
|
%changelog |
32 |
snetram |
1.4 |
* 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 |
snetram |
1.3 |
* Wed May 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> |
37 |
slords |
1.2 |
- Converted RPM to be an integrational RPM [SME: 4298]: |
38 |
snetram |
1.3 |
- 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 |
slords |
1.2 |
|
42 |
slords |
1.1 |
* 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 |
snetram |
1.3 |
%patch0 -p1 |
72 |
|
|
%patch1 -p1 |
73 |
snetram |
1.4 |
%patch2 -p1 |
74 |
snetram |
1.3 |
|
75 |
|
|
%build |
76 |
|
|
perl createlinks |
77 |
slords |
1.1 |
|
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 |
|
|
|