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