1 |
# $Id: smeserver-dimp.spec,v 1.4 2008/11/25 16:20:21 slords Exp $ |
2 |
# Authority: mrjhb3 |
3 |
# Name: John H. Bennett III |
4 |
|
5 |
Summary: SME Server specific Dimp configuration and templates. |
6 |
%define name smeserver-dimp |
7 |
Name: %{name} |
8 |
%define version 1.0 |
9 |
%define release 2 |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
Group: Networking/Daemons |
14 |
Source: %{name}-%{version}.tar.gz |
15 |
Patch1: dimp-1.1_upgrade.patch |
16 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
BuildArchitectures: noarch |
18 |
Requires: imp-h3 >= 4.2 |
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: dimp-h3 >= 1.0 |
23 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
24 |
AutoReqProv: no |
25 |
|
26 |
|
27 |
%changelog |
28 |
* Fri Dec 05 2008 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-2 |
29 |
- Upgrade to Dimp 1.1 |
30 |
|
31 |
* Sat Jun 7 2008 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-1 |
32 |
- Initial Dimp 1.0 production build |
33 |
|
34 |
* Sat May 24 2008 John H. Bennett III <bennettj@johnbennettservices.com> 0.2-1 |
35 |
- Updated to include changes in Dimp 1.0 RC4 |
36 |
- Re-rolled tarball |
37 |
|
38 |
* Sun Apr 6 2008 John H. Bennett III <bennettj@johnbennettservices.com> 0.1-1 |
39 |
- Initial build with Dimp 1.0 RC3 |
40 |
|
41 |
%description |
42 |
This package adds necessary templates and configuration items |
43 |
so that Dimp will work properly on SME Server |
44 |
|
45 |
%prep |
46 |
%setup |
47 |
|
48 |
%patch1 -p1 |
49 |
|
50 |
%build |
51 |
|
52 |
perl createlinks |
53 |
|
54 |
%install |
55 |
rm -rf $RPM_BUILD_ROOT |
56 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
57 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
58 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
59 |
|
60 |
%clean |
61 |
rm -rf $RPM_BUILD_ROOT |
62 |
|
63 |
%pre |
64 |
|
65 |
%preun |
66 |
|
67 |
%post |
68 |
|
69 |
%postun |
70 |
|
71 |
%files -f %{name}-%{version}-filelist |
72 |
%defattr(-,root,root) |