1 |
# $Id: smeserver-phpldapadmin.spec,v 1.15 2022/07/24 03:46:10 jpp Exp $ |
2 |
# Authority: nocvs |
3 |
# Name: Michel Van hees |
4 |
|
5 |
Summary: PhpLdapAdmin for SME server |
6 |
%define name smeserver-phpldapadmin |
7 |
Name: %{name} |
8 |
%define version 1.6.0 |
9 |
%define release 6 |
10 |
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 |
Requires: smeserver-release >= 10 |
20 |
Requires: phpldapadmin >= 1.2.6 |
21 |
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 |
AutoReqProv: no |
27 |
|
28 |
%changelog |
29 |
* 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 |
* 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 |
* 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 |
* 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 |
* 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 |
* Tue Sep 28 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.6.0-1.sme |
49 |
- Initial release to contribs10 [SME: 11699] |
50 |
|
51 |
* 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 |
* 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 |
- Restart contrib from scratch |
75 |
- Use of phpldapadmin 0.9.8.3 |
76 |
|
77 |
%description |
78 |
SME server - phpldapadmin for smeserver |
79 |
|
80 |
%prep |
81 |
%setup |
82 |
%patch0 -p1 |
83 |
%patch1 -p1 |
84 |
%patch2 -p1 |
85 |
%patch3 -p1 |
86 |
%patch4 -p1 |
87 |
|
88 |
%build |
89 |
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 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
96 |
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) |