1 |
unnilennium |
1.6 |
# $Id: smeserver-phpldapadmin.spec,v 1.5 2013/11/05 19:58:20 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.6 |
%define release 4 |
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.3 |
#{name}-%{version}.patch.yyyymmddnn |
19 |
unnilennium |
1.1 |
BuildRoot: /var/tmp/e-smith-buildroot |
20 |
|
|
BuildRequires: e-smith-devtools |
21 |
|
|
BuildArchitectures: noarch |
22 |
unnilennium |
1.2 |
Requires: smeserver-release >= 8 |
23 |
|
|
Requires: phpldapadmin >= 1.2.3 |
24 |
unnilennium |
1.1 |
AutoReqProv: no |
25 |
|
|
|
26 |
|
|
%changelog |
27 |
unnilennium |
1.6 |
* Mon Nov 4 2013 JP Pialasse <tests@pialasse.com> 1.2.3-4.sme |
28 |
unnilennium |
1.4 |
- wrong tempalte path for config file [SME: 7975] |
29 |
unnilennium |
1.5 |
- patching also incorrect template. |
30 |
|
|
- error binding to server swith to http auth to prevent |
31 |
unnilennium |
1.4 |
|
32 |
unnilennium |
1.2 |
* Sun May 26 2013 JP Pialasse <tests@pialasse.com> 1.2.3-1.sme |
33 |
|
|
- remove phpldapadmin from package |
34 |
|
|
- added Requires phpldapadmin-1.2.3-1 |
35 |
unnilennium |
1.3 |
- clean spec file |
36 |
|
|
- added default db value (patch file) |
37 |
unnilennium |
1.2 |
|
38 |
unnilennium |
1.1 |
* Thu Jun 26 2007 Michel Van hees <michel@vanhees.cc> |
39 |
|
|
- Restart contrib from scratch |
40 |
|
|
- Use of phpldapadmin 0.9.8.3 |
41 |
|
|
|
42 |
|
|
%description |
43 |
|
|
SME server - phpmyadmin multiuser for smeserver |
44 |
|
|
|
45 |
|
|
%prep |
46 |
|
|
%setup |
47 |
unnilennium |
1.3 |
%patch0 -p1 |
48 |
unnilennium |
1.4 |
%patch1 -p1 |
49 |
unnilennium |
1.5 |
%patch2 -p1 |
50 |
|
|
|
51 |
unnilennium |
1.1 |
|
52 |
|
|
%build |
53 |
|
|
perl createlinks |
54 |
|
|
|
55 |
|
|
%install |
56 |
|
|
rm -rf $RPM_BUILD_ROOT |
57 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
58 |
|
|
rm -f %{name}-%{version}-filelist |
59 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
60 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
61 |
|
|
|
62 |
|
|
%clean |
63 |
|
|
rm -rf $RPM_BUILD_ROOT |
64 |
|
|
|
65 |
|
|
%pre |
66 |
|
|
|
67 |
|
|
%preun |
68 |
|
|
|
69 |
|
|
%post |
70 |
|
|
|
71 |
|
|
%postun |
72 |
|
|
|
73 |
|
|
%files -f %{name}-%{version}-filelist |
74 |
|
|
%defattr(-,root,root) |