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