1 |
%define name smeserver-ezmlm-www |
2 |
%define version 1.4.5 |
3 |
%define release 2 |
4 |
|
5 |
Summary: ezmlm-www packaged for sme server |
6 |
Name: %{name} |
7 |
Version: %{version} |
8 |
Release: %{release}%{?dist} |
9 |
License: GPL |
10 |
Group: Networking/Other |
11 |
Source: %{name}-%{version}.tar.gz |
12 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
13 |
Requires: perl-Mail-Box perl-User-Identity perl-TimeDate perl-Email-Simple perl-Plucene perl-KinoSearch ezmlm-web perl-Ezmlm perl-Mail-Ezmlm-Archive |
14 |
AutoReq: no |
15 |
BuildArchitectures: noarch |
16 |
|
17 |
%description |
18 |
ezmlm-www This project provides a useful web interface for Ezmlm |
19 |
mailing list archives. It extends ezmlm-cgi.c capabilities and features |
20 |
by using a modular architecture: it is fully Perl-based. |
21 |
|
22 |
%changelog |
23 |
* Wed Dec 5 2007 Normando Hall <nhall@unixlan.com.ar> |
24 |
- first release |
25 |
|
26 |
|
27 |
|
28 |
%prep |
29 |
|
30 |
|
31 |
|
32 |
|
33 |
%setup |
34 |
|
35 |
%build |
36 |
|
37 |
%install |
38 |
rm -rf $RPM_BUILD_ROOT |
39 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
40 |
rm -f %{name}-%{version}-filelist |
41 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
42 |
|
43 |
%clean |
44 |
rm -rf $RPM_BUILD_ROOT |
45 |
|
46 |
%post |
47 |
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
48 |
/etc/rc.d/init.d/httpd-e-smith sigusr1 |
49 |
|
50 |
|
51 |
%postun |
52 |
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
53 |
/etc/rc.d/init.d/httpd-e-smith sigusr1 |
54 |
|
55 |
|
56 |
%files -f %{name}-%{version}-filelist |
57 |
%defattr(-,root,root) |
58 |
|
59 |
|
60 |
%attr(0755,root,root) /opt/mailinglist/search/ez_indexer.pl |
61 |
%attr(0755,root,root) /opt/mailinglist/ezmlm-www.pl |
62 |
%attr(4711,ezmlm,ezmlm) /opt/mailinglist/index.cgi |