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