]>
Commit | Line | Data |
---|---|---|
0e85b34f | 1 | %define pre 20031225 |
2 | ||
3 | Summary: Cherokee webserver | |
4 | Name: cherokee | |
5 | Version: 0.4.6 | |
6 | Release: 0.%{pre}.1 | |
7 | License: GPL | |
8 | Group: Networking/Daemons | |
9 | URL: http://alobbs.com/cherokee | |
10 | Source0: ftp://alobbs.com/cherokee/%{version}/%{name}-%{version}-%{pre}.tar.gz | |
11 | # Source0-md5: c3987a0abe0cbbab54d939a2fcc046ba | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | BuildRequires: fcgi-devel | |
14 | ||
15 | %description | |
16 | - FAST and tiny | |
17 | - Embedable | |
18 | - Extensible with plug-ins | |
19 | - Handler-to-path support | |
20 | - Virtual servers support | |
21 | - Encoders support: o GZip | |
22 | - Loggers support: o NCSA | |
23 | - Dynamic / Static plug-in compilation | |
24 | - Streaming support | |
25 | - Common tasks: o Work as a daemon o Mime types o Log via syslog o | |
26 | Keep-alive connections o Runs under a chroot enviroment | |
27 | - Clean code ;-) | |
28 | - It's free software | |
29 | ||
30 | %package devel | |
31 | Summary: headers for cherokee web server | |
32 | Group: Development/Libraries | |
33 | ||
34 | %description devel | |
35 | headers for cherokee web server | |
36 | ||
37 | %prep | |
38 | %setup -q | |
39 | ||
40 | %build | |
41 | %configure \ | |
42 | --enable-gnomevfs \ | |
43 | --enable-tls | |
44 | %{__make} | |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | %{__make} install DESTDIR=$RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %attr(755,root,root) %{_bindir}/cherokee | |
53 | %{_sysconfdir}/cherokee | |
54 | %{_sysconfdir}/cherokee/cherokee.conf | |
55 | %dir %{_includedir}/cherokee | |
56 | %dir %{_libdir}/cherokee | |
57 | %{_libdir}/cherokee/libcherokee_* | |
58 | %{_libdir}/libcherokee.* | |
59 | %{_datadir}/cherokee | |
60 | %{_mandir}/man1/cherokee.1.gz | |
61 | ||
62 | %files devel | |
63 | %attr(755,root,root) %{_bindir}/cherokee-config | |
64 | %{_includedir}/cherokee/*.h | |
65 | %{_libdir}/pkgconfig/cherokee.pc | |
66 | %{_datadir}/aclocal/cherokee.m4 | |
67 | %{_mandir}/man1/cherokee-config.1.gz | |
68 | ||
69 | ||
70 | ||
71 | ||
72 | %clean | |
73 | rm -rf $RPM_BUILD_ROOT |