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