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