1 |
slords |
1.1 |
%define name smeserver-ezmlm-www |
2 |
|
|
%define version 1.4.5 |
3 |
slords |
1.3 |
%define release 2 |
4 |
slords |
1.1 |
|
5 |
|
|
Summary: ezmlm-www packaged for sme server |
6 |
|
|
Name: %{name} |
7 |
|
|
Version: %{version} |
8 |
slords |
1.2 |
Release: %{release}%{?dist} |
9 |
slords |
1.1 |
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 |
slords |
1.5 |
BuildRequires: e-smith-devtools |
15 |
slords |
1.1 |
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 |
slords |
1.7 |
%define debug_package %{nil} |
29 |
slords |
1.1 |
|
30 |
|
|
%prep |
31 |
|
|
|
32 |
|
|
%setup |
33 |
|
|
|
34 |
|
|
%build |
35 |
|
|
|
36 |
|
|
%install |
37 |
|
|
rm -rf $RPM_BUILD_ROOT |
38 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
39 |
|
|
rm -f %{name}-%{version}-filelist |
40 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
41 |
|
|
|
42 |
|
|
%clean |
43 |
|
|
rm -rf $RPM_BUILD_ROOT |
44 |
|
|
|
45 |
|
|
%post |
46 |
|
|
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
47 |
|
|
/etc/rc.d/init.d/httpd-e-smith sigusr1 |
48 |
|
|
|
49 |
|
|
|
50 |
|
|
%postun |
51 |
|
|
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
52 |
|
|
/etc/rc.d/init.d/httpd-e-smith sigusr1 |
53 |
|
|
|
54 |
|
|
|
55 |
|
|
%files -f %{name}-%{version}-filelist |
56 |
|
|
%defattr(-,root,root) |
57 |
|
|
|
58 |
|
|
|
59 |
|
|
%attr(0755,root,root) /opt/mailinglist/search/ez_indexer.pl |
60 |
|
|
%attr(0755,root,root) /opt/mailinglist/ezmlm-www.pl |
61 |
|
|
%attr(4711,ezmlm,ezmlm) /opt/mailinglist/index.cgi |