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