1 |
slords |
1.4 |
# $Id: e-smith-imp.spec,v 1.3 2008/04/09 13:51:48 slords Exp $ |
2 |
slords |
1.3 |
|
3 |
slords |
1.1 |
Summary: e-smith specific IMP configuration and templates. |
4 |
|
|
%define name e-smith-imp |
5 |
|
|
Name: %{name} |
6 |
slords |
1.4 |
%define version 4.2 |
7 |
|
|
%define release 1 |
8 |
slords |
1.1 |
Version: %{version} |
9 |
|
|
Release: %{release}%{?dist} |
10 |
|
|
License: GPL |
11 |
|
|
Group: Networking/Daemons |
12 |
|
|
Source: %{name}-%{version}.tar.gz |
13 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
14 |
|
|
BuildArchitectures: noarch |
15 |
slords |
1.4 |
Requires: imp-h3 >= 4.2 |
16 |
slords |
1.1 |
Requires: e-smith-base >= 4.15.1 |
17 |
|
|
Requires: e-smith-apache >= 1.1.0-18 |
18 |
|
|
Requires: e-smith-lib >= 1.15.1-16 |
19 |
|
|
Requires: e-smith-ingo |
20 |
|
|
Requires: php |
21 |
|
|
Requires: php-ldap |
22 |
|
|
Requires: php-mysql |
23 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
24 |
|
|
AutoReqProv: no |
25 |
|
|
Obsoletes: dcb-e-smith-imp |
26 |
|
|
Obsoletes: smeserver-imp-menuarray |
27 |
|
|
|
28 |
|
|
%changelog |
29 |
slords |
1.4 |
* Mon Jun 23 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.2-1 |
30 |
|
|
- Initial build |
31 |
|
|
- Jump in package name to reflect new version of imp |
32 |
slords |
1.1 |
|
33 |
|
|
%description |
34 |
|
|
This package adds necessary templates and configuration items |
35 |
slords |
1.4 |
so that IMP will work properly on SME Server |
36 |
slords |
1.1 |
|
37 |
|
|
%prep |
38 |
|
|
%setup |
39 |
|
|
|
40 |
|
|
%build |
41 |
|
|
mkdir -p root/home/httpd/html/horde/imp/SSLonly |
42 |
|
|
|
43 |
|
|
perl createlinks |
44 |
|
|
|
45 |
|
|
%install |
46 |
|
|
rm -rf $RPM_BUILD_ROOT |
47 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
48 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
49 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
50 |
|
|
|
51 |
|
|
%clean |
52 |
|
|
rm -rf $RPM_BUILD_ROOT |
53 |
|
|
|
54 |
|
|
%files -f %{name}-%{version}-filelist |
55 |
|
|
%defattr(-,root,root) |