]> git.pld-linux.org Git - packages/ezmlm-web.git/blob - ezmlm-web.spec
- spec adapterized.
[packages/ezmlm-web.git] / ezmlm-web.spec
1 Summary:        EZLM World Wide Web Interface
2 Summary(pl):    Interfejs WWW do menad¿era list dyskusyjnych EZMLM
3 Name:           ezmlm-web
4 Version:        1.0
5 Release:        2
6 Group:          Networking/Daemons
7 Group(pl):      Sieciowe/Serwery
8 Source0:        ftp://rucus.ru.ac.za/pub/mail/ezmlm/%{name}-%{version}.tar.gz
9 Source1:        ezmlm-web-setup
10 Patch0:         ezmlm-web.patch
11 License:        GPL
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 Requires:       apache
14 Requires:       ezmlm-idx
15 Requires:       perl
16 Requires:       qmail
17
18 %description
19 EZMLM-WEB is a CGI script that allows users on the web server to
20 easily create, edit (maintain), and delete mailing lists without
21 having to "bother" the system administrator.
22
23 %description -l pl
24 EZMLM-WEB to skrypt CGI pozwalaj±cy u¿ytkownikom na ³atwe tworzenie,
25 zarz±dzanie oraz kasowanie list dyskusyjnych bez zawracania g³owy
26 administratorowi systemu.
27
28 %prep
29 %setup -q
30 %patch -p1 -b .orig
31
32 %build
33 cc -s $RPM_OPT_FLAGS index.c -o index
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/httpd/ezmlm,%{_bindir}} \
38         $RPM_BUILD_ROOT/var/lib/list
39
40 install ezmlm-web.cgi $RPM_BUILD_ROOT%{_sysconfdir}/httpd/ezmlm/
41 install .htaccess $RPM_BUILD_ROOT%{_sysconfdir}/httpd/ezmlm/ezmlm-web-htaccess
42 install index $RPM_BUILD_ROOT%{_sysconfdir}/httpd/ezmlm/ezmlm-web-index.cgi
43 install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/setup-ezmlm-web
44
45 gzip -9nf CHANGES README TODO
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %attr(644,root,root)  %doc {CHANGES,README,TODO}.gz
53 %attr(755,root,root) %dir %{_sysconfdir}/httpd/ezmlm
54 %attr(755,root,root) %{_sysconfdir}/httpd/ezmlm/ezmlm*
55 %attr(755,root,root) %{_bindir}/*
This page took 0.044147 seconds and 3 git commands to generate.