]> git.pld-linux.org Git - packages/cherokee.git/blob - cherokee.spec
42942e6768d328fd513f4bb342df62fafe65a9da
[packages/cherokee.git] / cherokee.spec
1 Summary:        Cherokee webserver
2 Summary(pl):    Cherokee - serwer WWW
3 Name:           cherokee
4 Version:        0.4.6
5 %define         pre     20031225
6 Release:        0.%{pre}.1
7 License:        GPL
8 Group:          Networking/Daemons
9 Source0:        ftp://alobbs.com/cherokee/%{version}/%{name}-%{version}-%{pre}.tar.gz
10 # Source0-md5:  c3987a0abe0cbbab54d939a2fcc046ba
11 URL:            http://alobbs.com/cherokee/
12 BuildRequires:  fcgi-devel
13 BuildRequires:  gnome-vfs2-devel >= 2.0
14 # "TLS under construction"
15 #BuildRequires: gnutls-devel >= 0.9.99
16 BuildRequires:  pam-devel
17 BuildRequires:  pkgconfig
18 BuildRequires:  zlib-devel
19 Provides:       webserver
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Cherokee is a webserwer:
24 - FAST and tiny
25 - Embedable
26 - Extensible with plug-ins
27 - Handler-to-path support
28 - Virtual servers support
29 - FastCGI support
30 - Encoders support, including GZip
31 - Loggers support, including NCSA
32 - Dynamic / Static plug-in compilation
33 - Streaming support
34 - Common tasks: Work as a daemon, MIME types, Log via syslog,
35   Keep-alive connections, Runs under a chroot enviroment
36 - Clean code ;-)
37 - It's free software
38
39 %description -l pl
40 Cherokee to serwer WWW:
41 - SZYBKI i ma³y
42 - mo¿liwy do wbudowania
43 - rozszerzalny przy pomocy wtyczek
44 - z mo¿liwo¶ci± przypisania sposobu obs³ugi do ¶cie¿ek
45 - z obs³ug± serwerów wirtualnych
46 - z obs³ug± FastCGI
47 - z obs³ug± kodowania, w tym GZipa
48 - z obs³ug± loggerów, w tym NCSA
49 - z dynamiczn± lub statyczn± kompilacj± wtyczek
50 - z obs³ug± strumieni
51 - wykonuj±cy popularne zadania: praca jako demon, obs³uga typów MIME,
52   logowanie poprzez sysloga, po³±czenia keep-alive, dzia³anie w
53   ¶rodowisku chrootowanym
54 - o przejrzystym kodzie ;-)
55 - bêd±cy oprogramowaniem wolnodostêpnym.
56
57 %package devel
58 Summary:        Header files for Cherokee web server
59 Summary(pl):    Pliki nag³ówkowe dla serwera WWW Cherokee
60 Group:          Development/Libraries
61 Requires:       %{name} = %{version}
62
63 %description devel
64 Header files for Cherokee web server.
65
66 %description devel -l pl
67 Pliki nag³ówkowe dla serwera WWW Cherokee.
68
69 %prep
70 %setup -q
71
72 %build
73 %configure \
74         --disable-static \
75         --enable-gnomevfs \
76         --enable-tls
77 %{__make}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} install \
83         DESTDIR=$RPM_BUILD_ROOT
84
85 # modules dlopened by *.so
86 rm -f $RPM_BUILD_ROOT%{_libdir}/cherokee/lib*.la
87
88 %clean
89 rm -rf $RPM_BUILD_ROOT
90
91 %post   -p /sbin/ldconfig
92 %postun -p /sbin/ldconfig
93
94 %files
95 %defattr(644,root,root,755)
96 %attr(755,root,root) %{_bindir}/cherokee
97 %dir %{_sysconfdir}/cherokee
98 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/cherokee/cherokee.conf
99 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/cherokee/icons.conf
100 %attr(755,root,root) %{_libdir}/libcherokee.so.*.*.*
101 %dir %{_libdir}/cherokee
102 %attr(755,root,root) %{_libdir}/cherokee/libcherokee_*.so*
103 %{_datadir}/cherokee
104 %{_mandir}/man1/cherokee.1*
105
106 %files devel
107 %defattr(644,root,root,755)
108 %attr(755,root,root) %{_bindir}/cherokee-config
109 %attr(755,root,root) %{_libdir}/libcherokee.so
110 %{_libdir}/libcherokee.la
111 %{_includedir}/cherokee
112 %{_pkgconfigdir}/cherokee.pc
113 %{_aclocaldir}/cherokee.m4
114 %{_mandir}/man1/cherokee-config.1*
This page took 0.029494 seconds and 3 git commands to generate.