-%define pre 20031225
-
Summary: Cherokee webserver
+Summary(pl): Cherokee - serwer WWW
Name: cherokee
Version: 0.4.6
+%define pre 20031225
Release: 0.%{pre}.1
License: GPL
-Group: Networking/Daemons
-URL: http://alobbs.com/cherokee
+Group: Networking/Daemons
Source0: ftp://alobbs.com/cherokee/%{version}/%{name}-%{version}-%{pre}.tar.gz
# Source0-md5: c3987a0abe0cbbab54d939a2fcc046ba
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+URL: http://alobbs.com/cherokee/
BuildRequires: fcgi-devel
BuildRequires: gnome-vfs2-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
+Cherokee is a webserwer:
- FAST and tiny
- Embedable
- Extensible with plug-ins
- Handler-to-path support
- Virtual servers support
- FastCGI support
-- Encoders support: o GZip
-- Loggers support: o NCSA
+- Encoders support, including GZip
+- Loggers support, including NCSA
- Dynamic / Static plug-in compilation
- Streaming support
-- Common tasks: o Work as a daemon o Mime types o Log via syslog o
- Keep-alive connections o Runs under a chroot enviroment
+- Common tasks: Work as a daemon, MIME types, Log via syslog,
+ Keep-alive connections, Runs under a chroot enviroment
- Clean code ;-)
- It's free software
+%description -l pl
+Cherokee to serwer WWW:
+- SZYBKI i ma³y
+- mo¿liwy do wbudowania
+- rozszerzalny przy pomocy wtyczek
+- z mo¿liwo¶ci± przypisania sposobu obs³ugi do ¶cie¿ek
+- z obs³ug± serwerów wirtualnych
+- z obs³ug± FastCGI
+- z obs³ug± kodowania, w tym GZipa
+- z obs³ug± loggerów, w tym NCSA
+- z dynamiczn± lub statyczn± kompilacj± wtyczek
+- z obs³ug± strumieni
+- wykonuj±cy popularne zadania: praca jako demon, obs³uga typów MIME,
+ logowanie poprzez sysloga, po³±czenia keep-alive, dzia³anie w
+ ¶rodowisku chrootowanym
+- o przejrzystym kodzie ;-)
+- bêd±cy oprogramowaniem wolnodostêpnym.
+
%package devel
-Summary: headers for cherokee web server
-Group: Development/Libraries
+Summary: Header files for Cherokee web server
+Summary(pl): Pliki nag³ówkowe dla serwera WWW Cherokee
+Group: Development/Libraries
%description devel
-headers for cherokee web server
+Header files for Cherokee web server.
+
+%description devel -l pl
+Pliki nag³ówkowe dla serwera WWW Cherokee.
%prep
%setup -q
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/cherokee
-%{_sysconfdir}/cherokee
-%{_sysconfdir}/cherokee/cherokee.conf
-%dir %{_includedir}/cherokee
+%dir %{_sysconfdir}/cherokee
+%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/cherokee/cherokee.conf
%dir %{_libdir}/cherokee
%{_libdir}/cherokee/libcherokee_*
%{_libdir}/libcherokee.*
%{_datadir}/cherokee
-%{_mandir}/man1/cherokee.1.gz
+%{_mandir}/man1/cherokee.1*
%files devel
+%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/cherokee-config
-%{_includedir}/cherokee/*.h
-%{_libdir}/pkgconfig/cherokee.pc
-%{_datadir}/aclocal/cherokee.m4
-%{_mandir}/man1/cherokee-config.1.gz
-
-
-
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+%{_includedir}/cherokee
+%{_pkgconfigdir}/cherokee.pc
+%{_aclocaldir}/cherokee.m4
+%{_mandir}/man1/cherokee-config.1*