Hi Cherokees
I'm still working on Cherokee and its process to include it on Fedora Core
Official Reposistories.
I've got some new packages made from a much more polished spec file. Here it
is my last spec file for 0.5.4:
# Cherokee
# 2006 Alvaro Lopez Ortega
Name: cherokee
Version: 0.5.4
Release: 1
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Docdir: %{_datadir}/doc
Source: %{name}-%{version}.tar.gz
Summary: Flexible and Fast web server
Group: Productivity/Networking/Web/Servers
URL: http://www.0x50.org
BuildRequires: bison
%description
Cherokee is a very fast, flexible and easy to configure Web Server.
It supports the widespread technologies nowadays: FastCGI, SCGI, PHP,
CGI, TLS and SSL encrypted connections, Virtual hosts, Authentication,
on the fly encoding, Apache compatible log files, and much more.
%prep
%setup -q
%build
CFLAGS="$RPM_OPT_FLAGS" \
%configure --prefix=%{_prefix} \
--sysconfdir=%{_sysconfdir} \
--mandir=%{_mandir} \
--sbindir=%{_sbindir} \
--with-wwwroot=/home/httpd/ \
--enable-pthreads
#make CFLAGS="-O0 -g3"
%install
make install DESTDIR=$RPM_BUILD_ROOT
#rm $RPM_BUILD_ROOT/etc/cherokee/sites-enabled/default
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
ln -s %{_sysconfdir}/cherokee/sites-available/default \
%{_sysconfdir}/cherokee/sites-enabled/default
mkdir -p /home/httpd
%postun
/sbin/ldconfig
%files
%{_mandir}/*
%{_bindir}/*
%{_libdir}/*
%{_datadir}/*
%{_sbindir}/*
%{_includedir}/*
%{_sysconfdir}/*
/home/httpd/*
%changelog
*2006-08-16 Manuel Arostegui Ramirez <[EMAIL PROTECTED]>
-Added %configure instead of ./configure
*2006-08-10 Manuel Arostegui Ramirez <[EMAIL PROTECTED]>
-Added BuildRequires bison line.
-Delete the gzip line in %prep, the %setup macro handles that.
-Delete the Autoreqprov: on line, automatic dependencies are already on
You can also download the newest RPM package created from this spec file at:
http://manuel.todo-linux.com/cherokee/rpm/cherokee-0.5.4-1.i386.rpm
That's all folks
--
Manuel Arostegui Ramirez.
Electronic Mail is not secure, may not be read every day, and should not
be used for urgent or sensitive issues.
_______________________________________________
Cherokee mailing list
[email protected]
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee