1 |
stephdl |
1.1 |
# $Id: smeserver-phpmyadmin.spec,v 1.8 2013/06/23 00:20:28 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 4.0.10.2 |
9 |
|
|
%define release 3 |
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: phpMyAdmin >= 4.0.10.1 |
20 |
|
|
Requires: e-smith-release >= 9.0 |
21 |
|
|
Obsoletes: phpmyadmin,phpMyAdmin3 |
22 |
|
|
BuildRequires: e-smith-devtools |
23 |
|
|
Obsoletes: e-smith-phpmyadmin |
24 |
|
|
Obsoletes: smeserver-phpmyadmin <= 3.5.2.2-1 |
25 |
|
|
Obsoletes: smeserver-phpmyadmin-multiuser |
26 |
|
|
|
27 |
|
|
%description |
28 |
|
|
Implementation of phpMyAdmin for SME Server. |
29 |
|
|
Access with admin username/password via: https://yourdomain/phpmyadmin. |
30 |
|
|
|
31 |
|
|
%changelog |
32 |
|
|
* Sat Aug 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 4.0.10.2-3.sme |
33 |
|
|
- Initial release to contribs9 |
34 |
|
|
|
35 |
|
|
* Sun Sep 28 2014 stephane de labrusse <stephdl@de-labrusse.fr> 4.0.10.2-2.sme |
36 |
|
|
- added a tmp folder other that the /tmp [SME:8577] |
37 |
|
|
- added some db values to adjust php limits (PostMaxSize,UploadMaxSize,MemoryLimit) |
38 |
|
|
|
39 |
|
|
* Sun Sep 28 2014 stephane de labrusse <stephdl@de-labrusse.fr> 4.0.10.2-1.sme |
40 |
|
|
- added an event template on 'phpmyadmin-update' |
41 |
|
|
- added a phpmyadmin.sql db to save settings in db |
42 |
|
|
- new cool features (bookmarktable,relation,userconfig,table_info,column_info,history, |
43 |
|
|
- recent,table_uiprefs,tracking,table_coords,pdf_pages,designer_coords) |
44 |
|
|
- the http://url/setup page is now forbidden by apache |
45 |
|
|
- a db 'status' exists now to disable simply phpmyadmin in httpd.conf |
46 |
|
|
- removed the openbasedir of /tmp to /var/lib/phpMyAdmin/tmp |
47 |
|
|
|
48 |
|
|
* Wed Sep 24 2014 stephane de labrusse <stephdl@de-labrusse.fr> 4.0.10.1-1.sme |
49 |
|
|
- add memory value up to 500M |
50 |
|
|
- add php upload/post up to 100M |
51 |
|
|
- add session.use_trans_sid 0 |
52 |
|
|
- directory 'scripts' removed of httpd templates |
53 |
|
|
- VersionCheck is off now |
54 |
|
|
|
55 |
|
|
* Mon May 19 2014 stephane de labrusse <stephdl@de-labrusse.fr> 3.5.8.2-2 |
56 |
|
|
-first release to sme9 |
57 |
|
|
-added an event template on 'signal-event console-save' |
58 |
|
|
|
59 |
|
|
* Sat Jun 22 2013 JP Pialasse <tests@pialasse.com> 3.5.2.2-6 |
60 |
|
|
- Obsolete multiuser [SME: 7685] |
61 |
|
|
|
62 |
|
|
* Tue Jun 18 2013 JP Pialasse <tests@pialasse.com> 3.5.2.2-5 |
63 |
|
|
- added full 3.5 configuration to avoid errors [SME: 7153] [SME: 7194] |
64 |
|
|
- incorporated multiuser contrib in this package [SME: 7628 7627 ] |
65 |
|
|
- increased security [SME: 5007] |
66 |
|
|
- configext.patch |
67 |
|
|
- release bump to 4 to fix spec file |
68 |
|
|
- patch1 to fix config.inc.php syntax error |
69 |
|
|
|
70 |
|
|
* Thu Aug 06 2012 JP Pialasse aka Unnilennium <tests@pialasse.com> 3.5.2.2-2 |
71 |
|
|
- first version for SME 8 |
72 |
|
|
- adaptation for phpMyAdmin3 3.5.2.2 |
73 |
|
|
|
74 |
|
|
* Thu May 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.11.1.2-3 |
75 |
|
|
- Protect sensible data and prevent access error by setting |
76 |
|
|
proper permissions to config.inc.php template [SME: 4343] |
77 |
|
|
|
78 |
|
|
* Wed May 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> |
79 |
|
|
- Converted RPM to be an integrational RPM [SME: 4298]: |
80 |
|
|
- Convert and move templates to RPMForge (Dag) install location [SME: 4339] |
81 |
|
|
- Automatically expand phpmyadmin configuation file (config.php.inc) [SME: 4340] |
82 |
|
|
- Remove PHPMyAdmin core [SME: 4341] |
83 |
|
|
|
84 |
|
|
* Mon Apr 21 2008 Shad L. Lords <slords@mail.com> |
85 |
|
|
- Prep for import into buildsys |
86 |
|
|
- Clean up spec |
87 |
|
|
|
88 |
|
|
* Fri Oct 19 2007 Darrell May <dmay@myezserver.com> |
89 |
|
|
- accounts and configuration db phpmyadmin defaults added |
90 |
|
|
- default access restricted to private (private|public) |
91 |
|
|
- phpMyAdmin 2.11.1.2 |
92 |
|
|
- [ 2.11.1.2-0] |
93 |
|
|
* Fri Mar 09 2007 Darrell May <dmay@myezserver.com> |
94 |
|
|
- phpMyAdmin 2.10.0.2 |
95 |
|
|
- [ 2.10.0.2-0] |
96 |
|
|
* Thu Oct 12 2006 Darrell May <dmay@myezserver.com> |
97 |
|
|
- phpMyAdmin 2.9.0.2 |
98 |
|
|
- [ 2.9.0.2-0] |
99 |
|
|
* Thu Dec 15 2005 Darrell May <dmay@myezserver.com> |
100 |
|
|
- phpMyAdmin 2.6.4-pl4 |
101 |
|
|
- [ 2.6.4-pl4] |
102 |
|
|
* Fri Apr 22 2005 Darrell May <dmay@myezserver.com> |
103 |
|
|
- added support for SME 7.x |
104 |
|
|
- [ 2.6.2-2] |
105 |
|
|
* Mon Apr 18 2005 Darrell May <dmay@myezserver.com> |
106 |
|
|
- Release 2.6.2 of phpMyAdmin |
107 |
|
|
- change rpm name to smeserver-phpmyadmin |
108 |
|
|
- change install dir to /opt/phpmyadmin |
109 |
|
|
- [ 2.6.2-1] |
110 |
|
|
|
111 |
|
|
%prep |
112 |
|
|
%setup |
113 |
|
|
|
114 |
|
|
%build |
115 |
|
|
%{__mkdir_p} root/var/lib/phpMyAdmin/tmp |
116 |
|
|
perl createlinks |
117 |
|
|
|
118 |
|
|
%install |
119 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
120 |
|
|
rm -f %{name}-%{version}-filelist |
121 |
|
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
122 |
|
|
/bin/rm -f %{name}-%{version}-filelist |
123 |
|
|
/sbin/e-smith/genfilelist \ |
124 |
|
|
--dir /var/lib/phpMyAdmin/tmp 'attr(0770,root,www)' \ |
125 |
|
|
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
126 |
|
|
echo "%doc CHANGELOG.git" >> %{name}-%{version}-filelist |
127 |
|
|
echo "%doc phpmyadmin.sql" >> %{name}-%{version}-filelist |
128 |
|
|
|
129 |
|
|
%files -f %{name}-%{version}-filelist |
130 |
|
|
%defattr(-,root,root) |
131 |
|
|
|
132 |
|
|
%clean |
133 |
|
|
rm -rf $RPM_BUILD_ROOT |
134 |
|
|
|