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