1 |
# $Id: e-smith-imp.spec,v 1.10 2009/10/14 02:40:07 mrjhb3 Exp $ |
2 |
|
3 |
Summary: e-smith specific IMP configuration and templates. |
4 |
%define name e-smith-imp |
5 |
Name: %{name} |
6 |
%define version 5.0.0 |
7 |
%define release 7 |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: GPL |
11 |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.gz |
13 |
Patch1: e-smith-imp_imp-4.3.patch |
14 |
Patch2: e-smith-imp_imp-4.3.4.patch |
15 |
Patch3: e-smith-imp-4.3.5.patch |
16 |
Patch4: e-smith-imp-4.3.6.patch |
17 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
BuildArchitectures: noarch |
19 |
Requires: imp-h3 >= 4.3 |
20 |
Requires: e-smith-base >= 4.15.1 |
21 |
Requires: e-smith-apache >= 1.1.0-18 |
22 |
Requires: e-smith-lib >= 1.15.1-16 |
23 |
Requires: e-smith-ingo |
24 |
Requires: php |
25 |
Requires: php-ldap |
26 |
Requires: php-mysql |
27 |
Requires: php-pear-HTTP-Request |
28 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
29 |
AutoReqProv: no |
30 |
Obsoletes: dcb-e-smith-imp |
31 |
Obsoletes: smeserver-imp-menuarray |
32 |
|
33 |
%changelog |
34 |
* Sat Jan 23 2010 John H. Bennett III <bennettj@johnbennettservices.com> 5.0.0-7 |
35 |
- Updated templates to reflect changes in imp 4.3.6 [SME: 5722] |
36 |
|
37 |
* Tue Oct 13 2009 John H. Bennett III <bennettj@johnbennettservices.com> 5.0.0-6 |
38 |
- Updated templates to reflect changes in imp 4.3.5 [SME: 5510] |
39 |
|
40 |
* Sat Jun 20 2009 John H. Bennett III <bennettj@johnbennettservices.com> 5.0.0-5 |
41 |
- Updated templates to reflect changes in imp 4.3.4 [SME: 5371] |
42 |
|
43 |
* Sun Dec 28 2008 Gavin Weight <gweight@gmail.com> 5.0.0-4 |
44 |
- Bump version to accept previous requires entry. [SME: 4821] |
45 |
|
46 |
* Sun Dec 21 2008 John H. Bennett III <bennettj@johnbennettservices.com> 5.0.0-3 |
47 |
- Updated spec file to require php-pear-HTTP-Request to accomodate HTML composition [SME: 4821] |
48 |
|
49 |
* Sat Dec 06 2008 John H. Bennett III <bennettj@johnbennettservices.com> 5.0.0-2 |
50 |
- Updated templates to reflect changes in imp 4.3 [SME: 4832] |
51 |
|
52 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 5.0.0-1.sme |
53 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
54 |
|
55 |
* Mon Jun 23 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.2-1 |
56 |
- Initial build |
57 |
- Jump in package name to reflect new version of imp |
58 |
|
59 |
%description |
60 |
This package adds necessary templates and configuration items |
61 |
so that IMP will work properly on SME Server |
62 |
|
63 |
%prep |
64 |
%setup |
65 |
|
66 |
%patch1 -p1 |
67 |
%patch2 -p1 |
68 |
%patch3 -p1 |
69 |
%patch4 -p1 |
70 |
|
71 |
%build |
72 |
mkdir -p root/home/httpd/html/horde/imp/SSLonly |
73 |
|
74 |
perl createlinks |
75 |
|
76 |
%install |
77 |
rm -rf $RPM_BUILD_ROOT |
78 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
79 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
80 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
81 |
|
82 |
%clean |
83 |
rm -rf $RPM_BUILD_ROOT |
84 |
|
85 |
%files -f %{name}-%{version}-filelist |
86 |
%defattr(-,root,root) |