1 |
jpp |
1.1 |
Summary: phpPgAdmin for Koozali SME Server |
2 |
|
|
Name: smeserver-phppgadmin |
3 |
|
|
Version: 1.5.0 |
4 |
|
|
Release: 1%{?dist} |
5 |
|
|
License: GPL |
6 |
|
|
Source: %{name}-%{version}.tgz |
7 |
|
|
URL: https://wiki.koozali.org/Phppgadmin |
8 |
|
|
BuildArch: noarch |
9 |
|
|
|
10 |
|
|
Requires: smeserver-postgresql |
11 |
|
|
Requires: smeserver-php |
12 |
|
|
Requires: phpPgAdmin |
13 |
|
|
Requires: php74-php-pgsql |
14 |
|
|
BuildRequires: perl |
15 |
|
|
BuildRequires: e-smith-devtools |
16 |
|
|
|
17 |
|
|
%description |
18 |
|
|
Implementation of phpPgAdmin for Koozali SME Server |
19 |
|
|
|
20 |
|
|
%prep |
21 |
|
|
%setup |
22 |
|
|
|
23 |
|
|
%build |
24 |
|
|
perl createlinks |
25 |
|
|
%{__mkdir_p} root/var/lib/php/phppgadmin/{tmp,session,opcache,wsdlcache} |
26 |
|
|
%{__mkdir_p} root/var/log/php/phppgadmin |
27 |
|
|
|
28 |
|
|
|
29 |
|
|
%install |
30 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
31 |
|
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
32 |
|
|
|
33 |
|
|
/sbin/e-smith/genfilelist \ |
34 |
|
|
--dir /var/lib/php/phppgadmin/ 'attr(0755,root,www)' \ |
35 |
|
|
--dir /var/lib/php/phppgadmin/tmp 'attr(0770,www,www)' \ |
36 |
|
|
--dir /var/lib/php/phppgadmin/opcache 'attr(0770,www,www)' \ |
37 |
|
|
--dir /var/lib/php/phppgadmin/session 'attr(0770,www,www)' \ |
38 |
|
|
--dir /var/lib/php/phppgadmin/wsdlcache 'attr(0770,www,www)' \ |
39 |
|
|
--dir /var/log/php/phppgadmin 'attr(0770,root,www)' \ |
40 |
|
|
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
41 |
|
|
|
42 |
|
|
%files -f %{name}-%{version}-filelist |
43 |
|
|
%defattr(-,root,root) |
44 |
|
|
|
45 |
|
|
%clean |
46 |
|
|
rm -rf $RPM_BUILD_ROOT |
47 |
|
|
|
48 |
|
|
%postun |
49 |
|
|
|
50 |
|
|
%changelog |
51 |
|
|
* Mon Dec 26 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.5.0-1 |
52 |
|
|
- initial release for SME 10 |
53 |
|
|
|
54 |
|
|
* Sun Jul 05 2020 stephane de Labrusse <stephdl@de-labrusse.fr> 1.0.2 |
55 |
|
|
- Remove http templates after rpm removal |
56 |
|
|
|
57 |
|
|
* Thu Mar 05 2020 stephane de Labrusse <stephdl@de-labrusse.fr> 1.0.1-1.ns7 |
58 |
|
|
- Fix bad sudoers permission |
59 |
|
|
|
60 |
|
|
* Mon Oct 14 2019 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.0.4-1.ns7 |
61 |
|
|
- cockpit. added to legacy apps |
62 |
|
|
|
63 |
|
|
* Sun Sep 10 2017 Stephane de Labrusse <stephdl@de-labrusse.fr> - 0.0.3-1.ns7 |
64 |
|
|
- Restart httpd service on trusted-network |
65 |
|
|
|
66 |
|
|
* Wed Mar 29 2017 Stephane de Labrusse <stephdl@de-labrusse.fr> - 0.0.2-1.ns7 |
67 |
|
|
- Template expansion on trusted-network |
68 |
|
|
|
69 |
|
|
* Sun Mar 12 2017 Stephane de Labrusse <stephdl@de-labrusse.fr> - 0.0.1-2.ns7 |
70 |
|
|
- GPL license |
71 |
|
|
|
72 |
|
|
* Thu Dec 22 2016 stephane de labrusse <stephdl@de-labrusse.fr> - 0.0.1-1.ns7 |
73 |
|
|
- NS7 version |