1 |
jpp |
1.15 |
# $Id: smeserver-phpldapadmin.spec,v 1.14 2022/07/24 03:44:42 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.15 |
* Thu Jun 26 2007 Michel Van hees <michel@vanhees.cc> |
73 |
jpp |
1.1 |
- Restart contrib from scratch |
74 |
|
|
- Use of phpldapadmin 0.9.8.3 |
75 |
|
|
|
76 |
|
|
%description |
77 |
jcrisp |
1.9 |
SME server - phpldapadmin for smeserver |
78 |
jpp |
1.1 |
|
79 |
|
|
%prep |
80 |
|
|
%setup |
81 |
brianr |
1.10 |
%patch0 -p1 |
82 |
brianr |
1.11 |
%patch1 -p1 |
83 |
brianr |
1.12 |
%patch2 -p1 |
84 |
brianr |
1.13 |
%patch3 -p1 |
85 |
jpp |
1.14 |
%patch4 -p1 |
86 |
jpp |
1.1 |
|
87 |
jpp |
1.7 |
%build |
88 |
jpp |
1.1 |
perl createlinks |
89 |
|
|
|
90 |
|
|
%install |
91 |
|
|
rm -rf $RPM_BUILD_ROOT |
92 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
93 |
|
|
rm -f %{name}-%{version}-filelist |
94 |
jcrisp |
1.9 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
95 |
jpp |
1.1 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
96 |
|
|
|
97 |
|
|
%clean |
98 |
|
|
rm -rf $RPM_BUILD_ROOT |
99 |
|
|
|
100 |
|
|
%pre |
101 |
|
|
|
102 |
|
|
%preun |
103 |
|
|
|
104 |
|
|
%post |
105 |
|
|
|
106 |
|
|
%postun |
107 |
|
|
|
108 |
|
|
%files -f %{name}-%{version}-filelist |
109 |
|
|
%defattr(-,root,root) |