Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 62 lines (51 sloc) 1.478 kb
ae9d971 @alobbs git-svn-id: svn://cherokee-project.com/cherokee/trunk@243 5dc97367-97…
alobbs authored
1 # Cherokee
0989640 @alobbs New year, new copyright notice: 's/2009/2010/g'.
alobbs authored
2 # Copyright (C) 2001-2010 Alvaro Lopez Ortega
ae9d971 @alobbs git-svn-id: svn://cherokee-project.com/cherokee/trunk@243 5dc97367-97…
alobbs authored
3
4 Name: @PACKAGE@
5 Version: @VERSION@
6 Release: 1
7 License: GPL
8 BuildRoot: %{_tmppath}/%{name}-%{version}-build
9 Docdir: %{_datadir}/doc
10 Autoreqprov: on
11 Source: %{name}-%{version}.tar.gz
12 Summary: Flexible and Fast web server
13 Group: Productivity/Networking/Web/Servers
e8c75f5 @alobbs git-svn-id: svn://cherokee-project.com/cherokee/trunk@438 5dc97367-97…
alobbs authored
14 URL: http://www.cherokee-project.com
ae9d971 @alobbs git-svn-id: svn://cherokee-project.com/cherokee/trunk@243 5dc97367-97…
alobbs authored
15
16 %description
c153ac4 @alobbs The spec file has been (blindly) updated. It was using paths to old
alobbs authored
17 Cherokee is a very fast, flexible and easy to configure Web Server. It
18 supports the widespread technologies nowadays: FastCGI, SCGI, PHP,
19 CGI, uWSGI, SSI, TLS and SSL encrypted connections, Virtual hosts,
20 Authentication, on the fly encoding, Load Balancing, Apache compatible
21 log files, Data Base Balancing, Reverse HTTP Proxy, Traffic Shaper,
22 Video Streaming and much more.
ae9d971 @alobbs git-svn-id: svn://cherokee-project.com/cherokee/trunk@243 5dc97367-97…
alobbs authored
23
24 %prep
25 %setup -q
26 gzip -dc %SOURCE | tar xvf -
27
28 %build
29 CFLAGS="$RPM_OPT_FLAGS" \
30 ./configure --prefix=%{_prefix} \
31 --sysconfdir=%{_sysconfdir} \
32 --mandir=%{_mandir} \
33 --sbindir=%{_sbindir} \
c153ac4 @alobbs The spec file has been (blindly) updated. It was using paths to old
alobbs authored
34 --with-wwwroot=/home/httpd
b574255 @alobbs Fixes a typo: s/-ggb/-ggdb/. Thanks to Joe Klemmer, and Stefan de
alobbs authored
35 make CFLAGS="-O0 -ggdb"
ae9d971 @alobbs git-svn-id: svn://cherokee-project.com/cherokee/trunk@243 5dc97367-97…
alobbs authored
36
37 %install
38 make install DESTDIR=$RPM_BUILD_ROOT
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %post
44 /sbin/ldconfig
45 mkdir -p /home/httpd
c153ac4 @alobbs The spec file has been (blindly) updated. It was using paths to old
alobbs authored
46 mkdir -p %{_localstatedir}/log
47 mkdir -p %{_localstatedir}/run
ae9d971 @alobbs git-svn-id: svn://cherokee-project.com/cherokee/trunk@243 5dc97367-97…
alobbs authored
48
49 %postun
50 /sbin/ldconfig
51
52 %files
53 %{_mandir}/*
54 %{_bindir}/*
55 %{_libdir}/*
56 %{_datadir}/*
57 %{_sbindir}/*
58 %{_includedir}/*
59 %{_sysconfdir}/*
60 /home/httpd/*
61
Something went wrong with that request. Please try again.