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