1 |
jpp |
1.2 |
# $Id: smeserver-phpldapadmin.spec,v 1.1 2021/06/01 15:47:06 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 |
|
|
%define version 1.5.0 |
9 |
jpp |
1.2 |
%define release 3 |
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 |
jpp |
1.2 |
Patch0: smeserver-phpldapadmin-1.5.0-bz11611.patch |
17 |
jpp |
1.1 |
BuildRoot: /var/tmp/e-smith-buildroot |
18 |
|
|
BuildRequires: e-smith-devtools |
19 |
|
|
BuildArchitectures: noarch |
20 |
jpp |
1.2 |
Requires: smeserver-release >= 10 |
21 |
|
|
Requires: phpldapadmin >= 1.2.5 |
22 |
|
|
Requires: php74-php-pecl-mcrypt |
23 |
jpp |
1.1 |
AutoReqProv: no |
24 |
|
|
|
25 |
|
|
%changelog |
26 |
jpp |
1.2 |
* Tue Jun 01 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.5.0-3.sme |
27 |
|
|
- Initial release to contribs10 [SME: 11611] |
28 |
|
|
|
29 |
jpp |
1.1 |
* Sat Aug 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.5.0-2.sme |
30 |
|
|
- Initial release to contribs9 |
31 |
|
|
|
32 |
|
|
* Sat Jun 21 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.5.0-1.sme |
33 |
|
|
- Initial release to sme9 |
34 |
|
|
|
35 |
|
|
* Wed Nov 6 2013 JP Pialasse <tests@pialasse.com> 1.2.3-6.sme |
36 |
|
|
- fix bug [SME: 5762] |
37 |
|
|
- default admin read only but kamikaze mod for root modify access. |
38 |
|
|
|
39 |
|
|
* Mon Nov 4 2013 JP Pialasse <tests@pialasse.com> 1.2.3-4.sme |
40 |
|
|
- wrong template path for config file [SME: 7975] |
41 |
|
|
- patching also incorrect template. |
42 |
|
|
- error binding to server swith to http auth to prevent |
43 |
|
|
|
44 |
|
|
* Sun May 26 2013 JP Pialasse <tests@pialasse.com> 1.2.3-1.sme |
45 |
|
|
- remove phpldapadmin from package |
46 |
|
|
- added Requires phpldapadmin-1.2.3-1 |
47 |
|
|
- clean spec file |
48 |
|
|
- added default db value (patch file) |
49 |
|
|
|
50 |
|
|
* Thu Jun 26 2007 Michel Van hees <michel@vanhees.cc> |
51 |
|
|
- Restart contrib from scratch |
52 |
|
|
- Use of phpldapadmin 0.9.8.3 |
53 |
|
|
|
54 |
|
|
%description |
55 |
|
|
SME server - phpmyadmin multiuser for smeserver |
56 |
|
|
|
57 |
|
|
%prep |
58 |
|
|
%setup |
59 |
jpp |
1.2 |
%patch0 -p1 |
60 |
jpp |
1.1 |
|
61 |
|
|
%build |
62 |
|
|
perl createlinks |
63 |
|
|
|
64 |
|
|
%install |
65 |
|
|
rm -rf $RPM_BUILD_ROOT |
66 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
67 |
|
|
rm -f %{name}-%{version}-filelist |
68 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
69 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
70 |
|
|
|
71 |
|
|
%clean |
72 |
|
|
rm -rf $RPM_BUILD_ROOT |
73 |
|
|
|
74 |
|
|
%pre |
75 |
|
|
|
76 |
|
|
%preun |
77 |
|
|
|
78 |
|
|
%post |
79 |
|
|
|
80 |
|
|
%postun |
81 |
|
|
|
82 |
|
|
%files -f %{name}-%{version}-filelist |
83 |
|
|
%defattr(-,root,root) |