1 |
%define name smeserver-zarafa |
2 |
%define version 0.9 |
3 |
%define release 4a |
4 |
Summary: smserver rpm to setup zarafa |
5 |
Name: %{name} |
6 |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
8 |
License: GNU GPL version 2 |
9 |
URL: http://contribs.org |
10 |
Group: SMEserver/addon |
11 |
Source: %{name}-%{version}.tar.gz |
12 |
Patch0: %{name}-0.9-2a.patch |
13 |
Patch1: %{name}-0.9-4a.patch |
14 |
BuildArchitectures: noarch |
15 |
BuildRoot: /var/tmp/%{name}-%{version} |
16 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
17 |
Requires: e-smith-release >= 7.0 |
18 |
Requires: zarafa |
19 |
AutoReqProv: no |
20 |
|
21 |
%description |
22 |
smserver rpm to setup zarafa |
23 |
|
24 |
%changelog |
25 |
* Mon Nov 03 2008 Darrell May <dmay@tallgrassranch.com> |
26 |
- added template to sort junk e-mail: Bug 4705 |
27 |
- [0.9-4a] |
28 |
* Mon Nov 03 2008 Darrell May <dmay@tallgrassranch.com> |
29 |
- added /usr/bin/perl createlinks to spec file: Bug 4725 |
30 |
- [0.9-3a] |
31 |
* Wed Oct 08 2008 Darrell May <dmay@tallgrassranch.com> |
32 |
- smeserver-zarafa-0.9-2a.patch: Bug 4634 |
33 |
- [0.9-2a] |
34 |
* Fri Oct 03 2008 Darrell May <dmay@tallgrassranch.com> |
35 |
- initial release |
36 |
- [0.9-1a] |
37 |
|
38 |
%prep |
39 |
%setup |
40 |
%patch0 -p1 |
41 |
%patch1 -p1 |
42 |
|
43 |
%build |
44 |
/usr/bin/perl createlinks |
45 |
|
46 |
%install |
47 |
rm -rf $RPM_BUILD_ROOT |
48 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
49 |
rm -f %{name}-%{version}-filelist |
50 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
51 |
> %{name}-%{version}-filelist |
52 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
53 |
|
54 |
%clean |
55 |
cd .. |
56 |
rm -rf %{name}-%{version} |
57 |
|
58 |
%files -f %{name}-%{version}-filelist |
59 |
%defattr(-,root,root) |
60 |
|
61 |
%pre |
62 |
%preun |
63 |
%post |
64 |
%postun |
65 |
|