1 |
jpp |
1.2 |
# $Id: smeserver-ezmlm-www.spec,v 1.1 2022/03/15 20:45:27 jpp Exp $ |
2 |
jpp |
1.1 |
# Authority: picsone |
3 |
|
|
# Name: Normando Hall |
4 |
|
|
|
5 |
|
|
%define name smeserver-ezmlm-www |
6 |
|
|
%define version 1.4.5 |
7 |
jpp |
1.2 |
%define release 3 |
8 |
jpp |
1.1 |
|
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 |
jpp |
1.2 |
Patch0: smeserver-ezmlm-www-1.4.5-bz11909-sme10.patch |
17 |
|
|
|
18 |
jpp |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
|
|
Requires: perl-Mail-Box perl-User-Identity perl-TimeDate perl-Email-Simple perl-Plucene perl-KinoSearch ezmlm-web perl-Ezmlm perl-Mail-Ezmlm-Archive |
20 |
|
|
BuildRequires: e-smith-devtools |
21 |
|
|
AutoReq: no |
22 |
|
|
BuildArchitectures: noarch |
23 |
|
|
|
24 |
|
|
%description |
25 |
|
|
ezmlm-www This project provides a useful web interface for Ezmlm |
26 |
|
|
mailing list archives. It extends ezmlm-cgi.c capabilities and features |
27 |
|
|
by using a modular architecture: it is fully Perl-based. |
28 |
|
|
|
29 |
|
|
%changelog |
30 |
jpp |
1.2 |
* Tue Mar 15 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.4.5-3.sme |
31 |
|
|
- build for SME10 [SME: 11909] |
32 |
|
|
todo use initial source and compile ourself the index.cgi |
33 |
|
|
|
34 |
jpp |
1.1 |
* Wed Dec 5 2007 Normando Hall <nhall@unixlan.com.ar> |
35 |
|
|
- first release |
36 |
|
|
|
37 |
|
|
|
38 |
|
|
%define debug_package %{nil} |
39 |
|
|
|
40 |
|
|
%prep |
41 |
|
|
|
42 |
|
|
%setup |
43 |
jpp |
1.2 |
%patch0 -p1 |
44 |
jpp |
1.1 |
|
45 |
|
|
%build |
46 |
jpp |
1.2 |
perl createlinks |
47 |
jpp |
1.1 |
|
48 |
|
|
%install |
49 |
|
|
rm -rf $RPM_BUILD_ROOT |
50 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
51 |
|
|
rm -f %{name}-%{version}-filelist |
52 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
53 |
|
|
|
54 |
|
|
%clean |
55 |
|
|
rm -rf $RPM_BUILD_ROOT |
56 |
|
|
|
57 |
|
|
%post |
58 |
|
|
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
59 |
|
|
/etc/rc.d/init.d/httpd-e-smith sigusr1 |
60 |
|
|
|
61 |
|
|
|
62 |
|
|
%postun |
63 |
|
|
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
64 |
|
|
/etc/rc.d/init.d/httpd-e-smith sigusr1 |
65 |
|
|
|
66 |
|
|
|
67 |
|
|
%files -f %{name}-%{version}-filelist |
68 |
|
|
%defattr(-,root,root) |
69 |
|
|
|
70 |
|
|
|
71 |
|
|
%attr(0755,root,root) /opt/mailinglist/search/ez_indexer.pl |
72 |
|
|
%attr(0755,root,root) /opt/mailinglist/ezmlm-www.pl |
73 |
|
|
%attr(4711,ezmlm,ezmlm) /opt/mailinglist/index.cgi |