1 |
# $Id: e-smith-turba.spec,v 1.7 2008/12/06 21:35:43 mrjhb3 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 3 |
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 |
Patch2: e-smith-turba-2.3.1.patch |
15 |
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 |
Requires: turba-h3 >= 2.2 |
20 |
AutoReqProv: no |
21 |
Obsoletes: dcb-e-smith-turba |
22 |
Obsoletes: smeserver-turba-menuarray |
23 |
|
24 |
%changelog |
25 |
* Fri Jan 2 2009 John H. Bennett III <bennettj@johnbennettservices.com> 3.2.0-3 |
26 |
- Updated template files to reflect changes in Turba 2.3.1 |
27 |
|
28 |
* Sat Dec 06 2008 John H. Bennett III <bennettj@johnbennettservices.com> 3.2.0-2 |
29 |
- Updated template files to reflect changes in Turba 2.3 [SME: 4833] |
30 |
|
31 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 3.2.0-1.sme |
32 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
33 |
|
34 |
* Fri Jul 11 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-3 |
35 |
- Patch to fix 49turba_migrate_contacts to not run on post-install |
36 |
|
37 |
* Fri Jun 20 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-2 |
38 |
- Upgrade patch for Turba 2.2.1 |
39 |
|
40 |
* Sat Jun 7 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-1 |
41 |
- Initial production build |
42 |
|
43 |
* Sat May 24 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-02 |
44 |
- Updated to include changes in Turba 2.2 RC4 |
45 |
- Re-rolled tarball |
46 |
|
47 |
* Fri Apr 11 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-01 |
48 |
- Initial build |
49 |
- Jump in package name to reflect new version of turba |
50 |
|
51 |
%description |
52 |
This package adds necessary templates and configuration items |
53 |
so that Turba will work properly on SME Server |
54 |
|
55 |
%prep |
56 |
%setup |
57 |
|
58 |
%patch1 -p1 |
59 |
%patch2 -p1 |
60 |
|
61 |
%build |
62 |
for i in bootstrap-console-save post-install post-upgrade email-update |
63 |
do |
64 |
mkdir root/etc/e-smith/events/$i |
65 |
done |
66 |
mkdir -p root/etc/rc.d/rc7.d |
67 |
perl createlinks |
68 |
|
69 |
|
70 |
%install |
71 |
rm -rf $RPM_BUILD_ROOT |
72 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
73 |
rm -f %{name}-%{version}-filelist |
74 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
75 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
76 |
|
77 |
%clean |
78 |
rm -rf $RPM_BUILD_ROOT |
79 |
|
80 |
%files -f %{name}-%{version}-filelist |
81 |
%defattr(-,root,root) |
82 |
|