1 |
mrjhb3 |
1.7 |
# $Id: e-smith-turba.spec,v 1.6 2008/10/07 19:24:32 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.6 |
%define version 3.0.0 |
7 |
mrjhb3 |
1.7 |
%define release 2 |
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 |
slords |
1.1 |
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 |
slords |
1.4 |
Requires: turba-h3 >= 2.2 |
19 |
slords |
1.1 |
AutoReqProv: no |
20 |
|
|
Obsoletes: dcb-e-smith-turba |
21 |
slords |
1.4 |
Obsoletes: smeserver-turba-menuarray |
22 |
slords |
1.1 |
|
23 |
|
|
%changelog |
24 |
mrjhb3 |
1.7 |
* Sat Dec 06 2008 John H. Bennett III <bennettj@johnbennettservices.com> 3.0.0-2 |
25 |
|
|
- Updated template files to reflect changes in Turba 2.3 [SME: 4833] |
26 |
|
|
|
27 |
slords |
1.6 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 3.0.0-1.sme |
28 |
|
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
29 |
|
|
|
30 |
mrjhb3 |
1.5 |
* 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 |
slords |
1.4 |
* Fri Jun 20 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-2 |
34 |
|
|
- Upgrade patch for Turba 2.2.1 |
35 |
slords |
1.1 |
|
36 |
slords |
1.4 |
* Sat Jun 7 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-1 |
37 |
|
|
- Initial production build |
38 |
slords |
1.1 |
|
39 |
slords |
1.4 |
* 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 |
slords |
1.1 |
|
47 |
|
|
%description |
48 |
slords |
1.4 |
This package adds necessary templates and configuration items |
49 |
|
|
so that Turba will work properly on SME Server |
50 |
slords |
1.1 |
|
51 |
|
|
%prep |
52 |
|
|
%setup |
53 |
|
|
|
54 |
mrjhb3 |
1.7 |
%patch1 -p1 |
55 |
|
|
|
56 |
slords |
1.1 |
%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 |
|
|
|