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