1 |
jpp |
1.19 |
# $Id: smeserver-phpldapadmin.spec,v 1.18 2022/08/01 03:11:47 jpp Exp $ |
2 |
jpp |
1.1 |
# Authority: nocvs |
3 |
|
|
# Name: Michel Van hees |
4 |
|
|
|
5 |
|
|
Summary: PhpLdapAdmin for SME server |
6 |
|
|
%define name smeserver-phpldapadmin |
7 |
|
|
Name: %{name} |
8 |
jcrisp |
1.9 |
%define version 1.6.0 |
9 |
jpp |
1.19 |
%define release 9 |
10 |
jpp |
1.1 |
Version: %{version} |
11 |
|
|
Release: %{release}%{?dist} |
12 |
|
|
License: Freely distributable |
13 |
|
|
Group: Apache |
14 |
|
|
Source: %{name}-%{version}.tar.gz |
15 |
|
|
#{name}-%{version}.patch.yyyymmddnn |
16 |
|
|
BuildRoot: /var/tmp/e-smith-buildroot |
17 |
|
|
BuildRequires: e-smith-devtools |
18 |
|
|
BuildArchitectures: noarch |
19 |
jpp |
1.2 |
Requires: smeserver-release >= 10 |
20 |
jpp |
1.18 |
Requires: e-smith-apache >= 2.6.0-19 |
21 |
jcrisp |
1.9 |
Requires: phpldapadmin >= 1.2.6 |
22 |
jpp |
1.14 |
Patch0: smeserver-phpldapadmin-1.6.0-Add-in-update-event-and-php-fpm-stuff.patch |
23 |
|
|
Patch1: smeserver-phpldapadmin-1.6.0-password-hash-renamed-in-config.patch |
24 |
|
|
Patch2: smeserver-phpldapadmin-1.6.0-Alter-config-auth-type.patch |
25 |
|
|
Patch3: smeserver-phpldapadmin-1.6.0-Remove-intial-req-to-login.patch |
26 |
|
|
Patch4: smeserver-phpldapadmin-1.6.0-bz12055-httpd24.patch |
27 |
terryfage |
1.17 |
Patch5:smeserver-phpldapadmin-1.6.0-bz12055-24syntax.patch |
28 |
jpp |
1.1 |
AutoReqProv: no |
29 |
|
|
|
30 |
|
|
%changelog |
31 |
jpp |
1.19 |
* Sun Jul 31 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.6.0-9.sme |
32 |
jpp |
1.18 |
- update to template httpd24 syntax [SME: 12055] |
33 |
|
|
add Requires: e-smith-apache >= 2.6.0-19 |
34 |
|
|
|
35 |
|
|
* Wed Jul 27 2022 Zsolt Vasarhelyi <vasarhelyizsolt@hotmail.com> 1.6.0-7.sme |
36 |
terryfage |
1.17 |
- update to template httpd24 syntax [SME: 12055] |
37 |
|
|
|
38 |
jpp |
1.14 |
* Sat Jul 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.6.0-6.sme |
39 |
|
|
- update access to httpd24 syntax [SME: 12055] |
40 |
|
|
|
41 |
brianr |
1.13 |
* Wed Oct 06 2021 Brian Read <brianr@bjsystems.co.uk> 1.6.0-5.sme |
42 |
|
|
- Remove-intial-req-to-login.patch [SME: 11699] |
43 |
|
|
|
44 |
brianr |
1.12 |
* Tue Oct 05 2021 Brian Read <brianr@bjsystems.co.uk> 1.6.0-4.sme |
45 |
|
|
- Alter auth-type config parameter to cookie from http [SME: 11699] |
46 |
|
|
|
47 |
brianr |
1.11 |
* Mon Oct 04 2021 Brian Read <brianr@bjsystems.co.uk> 1.6.0-3.sme |
48 |
|
|
- Update config to change password_hash to pla_ [SME: 11699 ] |
49 |
|
|
|
50 |
brianr |
1.10 |
* Mon Oct 04 2021 BogusDateBot |
51 |
|
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
52 |
|
|
by assuming the date is correct and changing the weekday. |
53 |
|
|
|
54 |
|
|
* Mon Oct 04 2021 Brian Read <brianr@bjsystems.co.uk> 1.6.0-2.sme |
55 |
|
|
- change php to fpm and add -update event to createlinks [SME: 11699] |
56 |
|
|
|
57 |
jcrisp |
1.9 |
* Tue Sep 28 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.6.0-1.sme |
58 |
|
|
- Initial release to contribs10 [SME: 11699] |
59 |
jpp |
1.2 |
|
60 |
jpp |
1.1 |
* Sat Aug 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.5.0-2.sme |
61 |
|
|
- Initial release to contribs9 |
62 |
|
|
|
63 |
|
|
* Sat Jun 21 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.5.0-1.sme |
64 |
|
|
- Initial release to sme9 |
65 |
|
|
|
66 |
|
|
* Wed Nov 6 2013 JP Pialasse <tests@pialasse.com> 1.2.3-6.sme |
67 |
|
|
- fix bug [SME: 5762] |
68 |
|
|
- default admin read only but kamikaze mod for root modify access. |
69 |
|
|
|
70 |
|
|
* Mon Nov 4 2013 JP Pialasse <tests@pialasse.com> 1.2.3-4.sme |
71 |
|
|
- wrong template path for config file [SME: 7975] |
72 |
|
|
- patching also incorrect template. |
73 |
|
|
- error binding to server swith to http auth to prevent |
74 |
|
|
|
75 |
|
|
* Sun May 26 2013 JP Pialasse <tests@pialasse.com> 1.2.3-1.sme |
76 |
|
|
- remove phpldapadmin from package |
77 |
|
|
- added Requires phpldapadmin-1.2.3-1 |
78 |
|
|
- clean spec file |
79 |
|
|
- added default db value (patch file) |
80 |
|
|
|
81 |
jpp |
1.16 |
* Tue Jun 26 2007 Michel Van hees <michel@vanhees.cc> |
82 |
|
|
Thu Jun 26 2007 --> Thu Jun 21 2007 or Tue Jun 26 2007 or Thu Jun 28 2007 or .... |
83 |
jpp |
1.1 |
- Restart contrib from scratch |
84 |
|
|
- Use of phpldapadmin 0.9.8.3 |
85 |
|
|
|
86 |
|
|
%description |
87 |
jcrisp |
1.9 |
SME server - phpldapadmin for smeserver |
88 |
jpp |
1.1 |
|
89 |
|
|
%prep |
90 |
|
|
%setup |
91 |
brianr |
1.10 |
%patch0 -p1 |
92 |
brianr |
1.11 |
%patch1 -p1 |
93 |
brianr |
1.12 |
%patch2 -p1 |
94 |
brianr |
1.13 |
%patch3 -p1 |
95 |
jpp |
1.14 |
%patch4 -p1 |
96 |
terryfage |
1.17 |
%patch5 -p1 |
97 |
jpp |
1.1 |
|
98 |
jpp |
1.7 |
%build |
99 |
jpp |
1.1 |
perl createlinks |
100 |
|
|
|
101 |
|
|
%install |
102 |
|
|
rm -rf $RPM_BUILD_ROOT |
103 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
104 |
|
|
rm -f %{name}-%{version}-filelist |
105 |
jcrisp |
1.9 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
106 |
jpp |
1.1 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
107 |
|
|
|
108 |
|
|
%clean |
109 |
|
|
rm -rf $RPM_BUILD_ROOT |
110 |
|
|
|
111 |
|
|
%pre |
112 |
|
|
|
113 |
|
|
%preun |
114 |
|
|
|
115 |
|
|
%post |
116 |
|
|
|
117 |
|
|
%postun |
118 |
|
|
|
119 |
|
|
%files -f %{name}-%{version}-filelist |
120 |
|
|
%defattr(-,root,root) |