1 |
mrjhb3 |
1.5 |
# $Id: e-smith-turba.spec,v 1.4 2008/06/26 05:10:05 slords Exp $ |
2 |
slords |
1.3 |
|
3 |
slords |
1.1 |
Summary: e-smith module to configure Turba 1.0 |
4 |
|
|
%define name e-smith-turba |
5 |
|
|
Name: %{name} |
6 |
slords |
1.4 |
%define version 2.2 |
7 |
mrjhb3 |
1.5 |
%define release 3 |
8 |
slords |
1.1 |
Version: %{version} |
9 |
|
|
Release: %{release}%{?dist} |
10 |
|
|
License: GPL |
11 |
|
|
Group: Networking/Daemons |
12 |
|
|
Source: %{name}-%{version}.tar.gz |
13 |
slords |
1.4 |
Patch1: e-smith-turba-2.2.1-header.patch |
14 |
mrjhb3 |
1.5 |
Patch2: e-smith-turba-2.2-migrate_turba_contacts.patch |
15 |
slords |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
|
|
BuildRequires: e-smith-devtools |
17 |
|
|
BuildArchitectures: noarch |
18 |
|
|
Requires: e-smith-base, e-smith-lib, e-smith >= 4.1 |
19 |
slords |
1.4 |
Requires: turba-h3 >= 2.2 |
20 |
slords |
1.1 |
AutoReqProv: no |
21 |
|
|
Obsoletes: dcb-e-smith-turba |
22 |
slords |
1.4 |
Obsoletes: smeserver-turba-menuarray |
23 |
slords |
1.1 |
|
24 |
|
|
%changelog |
25 |
mrjhb3 |
1.5 |
* Fri Jul 11 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-3 |
26 |
|
|
- Patch to fix 49turba_migrate_contacts to not run on post-install |
27 |
|
|
|
28 |
slords |
1.4 |
* Fri Jun 20 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-2 |
29 |
|
|
- Upgrade patch for Turba 2.2.1 |
30 |
slords |
1.1 |
|
31 |
slords |
1.4 |
* Sat Jun 7 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-1 |
32 |
|
|
- Initial production build |
33 |
slords |
1.1 |
|
34 |
slords |
1.4 |
* Sat May 24 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-02 |
35 |
|
|
- Updated to include changes in Turba 2.2 RC4 |
36 |
|
|
- Re-rolled tarball |
37 |
|
|
|
38 |
|
|
* Fri Apr 11 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-01 |
39 |
|
|
- Initial build |
40 |
|
|
- Jump in package name to reflect new version of turba |
41 |
slords |
1.1 |
|
42 |
|
|
%description |
43 |
slords |
1.4 |
This package adds necessary templates and configuration items |
44 |
|
|
so that Turba will work properly on SME Server |
45 |
slords |
1.1 |
|
46 |
|
|
%prep |
47 |
|
|
%setup |
48 |
|
|
|
49 |
|
|
%patch1 -p1 |
50 |
mrjhb3 |
1.5 |
%patch2 -p1 |
51 |
slords |
1.1 |
|
52 |
|
|
%build |
53 |
|
|
for i in bootstrap-console-save post-install post-upgrade email-update |
54 |
|
|
do |
55 |
|
|
mkdir root/etc/e-smith/events/$i |
56 |
|
|
done |
57 |
|
|
mkdir -p root/etc/rc.d/rc7.d |
58 |
|
|
perl createlinks |
59 |
|
|
|
60 |
|
|
|
61 |
|
|
%install |
62 |
|
|
rm -rf $RPM_BUILD_ROOT |
63 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
64 |
|
|
rm -f %{name}-%{version}-filelist |
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) |
73 |
|
|
|