]>
Commit | Line | Data |
---|---|---|
0f615d6e | 1 | # |
abf5f06b | 2 | # TODO: |
0f615d6e JK |
3 | # - think about moving modules to subpackages. At least, those with extra |
4 | # dependencies. | |
d469ca68 | 5 | # - maybe there is no need to pack *.py (are *.pyc enough?) |
01abcdff JB |
6 | # |
7 | # Conditional build: | |
3319fba3 | 8 | %bcond_without geoip # without GeoIP support |
56ea9d0b JK |
9 | %bcond_without mysql # without MySQL support |
10 | %bcond_without ldap # without LDAP support | |
11 | %bcond_without ffmpeg # without ffmpeg support | |
01d41beb | 12 | # |
01d41beb | 13 | Summary: Fast, Flexible and Lightweight Web server |
56ec7482 | 14 | Summary(pl.UTF-8): Cherokee - serwer WWW |
0e85b34f | 15 | Name: cherokee |
6fbb06ee | 16 | Version: 1.2.101 |
715af975 | 17 | Release: 2 |
01d41beb | 18 | License: GPL v2 |
8c503f01 | 19 | Group: Networking/Daemons |
58fe2b83 | 20 | Source0: http://www.cherokee-project.com/download/1.2/%{version}/%{name}-%{version}.tar.gz |
6fbb06ee | 21 | # Source0-md5: ef47003355a2e368e4d9596cd070ef23 |
01d41beb ER |
22 | Source1: %{name}.init |
23 | Source2: %{name}.sysconfig | |
ac2feb08 | 24 | Source3: %{name}.upstart |
1bdedc57 | 25 | Patch0: %{name}-config.patch |
769faa4b | 26 | Patch1: %{name}-panic_path.patch |
715af975 | 27 | Patch2: ffmpeg0.11.patch |
72ce7982 | 28 | URL: http://www.cherokee-project.com/ |
90a7df58 | 29 | %{?with_geoip:BuildRequires: GeoIP-devel} |
1bdedc57 ER |
30 | BuildRequires: autoconf |
31 | BuildRequires: automake | |
715af975 | 32 | %{?with_ffmpeg:BuildRequires: ffmpeg-devel >= 1.0} |
ca7698e4 | 33 | BuildRequires: gettext-devel |
3319fba3 | 34 | BuildRequires: libtool |
56ea9d0b JK |
35 | %{?with_mysql:BuildRequires: mysql-devel} |
36 | %{?with_ldap:BuildRequires: openldap-devel} | |
abf5f06b | 37 | BuildRequires: openssl-devel |
cfbc51f9 | 38 | BuildRequires: pam-devel |
01d41beb | 39 | BuildRequires: pcre-devel |
68df699b | 40 | BuildRequires: php(fcgi) |
cfbc51f9 | 41 | BuildRequires: pkgconfig |
8c2165c6 | 42 | BuildRequires: python-docutils |
3319fba3 | 43 | BuildRequires: rpm-pythonprov |
ac2feb08 | 44 | BuildRequires: rpmbuild(macros) >= 1.561 |
cfbc51f9 | 45 | BuildRequires: zlib-devel |
0d94535f | 46 | Requires(post,preun): /sbin/chkconfig |
1bdedc57 ER |
47 | Requires(postun): /usr/sbin/groupdel |
48 | Requires(postun): /usr/sbin/userdel | |
49 | Requires(pre): /bin/id | |
50 | Requires(pre): /usr/bin/getgid | |
51 | Requires(pre): /usr/sbin/groupadd | |
52 | Requires(pre): /usr/sbin/useradd | |
d8be9859 | 53 | Requires: %{name}-libs = %{version}-%{release} |
0d94535f | 54 | Requires: rc-scripts >= 0.4.3.0 |
e8c0b4db | 55 | Suggests: %{name}-admin = %{version}-%{release} |
68df699b | 56 | Suggests: php(fcgi) |
1bdedc57 ER |
57 | Provides: group(cherokee) |
58 | Provides: group(http) | |
59 | Provides: user(cherokee) | |
bdfcbc7b | 60 | Provides: webserver |
e4201e2f | 61 | Provides: webserver(indexfile) |
8c503f01 | 62 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
0e85b34f | 63 | |
01d41beb ER |
64 | %define _sysconfdir /etc/cherokee |
65 | %define _wwwhome /home/services/%{name} | |
66 | %define _wwwroot %{_wwwhome}/html | |
67 | ||
0e85b34f | 68 | %description |
01d41beb ER |
69 | Cherokee is a flexible, very fast, lightweight Web server. It is |
70 | implemented entirely in C, and has no dependencies beyond a standard C | |
a40f27e9 | 71 | library. It is embeddable and extensible with plug-ins. It supports |
abf5f06b | 72 | on-the-fly configuration by reading files or strings, TLS/SSL via |
73 | OpenSSL, virtual hosts, authentication, cache friendly features, PHP, | |
74 | custom error management, and much more. | |
0e85b34f | 75 | |
fd499fdf | 76 | %description -l pl.UTF-8 |
a40f27e9 | 77 | Cherokee to elastyczny, bardzo szybki i lekki serwer WWW. Jest |
fd499fdf JR |
78 | zaimplementowany całkowicie w C i nie ma zależności poza standardową |
79 | biblioteką C. Jest osadzalny i rozbudowywalny poprzez wtyczki. | |
80 | Obsługuje konfigurację w locie poprzez odczyt plików lub łańcuchów | |
abf5f06b | 81 | znaków, TLS/SSL poprzez OpenSSL, hosty wirtualne, uwierzytelnianie, |
82 | opcje związane z pamięcią podręczną, PHP, własne zarządzanie błędami i | |
83 | wiele więcej. | |
8c503f01 | 84 | |
ac2feb08 JK |
85 | %package upstart |
86 | Summary: Upstart job description for the Cherokee web server | |
87 | Summary(pl.UTF-8): Opis zadania Upstart dla serwera Cherokee | |
88 | Group: Daemons | |
89 | Requires: %{name} = %{version}-%{release} | |
90 | Requires: upstart >= 0.6 | |
91 | ||
92 | %description upstart | |
93 | Upstart job description for the Cherokee web server. | |
94 | ||
95 | %description upstart -l pl.UTF-8 | |
96 | Opis zadania Upstart dla serwera WWW Cherokee. | |
97 | ||
e8c0b4db JK |
98 | %package admin |
99 | Summary: Cherokee web server administration interface | |
100 | Summary(pl.UTF-8): Interfejs administracyjny serwera WWW Cherokee | |
101 | Group: Networking/Daemons | |
ca7698e4 | 102 | Requires: %{name} = %{version}-%{release} |
e8c0b4db JK |
103 | Requires: python |
104 | Requires: python-modules | |
d8be9859 | 105 | |
e8c0b4db JK |
106 | %description admin |
107 | Cherokee web server administration interface. | |
d8be9859 | 108 | |
e8c0b4db JK |
109 | %description admin -l pl.UTF-8 |
110 | Interfejs administracyjny serwera WWW Cherokee. | |
d8be9859 | 111 | |
0e85b34f | 112 | %package devel |
8c503f01 | 113 | Summary: Header files for Cherokee web server |
56ec7482 | 114 | Summary(pl.UTF-8): Pliki nagłówkowe dla serwera WWW Cherokee |
8c503f01 | 115 | Group: Development/Libraries |
d8be9859 | 116 | Requires: %{name}-libs = %{version}-%{release} |
0e85b34f | 117 | |
118 | %description devel | |
8c503f01 JB |
119 | Header files for Cherokee web server. |
120 | ||
fd499fdf JR |
121 | %description devel -l pl.UTF-8 |
122 | Pliki nagłówkowe dla serwera WWW Cherokee. | |
0e85b34f | 123 | |
e8c0b4db JK |
124 | %package libs |
125 | Summary: Cherokee web server libraries | |
126 | Summary(pl.UTF-8): Biblioteki serwera WWW Cherokee | |
127 | Group: Libraries | |
128 | ||
129 | %description libs | |
130 | Cherokee web server libraries. | |
131 | ||
132 | %description libs -l pl.UTF-8 | |
133 | Biblioteki serwera WWW Cherokee. | |
134 | ||
0e85b34f | 135 | %prep |
136 | %setup -q | |
1bdedc57 ER |
137 | %patch0 -p1 |
138 | %patch1 -p1 | |
715af975 | 139 | %patch2 -p1 |
0e85b34f | 140 | |
141 | %build | |
3319fba3 | 142 | %{__libtoolize} |
1bdedc57 ER |
143 | %{__aclocal} -I m4 |
144 | %{__autoconf} | |
145 | %{__autoheader} | |
146 | %{__automake} | |
0e85b34f | 147 | %configure \ |
769faa4b | 148 | --with-php=/usr/bin/php.cgi \ |
cfbc51f9 | 149 | --disable-static \ |
3319fba3 | 150 | --enable-os-string="PLD Linux" \ |
3319fba3 KK |
151 | --sysconfdir=/etc \ |
152 | --with-wwwroot=%{_wwwroot} \ | |
abf5f06b | 153 | --with-wwwuser=cherokee \ |
154 | --with-wwwgroup=http \ | |
56ea9d0b JK |
155 | %{!?with_geoip:--without-geoip} \ |
156 | %{!?with_mysql:--without-mysql} \ | |
157 | %{!?with_ffmpeg:--without-ffmpeg} \ | |
158 | %{!?with_ldap:--without-ldap} | |
0e85b34f | 159 | %{__make} |
160 | ||
161 | %install | |
162 | rm -rf $RPM_BUILD_ROOT | |
ac2feb08 | 163 | install -d $RPM_BUILD_ROOT{/etc/{init,pam.d,sysconfig,rc.d/init.d},/var/log/%{name}} |
8c503f01 | 164 | |
223f9f35 | 165 | %{__make} -j1 install \ |
8c503f01 JB |
166 | DESTDIR=$RPM_BUILD_ROOT |
167 | ||
01d41beb ER |
168 | install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name} |
169 | install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name} | |
ac2feb08 | 170 | install %{SOURCE3} $RPM_BUILD_ROOT/etc/init/%{name}.conf |
01d41beb | 171 | |
1bdedc57 ER |
172 | # users don't need this |
173 | mv $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}}/cherokee-panic | |
1bdedc57 | 174 | |
cfbc51f9 JB |
175 | # modules dlopened by *.so |
176 | rm -f $RPM_BUILD_ROOT%{_libdir}/cherokee/lib*.la | |
177 | ||
01d41beb ER |
178 | # unify manual dir |
179 | rm -rf html | |
180 | mv $RPM_BUILD_ROOT%{_docdir}/%{name} html | |
181 | ||
3b7d94a5 JK |
182 | # provided via %doc |
183 | rm $RPM_BUILD_ROOT/etc/cherokee/cherokee.conf.perf_sample | |
184 | ||
d469ca68 JK |
185 | # compile python modules, otherwise *.pyc may get generated on runtime |
186 | # and stay after package removal | |
187 | %py_comp $RPM_BUILD_ROOT%{_datadir}/cherokee/admin/ | |
188 | ||
769faa4b JK |
189 | # seems like this is not needed on Linux |
190 | rm $RPM_BUILD_ROOT%{_bindir}/cherokee-macos-askpass | |
191 | ||
0bb5c2e0 | 192 | mv $RPM_BUILD_ROOT%{_localedir}/{sv_SE,sv} |
3b7d94a5 JK |
193 | %find_lang %{name} |
194 | ||
d469ca68 | 195 | |
8c503f01 JB |
196 | %clean |
197 | rm -rf $RPM_BUILD_ROOT | |
0e85b34f | 198 | |
1bdedc57 ER |
199 | %pre |
200 | %groupadd -g 161 cherokee | |
201 | %groupadd -g 51 http | |
202 | %useradd -u 161 -d %{_wwwhome} -c "Cherokee User" -g cherokee cherokee | |
203 | %addusertogroup cherokee http | |
204 | ||
01d41beb | 205 | %post |
01d41beb | 206 | /sbin/chkconfig --add %{name} |
c61a601c ER |
207 | %service %{name} restart "Cherokee webserver" |
208 | exit 0 | |
01d41beb ER |
209 | |
210 | %preun | |
211 | if [ "$1" = "0" ]; then | |
212 | %service %{name} stop | |
213 | /sbin/chkconfig --del %{name} | |
214 | fi | |
215 | ||
1bdedc57 | 216 | %postun |
1bdedc57 | 217 | if [ "$1" = "0" ]; then |
c61a601c ER |
218 | %userremove cherokee |
219 | %groupremove cherokee | |
1bdedc57 ER |
220 | %groupremove http |
221 | fi | |
cfbc51f9 | 222 | |
ac2feb08 JK |
223 | %post upstart |
224 | %upstart_post %{name} | |
225 | ||
226 | %postun upstart | |
227 | %upstart_postun %{name} | |
228 | ||
d8be9859 JB |
229 | %post libs -p /sbin/ldconfig |
230 | %postun libs -p /sbin/ldconfig | |
231 | ||
e8c0b4db | 232 | %files |
0e85b34f | 233 | %defattr(644,root,root,755) |
ac236727 | 234 | %doc AUTHORS ChangeLog html performance.conf.sample |
0adbe1dc ER |
235 | %dir %attr(750,root,root) %{_sysconfdir} |
236 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cherokee.conf | |
01d41beb | 237 | |
2911a3cb | 238 | %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/cherokee |
01d41beb ER |
239 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/cherokee |
240 | %attr(754,root,root) /etc/rc.d/init.d/cherokee | |
241 | ||
ac236727 | 242 | %attr(755,root,root) %{_bindir}/CTK-run |
01d41beb | 243 | %attr(755,root,root) %{_bindir}/cget |
72ce7982 | 244 | %attr(755,root,root) %{_bindir}/cherokee-tweak |
01d41beb | 245 | %attr(755,root,root) %{_sbindir}/cherokee |
3319fba3 KK |
246 | %attr(755,root,root) %{_sbindir}/cherokee-panic |
247 | %attr(755,root,root) %{_sbindir}/cherokee-worker | |
01d41beb | 248 | |
0e85b34f | 249 | %dir %{_libdir}/cherokee |
1bdedc57 | 250 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_admin.so |
72ce7982 | 251 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_and.so |
abf5f06b | 252 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_authlist.so |
253 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_bind.so | |
01d41beb ER |
254 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_cgi.so |
255 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_combined.so | |
256 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_common.so | |
3319fba3 | 257 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_custom_error.so |
abf5f06b | 258 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_custom.so |
56ea9d0b | 259 | %{?with_mysql:%attr(755,root,root) %{_libdir}/cherokee/libplugin_dbslayer.so} |
3319fba3 | 260 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_deflate.so |
72ce7982 | 261 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_directory.so |
01d41beb | 262 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_dirlist.so |
58fe2b83 | 263 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_drop.so |
abf5f06b | 264 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_empty_gif.so |
3319fba3 | 265 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_error_nn.so |
01d41beb | 266 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_error_redir.so |
abf5f06b | 267 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_evhost.so |
268 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_exists.so | |
72ce7982 | 269 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_extensions.so |
769faa4b | 270 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_failover.so |
8c2165c6 | 271 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_fcgi.so |
01d41beb | 272 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_file.so |
abf5f06b | 273 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_from.so |
274 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_fullpath.so | |
0a169935 | 275 | %{?with_geoip:%attr(755,root,root) %{_libdir}/cherokee/libplugin_geoip.so} |
01d41beb | 276 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_gzip.so |
72ce7982 | 277 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_header.so |
01d41beb ER |
278 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_htdigest.so |
279 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_htpasswd.so | |
abf5f06b | 280 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_ip_hash.so |
56ea9d0b | 281 | %{?with_ldap:%attr(755,root,root) %{_libdir}/cherokee/libplugin_ldap.so} |
abf5f06b | 282 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_libssl.so |
283 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_method.so | |
56ea9d0b | 284 | %{?with_mysql:%attr(755,root,root) %{_libdir}/cherokee/libplugin_mysql.so} |
01d41beb | 285 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_ncsa.so |
72ce7982 PZ |
286 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_not.so |
287 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_or.so | |
01d41beb | 288 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_pam.so |
01d41beb | 289 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_plain.so |
3b7d94a5 JK |
290 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_post_report.so |
291 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_post_track.so | |
3319fba3 | 292 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_proxy.so |
01d41beb | 293 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_redir.so |
abf5f06b | 294 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_rehost.so |
295 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_render_rrd.so | |
72ce7982 | 296 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_request.so |
8c2165c6 | 297 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_round_robin.so |
abf5f06b | 298 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_rrd.so |
8c2165c6 | 299 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_scgi.so |
abf5f06b | 300 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_secdownload.so |
01d41beb | 301 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_server_info.so |
abf5f06b | 302 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_ssi.so |
7dfcc630 | 303 | %if %{with ffmpeg} |
abf5f06b | 304 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_streaming.so |
7dfcc630 | 305 | %endif |
abf5f06b | 306 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_target_ip.so |
2ff65984 | 307 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_tls.so |
3b7d94a5 | 308 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_url_arg.so |
abf5f06b | 309 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_uwsgi.so |
ac236727 | 310 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_v_or.so |
abf5f06b | 311 | %attr(755,root,root) %{_libdir}/cherokee/libplugin_wildcard.so |
01d41beb | 312 | |
01d41beb | 313 | %{_mandir}/man1/cget.1* |
72ce7982 | 314 | %{_mandir}/man1/cherokee.1* |
3319fba3 KK |
315 | %{_mandir}/man1/cherokee-tweak.1* |
316 | %{_mandir}/man1/cherokee-worker.1* | |
01d41beb | 317 | |
72ce7982 | 318 | %dir %{_datadir}/cherokee |
72ce7982 PZ |
319 | %{_datadir}/cherokee/deps |
320 | %{_datadir}/cherokee/icons | |
72ce7982 | 321 | %{_datadir}/cherokee/themes |
01d41beb ER |
322 | |
323 | %dir %{_wwwhome} | |
0adbe1dc ER |
324 | %dir %{_wwwroot} |
325 | %config(missingok) %{_wwwroot}/* | |
326 | ||
3319fba3 | 327 | %dir %attr(750,cherokee,logs) /var/log/%{name} |
0e85b34f | 328 | |
0bb5c2e0 JK |
329 | %dir %attr(771,root,cherokee) /var/lib/%{name} |
330 | %dir %attr(771,cherokee,cherokee) /var/lib/%{name}/graphs | |
331 | %dir %attr(771,cherokee,cherokee) /var/lib/%{name}/graphs/images | |
332 | ||
ac2feb08 JK |
333 | %files upstart |
334 | %defattr(644,root,root,755) | |
335 | %config(noreplace) %verify(not md5 mtime size) /etc/init/%{name}.conf | |
336 | ||
e8c0b4db JK |
337 | %files admin -f %{name}.lang |
338 | %defattr(644,root,root,755) | |
339 | %attr(755,root,root) %{_sbindir}/cherokee-admin | |
769faa4b | 340 | %attr(755,root,root) %{_bindir}/cherokee-admin-launcher |
e8c0b4db | 341 | %{_mandir}/man1/cherokee-admin.1* |
769faa4b | 342 | %{_mandir}/man1/cherokee-admin-launcher.1* |
e8c0b4db JK |
343 | %dir %{_datadir}/cherokee/admin |
344 | %{_datadir}/cherokee/admin/cherokee.conf.sample | |
345 | %{_datadir}/cherokee/admin/performance.conf.sample | |
346 | %{_datadir}/cherokee/admin/*.html | |
347 | %attr(755,root,root) %{_datadir}/cherokee/admin/*.py | |
d469ca68 | 348 | %{_datadir}/cherokee/admin/*.pyc |
e8c0b4db | 349 | %{_datadir}/cherokee/admin/static |
d469ca68 JK |
350 | %dir %{_datadir}/cherokee/admin/CTK |
351 | %dir %{_datadir}/cherokee/admin/CTK/CTK | |
352 | %{_datadir}/cherokee/admin/CTK/CTK/*.py | |
353 | %{_datadir}/cherokee/admin/CTK/CTK/*.pyc | |
354 | %{_datadir}/cherokee/admin/CTK/static | |
355 | %dir %{_datadir}/cherokee/admin/plugins | |
356 | %{_datadir}/cherokee/admin/plugins/*.py | |
357 | %{_datadir}/cherokee/admin/plugins/*.pyc | |
358 | %dir %{_datadir}/cherokee/admin/wizards | |
359 | %{_datadir}/cherokee/admin/wizards/*.py | |
360 | %{_datadir}/cherokee/admin/wizards/*.pyc | |
ac236727 JK |
361 | %dir %{_datadir}/cherokee/admin/market |
362 | %{_datadir}/cherokee/admin/market/*.py | |
363 | %{_datadir}/cherokee/admin/market/*.pyc | |
769faa4b JK |
364 | %dir %{_datadir}/cherokee/admin/icons |
365 | %{_datadir}/cherokee/admin/icons/*.png | |
366 | %{_datadir}/cherokee/admin/icons/*.svg | |
e8c0b4db | 367 | |
d8be9859 JB |
368 | %files libs |
369 | %defattr(644,root,root,755) | |
370 | %attr(755,root,root) %{_libdir}/libcherokee-base.so.*.*.* | |
371 | %attr(755,root,root) %ghost %{_libdir}/libcherokee-base.so.0 | |
372 | %attr(755,root,root) %{_libdir}/libcherokee-client.so.*.*.* | |
373 | %attr(755,root,root) %ghost %{_libdir}/libcherokee-client.so.0 | |
d8be9859 JB |
374 | %attr(755,root,root) %{_libdir}/libcherokee-server.so.*.*.* |
375 | %attr(755,root,root) %ghost %{_libdir}/libcherokee-server.so.0 | |
376 | ||
0e85b34f | 377 | %files devel |
8c503f01 | 378 | %defattr(644,root,root,755) |
0e85b34f | 379 | %attr(755,root,root) %{_bindir}/cherokee-config |
72ce7982 | 380 | %attr(755,root,root) %{_libdir}/libcherokee-base.so |
72ce7982 | 381 | %attr(755,root,root) %{_libdir}/libcherokee-client.so |
72ce7982 | 382 | %attr(755,root,root) %{_libdir}/libcherokee-server.so |
d8be9859 JB |
383 | %{_libdir}/libcherokee-base.la |
384 | %{_libdir}/libcherokee-client.la | |
d8be9859 | 385 | %{_libdir}/libcherokee-server.la |
8c503f01 JB |
386 | %{_includedir}/cherokee |
387 | %{_pkgconfigdir}/cherokee.pc | |
388 | %{_aclocaldir}/cherokee.m4 | |
389 | %{_mandir}/man1/cherokee-config.1* |