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