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