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