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