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