1 |
mrjhb3 |
1.9 |
# $Id: e-smith-imp.spec,v 1.8 2008/12/28 20:22:55 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.0.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 |
mrjhb3 |
1.7 |
Requires: php-pear-HTTP-Request |
26 |
slords |
1.1 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
27 |
|
|
AutoReqProv: no |
28 |
|
|
Obsoletes: dcb-e-smith-imp |
29 |
|
|
Obsoletes: smeserver-imp-menuarray |
30 |
|
|
|
31 |
|
|
%changelog |
32 |
mrjhb3 |
1.9 |
* Sat Jun 20 2009 John H. Bennett III <bennettj@johnbennettservices.com> 5.0.0-5 |
33 |
|
|
- Updated templates to reflect changes in imp 4.3.4 [SME: 5371] |
34 |
|
|
|
35 |
bytegw |
1.8 |
* Sun Dec 28 2008 Gavin Weight <gweight@gmail.com> 5.0.0-4 |
36 |
|
|
- Bump version to accept previous requires entry. [SME: 4821] |
37 |
|
|
|
38 |
mrjhb3 |
1.7 |
* Sun Dec 21 2008 John H. Bennett III <bennettj@johnbennettservices.com> 5.0.0-3 |
39 |
|
|
- Updated spec file to require php-pear-HTTP-Request to accomodate HTML composition [SME: 4821] |
40 |
|
|
|
41 |
mrjhb3 |
1.6 |
* Sat Dec 06 2008 John H. Bennett III <bennettj@johnbennettservices.com> 5.0.0-2 |
42 |
|
|
- Updated templates to reflect changes in imp 4.3 [SME: 4832] |
43 |
|
|
|
44 |
slords |
1.5 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 5.0.0-1.sme |
45 |
|
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
46 |
|
|
|
47 |
slords |
1.4 |
* Mon Jun 23 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.2-1 |
48 |
|
|
- Initial build |
49 |
|
|
- Jump in package name to reflect new version of imp |
50 |
slords |
1.1 |
|
51 |
|
|
%description |
52 |
|
|
This package adds necessary templates and configuration items |
53 |
slords |
1.4 |
so that IMP will work properly on SME Server |
54 |
slords |
1.1 |
|
55 |
|
|
%prep |
56 |
|
|
%setup |
57 |
|
|
|
58 |
mrjhb3 |
1.6 |
%patch1 -p1 |
59 |
mrjhb3 |
1.9 |
%patch2 -p1 |
60 |
mrjhb3 |
1.6 |
|
61 |
slords |
1.1 |
%build |
62 |
|
|
mkdir -p root/home/httpd/html/horde/imp/SSLonly |
63 |
|
|
|
64 |
|
|
perl createlinks |
65 |
|
|
|
66 |
|
|
%install |
67 |
|
|
rm -rf $RPM_BUILD_ROOT |
68 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
69 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
70 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
71 |
|
|
|
72 |
|
|
%clean |
73 |
|
|
rm -rf $RPM_BUILD_ROOT |
74 |
|
|
|
75 |
|
|
%files -f %{name}-%{version}-filelist |
76 |
|
|
%defattr(-,root,root) |