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