root/cherokee/trunk/cherokee.spec.in

Revision 4141, 1.4 kB (checked in by alo, 2 months ago)

New year, new copyright notice: 's/2009/2010/g'.

Line 
1 # Cherokee
2 # Copyright (C) 2001-2010 Alvaro Lopez Ortega
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
14 URL:            http://www.cherokee-project.com
15
16 %description
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.
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}       \
34                   --with-wwwroot=/home/httpd
35 make CFLAGS="-O0 -ggdb"
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
46 mkdir -p %{_localstatedir}/log
47 mkdir -p %{_localstatedir}/run
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
Note: See TracBrowser for help on using the browser.