]>
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 | |
d7f9f91f | 14 | BuildRequires: gnome-vfs2-devel |
0e85b34f | 15 | |
16 | %description | |
17 | - FAST and tiny | |
18 | - Embedable | |
19 | - Extensible with plug-ins | |
20 | - Handler-to-path support | |
21 | - Virtual servers support | |
d7f9f91f | 22 | - FastCGI support |
0e85b34f | 23 | - Encoders support: o GZip |
24 | - Loggers support: o NCSA | |
25 | - Dynamic / Static plug-in compilation | |
26 | - Streaming support | |
27 | - Common tasks: o Work as a daemon o Mime types o Log via syslog o | |
28 | Keep-alive connections o Runs under a chroot enviroment | |
29 | - Clean code ;-) | |
30 | - It's free software | |
31 | ||
32 | %package devel | |
33 | Summary: headers for cherokee web server | |
34 | Group: Development/Libraries | |
35 | ||
36 | %description devel | |
37 | headers for cherokee web server | |
38 | ||
39 | %prep | |
40 | %setup -q | |
41 | ||
42 | %build | |
43 | %configure \ | |
44 | --enable-gnomevfs \ | |
45 | --enable-tls | |
46 | %{__make} | |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | %{__make} install DESTDIR=$RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
54 | %attr(755,root,root) %{_bindir}/cherokee | |
55 | %{_sysconfdir}/cherokee | |
56 | %{_sysconfdir}/cherokee/cherokee.conf | |
57 | %dir %{_includedir}/cherokee | |
58 | %dir %{_libdir}/cherokee | |
59 | %{_libdir}/cherokee/libcherokee_* | |
60 | %{_libdir}/libcherokee.* | |
61 | %{_datadir}/cherokee | |
62 | %{_mandir}/man1/cherokee.1.gz | |
63 | ||
64 | %files devel | |
65 | %attr(755,root,root) %{_bindir}/cherokee-config | |
66 | %{_includedir}/cherokee/*.h | |
67 | %{_libdir}/pkgconfig/cherokee.pc | |
68 | %{_datadir}/aclocal/cherokee.m4 | |
69 | %{_mandir}/man1/cherokee-config.1.gz | |
70 | ||
71 | ||
72 | ||
73 | ||
74 | %clean | |
75 | rm -rf $RPM_BUILD_ROOT |