1 |
unnilennium |
1.7 |
# $Id: smeserver-phpldapadmin.spec,v 1.6 2013/11/05 20:55:07 unnilennium Exp $ |
2 |
unnilennium |
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 |
unnilennium |
1.2 |
%define version 1.2.3 |
9 |
unnilennium |
1.7 |
%define release 5 |
10 |
unnilennium |
1.1 |
Version: %{version} |
11 |
|
|
Release: %{release}%{?dist} |
12 |
|
|
License: Freely distributable |
13 |
|
|
Group: Apache |
14 |
|
|
Source: %{name}-%{version}.tar.gz |
15 |
unnilennium |
1.3 |
Patch0: smeserver-phpldapadmin-1.2.3-dbinit.patch |
16 |
unnilennium |
1.4 |
Patch1: smeserver-phpldapadmin-1.2.3-template.patch |
17 |
unnilennium |
1.5 |
Patch2: smeserver-phpldapadmin-1.2.3-bigone.patch |
18 |
unnilennium |
1.7 |
Patch3: smeserver-phpldapadmin-1.2.3-authpatch.patch |
19 |
unnilennium |
1.3 |
#{name}-%{version}.patch.yyyymmddnn |
20 |
unnilennium |
1.1 |
BuildRoot: /var/tmp/e-smith-buildroot |
21 |
|
|
BuildRequires: e-smith-devtools |
22 |
|
|
BuildArchitectures: noarch |
23 |
unnilennium |
1.2 |
Requires: smeserver-release >= 8 |
24 |
|
|
Requires: phpldapadmin >= 1.2.3 |
25 |
unnilennium |
1.1 |
AutoReqProv: no |
26 |
|
|
|
27 |
|
|
%changelog |
28 |
unnilennium |
1.7 |
* Wed Nov 6 2013 JP Pialasse <tests@pialasse.com> 1.2.3-5.sme |
29 |
|
|
- fix bug [SME: 5762] |
30 |
|
|
- default admin read only but kamikaze mod for root modify access. |
31 |
|
|
|
32 |
unnilennium |
1.6 |
* Mon Nov 4 2013 JP Pialasse <tests@pialasse.com> 1.2.3-4.sme |
33 |
unnilennium |
1.7 |
- wrong template path for config file [SME: 7975] |
34 |
unnilennium |
1.5 |
- patching also incorrect template. |
35 |
|
|
- error binding to server swith to http auth to prevent |
36 |
unnilennium |
1.4 |
|
37 |
unnilennium |
1.2 |
* Sun May 26 2013 JP Pialasse <tests@pialasse.com> 1.2.3-1.sme |
38 |
|
|
- remove phpldapadmin from package |
39 |
|
|
- added Requires phpldapadmin-1.2.3-1 |
40 |
unnilennium |
1.3 |
- clean spec file |
41 |
|
|
- added default db value (patch file) |
42 |
unnilennium |
1.2 |
|
43 |
unnilennium |
1.1 |
* Thu Jun 26 2007 Michel Van hees <michel@vanhees.cc> |
44 |
|
|
- Restart contrib from scratch |
45 |
|
|
- Use of phpldapadmin 0.9.8.3 |
46 |
|
|
|
47 |
|
|
%description |
48 |
|
|
SME server - phpmyadmin multiuser for smeserver |
49 |
|
|
|
50 |
|
|
%prep |
51 |
|
|
%setup |
52 |
unnilennium |
1.3 |
%patch0 -p1 |
53 |
unnilennium |
1.4 |
%patch1 -p1 |
54 |
unnilennium |
1.5 |
%patch2 -p1 |
55 |
unnilennium |
1.7 |
%patch3 -p1 |
56 |
unnilennium |
1.1 |
|
57 |
|
|
%build |
58 |
|
|
perl createlinks |
59 |
|
|
|
60 |
|
|
%install |
61 |
|
|
rm -rf $RPM_BUILD_ROOT |
62 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
63 |
|
|
rm -f %{name}-%{version}-filelist |
64 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
65 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
66 |
|
|
|
67 |
|
|
%clean |
68 |
|
|
rm -rf $RPM_BUILD_ROOT |
69 |
|
|
|
70 |
|
|
%pre |
71 |
|
|
|
72 |
|
|
%preun |
73 |
|
|
|
74 |
|
|
%post |
75 |
|
|
|
76 |
|
|
%postun |
77 |
|
|
|
78 |
|
|
%files -f %{name}-%{version}-filelist |
79 |
|
|
%defattr(-,root,root) |