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