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