1 |
mrjhb3 |
1.8 |
# $Id: e-smith-turba.spec,v 1.7 2008/12/06 21:35:31 mrjhb3 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.6 |
%define version 3.0.0 |
7 |
mrjhb3 |
1.8 |
%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 |
mrjhb3 |
1.7 |
Patch1: e-smith-turba-2.3.patch |
14 |
mrjhb3 |
1.8 |
Patch2: e-smith-turba-2.3.1.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.8 |
* Fri Jan 2 2009 John H. Bennett III <bennettj@johnbennettservices.com> 3.0.0-3 |
26 |
|
|
- Updated template files to reflect changes in Turba 2.3.1 |
27 |
|
|
|
28 |
mrjhb3 |
1.7 |
* Sat Dec 06 2008 John H. Bennett III <bennettj@johnbennettservices.com> 3.0.0-2 |
29 |
|
|
- Updated template files to reflect changes in Turba 2.3 [SME: 4833] |
30 |
|
|
|
31 |
slords |
1.6 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 3.0.0-1.sme |
32 |
|
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
33 |
|
|
|
34 |
mrjhb3 |
1.5 |
* 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 |
slords |
1.4 |
* Fri Jun 20 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-2 |
38 |
|
|
- Upgrade patch for Turba 2.2.1 |
39 |
slords |
1.1 |
|
40 |
slords |
1.4 |
* Sat Jun 7 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-1 |
41 |
|
|
- Initial production build |
42 |
slords |
1.1 |
|
43 |
slords |
1.4 |
* 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 |
slords |
1.1 |
|
51 |
|
|
%description |
52 |
slords |
1.4 |
This package adds necessary templates and configuration items |
53 |
|
|
so that Turba will work properly on SME Server |
54 |
slords |
1.1 |
|
55 |
|
|
%prep |
56 |
|
|
%setup |
57 |
|
|
|
58 |
mrjhb3 |
1.7 |
%patch1 -p1 |
59 |
mrjhb3 |
1.8 |
%patch2 -p1 |
60 |
mrjhb3 |
1.7 |
|
61 |
slords |
1.1 |
%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 |
|
|
|