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