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