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