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