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