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