]> git.pld-linux.org Git - packages/boa.git/blob - boa.spec
ipv6 update
[packages/boa.git] / boa.spec
1 Summary:        Boa high speed HTTP server
2 Summary(pl):    Boa - szybki serwer HTTP
3 Name:           boa
4 Version:        0.93.16.1
5 Release:        1
6 Copyright:      GPL
7 Group:          Networking/Daemons
8 Source:         http://www.cz.boa.org/updates/%{name}-%{version}.tar.gz
9 Patch:          boa-PLD.patch
10 Provides:       httpd                                                           
11 Provides:       webserver                                                       
12 BuildRoot:      /tmp/%{name}-%{version}-root
13
14 %define         _sysconfdir     /etc/httpd
15
16 %description
17 A high speed, lightweight web server (HTTP protocol).
18 Based on direct use of the select(2) system call, it internally multiplexes 
19 all connections without forking, for maximum speed and minimum system 
20 resource use.
21
22 %description -l pl
23 Szybki serwer HTTP, byæ mo¿e alternatywa dla Apache HTTP Server.
24 Nie korzystaj±cy z funkcji fork().
25
26 %prep
27 %setup -q
28 %patch -p1
29
30 %build
31 cd src
32 %configure
33 make
34 (cd ../util; make )
35 (cd ../docs; make boa.html )
36
37 %install
38 install -d              $RPM_BUILD_ROOT/home/httpd/{htdocs,cgi-bin,html}
39 install -d              $RPM_BUILD_ROOT{%{_sbindir},%{_sysconfdir}/conf,%{_mandir}/man1}
40 install -d              $RPM_BUILD_ROOT/var/log/httpd
41
42 install -s              src/boa $RPM_BUILD_ROOT%{_sbindir}
43 install -s              util/boa_indexer $RPM_BUILD_ROOT%{_sbindir}
44
45 install -s              util/cpsel $RPM_BUILD_ROOT/home/httpd/cgi-bin
46 install                 util/*.pl $RPM_BUILD_ROOT/home/httpd/cgi-bin
47
48 install examples/*.conf $RPM_BUILD_ROOT/etc/httpd/conf/
49 install docs/boa.1      $RPM_BUILD_ROOT%{_mandir}/man1/
50
51 gzip -9nf               README $RPM_BUILD_ROOT%{_mandir}/man1/*
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc README.gz docs/*.html docs/*.gif
59 %attr(750, http,http) %dir /etc/httpd/conf
60 %attr(640, http,http) %config /etc/httpd/conf/*
61 %attr(755, http,http) /home/httpd/htdocs
62 %attr(755, http,http) /home/httpd/cgi-bin
63 %attr(755, http,http) /home/httpd/html
64 %attr(750, http,http) /var/log/httpd/
65 %attr(755, root,root) %{_sbindir}/*
66 %{_mandir}/man1/*
This page took 0.045276 seconds and 4 git commands to generate.