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