comparison uwsgi.spec @ 0:9668c317e887

Initial revision
author Guido Berhoerster <guido+packaging@berhoerster.name>
date Wed, 10 Jul 2013 19:23:16 +0200
parents
children 6f2f488ec30d
comparison
equal deleted inserted replaced
-1:000000000000 0:9668c317e887
1 # revision of the uwsgi documentation corresponding to the packaged release
2 %global uwsgi_docs_rev fe9425920713f11d3636ae3924867147fabcc02c
3
4 Name: uwsgi
5 Version: 1.9.13
6 Release: 1%{?dist}
7 Summary: Complete Stack for Building Clustered/Distributed Network Applications
8
9 Group: System Environment/Daemons
10 License: GPLv2+
11 URL: http://projects.unbit.it/uwsgi
12 Source0: http://projects.unbit.it/downloads/%{name}-%{version}.tar.gz
13 Source1: https://github.com/unbit/uwsgi-docs/archive/%{uwsgi_docs_rev}.zip
14 Source2: %{name}.ini
15 Source3: %{name}.conf
16 Source4: %{name}.init
17 Source5: %{name}.logrotate
18 # prevent attempts to install plugins into plugin_dir at build time
19 Patch0: uwsgi-do-not-install-plugins-into-plugin_dir.patch
20 # do not set rpath for plugins
21 Patch1: uwsgi-no-rpath.patch
22 # link against libboost*-mt provided by RHEL/Fedora
23 Patch2: uwsgi-link-against-boost-mt.patch
24 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
25
26 BuildRequires: boost-devel
27 BuildRequires: bzip2-devel
28 BuildRequires: dos2unix
29 BuildRequires: erlang
30 BuildRequires: gcc-objc
31 BuildRequires: GeoIP-devel
32 BuildRequires: gloox-devel
33 BuildRequires: gmp-devel
34 BuildRequires: httpd-devel
35 BuildRequires: java-devel
36 BuildRequires: krb5-devel
37 BuildRequires: libattr-devel
38 BuildRequires: libcap-devel
39 BuildRequires: libcurl-devel
40 BuildRequires: libcurl-devel
41 BuildRequires: libedit-devel
42 BuildRequires: libuuid-devel
43 BuildRequires: libxml2-devel
44 BuildRequires: libxslt-devel
45 BuildRequires: libyaml-devel
46 BuildRequires: lua-devel
47 BuildRequires: mongodb-devel
48 BuildRequires: mono-devel
49 BuildRequires: openldap-devel
50 BuildRequires: openssl-devel
51 BuildRequires: pam-devel
52 BuildRequires: pcre-devel
53 BuildRequires: perl-Coro
54 BuildRequires: perl-devel
55 BuildRequires: perl-ExtUtils-Embed
56 BuildRequires: php-devel
57 BuildRequires: php-embedded
58 BuildRequires: postgresql-devel
59 BuildRequires: python2-devel
60 BuildRequires: python-greenlet-devel
61 BuildRequires: python-sphinx
62 BuildRequires: ruby
63 BuildRequires: ruby-devel
64 BuildRequires: sqlite-devel
65 BuildRequires: tcp_wrappers-devel
66 BuildRequires: v8-devel
67 BuildRequires: zeromq-devel
68 Requires(pre): shadow-utils
69 Requires(post): chkconfig
70 Requires(postun): initscripts
71 Requires(preun): chkconfig
72 Requires(preun): initscripts
73
74 %description
75 The uWSGI project aims at developing a full stack for building (and hosting)
76 clustered/distributed network applications.
77
78 Mainly targeted at the web and its standards, it has been successfully used in
79 a lot of different contexts.
80
81 Thanks to its pluggable architecture it can be extended without limits to
82 support more platforms and languages. Currently, you can write plugins in C,
83 C++ and Objective-C.
84
85 The "WSGI" part in the name is a tribute to the namesake Python standard, as it
86 has been the first developed plugin for the project.
87
88 Versatility, performance, low-resource usage and reliability are the strengths
89 of the project (and the only rules followed).
90
91 %package devel
92 Summary: Development Files for uWSGI
93 Group: Development/Libraries
94 Requires: %{name} = %{version}-%{release}
95
96 %description devel
97 This package contains the development headers needed for developing uWSGI
98 plugins.
99
100 %package -n python-uwsgidecorators
101 Summary: Python decorators providing access to the uwsgi API
102 Group: Development/Libraries
103 Requires: %{name} = %{version}-%{release}
104 Requires: %{name}-plugin-python = %{version}-%{release}
105
106 %description -n python-uwsgidecorators
107 The uwsgidecorators Python module provides higher-level access to the uWSGI API.
108
109 %package doc
110 Summary: uWSGI Documentation
111 Group: Documentation
112 Requires: %{name} = %{version}-%{release}
113 BuildArch: noarch
114
115 %description doc
116 This package contains the documentation for uWSGI.
117
118 %package plugin-airbrake
119 Summary: uWSGI Plugin for Sending Backtraces to Airbrake-compatible Servers
120 Group: Development/Libraries
121 Requires: %{name} = %{version}-%{release}
122
123 %description plugin-airbrake
124 The airbrake uWSGI plugin allows to send backtraces to Airbrake-compatible
125 servers.
126
127 %package plugin-alarm_curl
128 Summary: uWSGI Plugin for Sending Alarms via curl
129 Group: Development/Libraries
130 Requires: %{name} = %{version}-%{release}
131
132 %description plugin-alarm_curl
133 The alarm_curl uWSGI plugin allows to send alarms via curl.
134
135 %package plugin-alarm_xmpp
136 Summary: uWSGI Plugin for Sending Alarms via XMPP
137 Group: Development/Libraries
138 Requires: %{name} = %{version}-%{release}
139
140 %description plugin-alarm_xmpp
141 The alarm_xmpp uWSGI plugin allows to send alarms via XMPP.
142
143 %package plugin-coroae
144 Summary: uWSGI Plugin Perl Coro::AnyEvent Support
145 Group: Development/Libraries
146 Requires: %{name} = %{version}-%{release}
147
148 %description plugin-coroae
149 The coroae uWSGI plugin enables support for the Perl Coro::AnyEvent loop engine.
150
151 %package plugin-curl_cron
152 Summary: uWSGI Plugin for Invoking URLs as Cron Tasks via curl
153 Group: Development/Libraries
154 Requires: %{name} = %{version}-%{release}
155
156 %description plugin-curl_cron
157 The curl_cron uWSGI plugin enables cron tasks to to invoke an URL via curl
158
159 %package plugin-emperor_mongodb
160 Summary: uWSGI Plugin for Monitoring an Emperor through a MongoDB Database
161 Group: Development/Libraries
162 Requires: %{name} = %{version}-%{release}
163
164 %description plugin-emperor_mongodb
165 The emperor_mongodb uWSGI plugin allows to monitor an emperor through a MongoDB
166 database.
167
168 %package plugin-emperor_pg
169 Summary: uWSGI Plugin for Monitoring an Emperor through a PostgresSQL Database
170 Group: Development/Libraries
171 Requires: %{name} = %{version}-%{release}
172
173 %description plugin-emperor_pg
174 The emperor_pg uWSGI Plugin allows to monitor an emperor through a PostgresSQL
175 database.
176
177 %package plugin-geoip
178 Summary: uWSGI Plugin for GeoIP-based Routing
179 Group: Development/Libraries
180 Requires: %{name} = %{version}-%{release}
181
182 %description plugin-geoip
183 The geoip uWSGI Plugin allows GeoIP-based routing.
184
185 %package plugin-gridfs
186 Summary: uWSGI Plugin for Serving GridFS Database Contents
187 Group: Development/Libraries
188 Requires: %{name} = %{version}-%{release}
189
190 %description plugin-gridfs
191 The gridfs uWSGI Plugin allows serving GridFS database contents.
192
193 %package plugin-jvm
194 Summary: uWSGI Plugin Embedding a JVM
195 Group: Development/Libraries
196 Requires: %{name} = %{version}-%{release}
197
198 %description plugin-jvm
199 The jvm uWSGI plugin allows to embed a JVM into uWSGI.
200
201 %package plugin-ldap
202 Summary: uWSGI Plugin Providing LDAP Support
203 Group: Development/Libraries
204 Requires: %{name} = %{version}-%{release}
205
206 %description plugin-ldap
207 The ldap uWSGI plugin provides LDAP support including authentication and reading
208 uWSGI configuration from LDAP.
209
210 %package plugin-lua
211 Summary: uWSGI Plugin Embedding Lua and Providing WSAPI Support
212 Group: Development/Libraries
213 Requires: %{name} = %{version}-%{release}
214
215 %description plugin-lua
216 The lua uWSGI plugin embeds Lua into uWSGI and adds support for running WSAPI
217 applications.
218
219 %package plugin-pam
220 Summary: uWSGI Plugin Providing PAM Support
221 Group: Development/Libraries
222 Requires: %{name} = %{version}-%{release}
223
224 %description plugin-pam
225 The pam uWSGI plugin provides support from PAM.
226
227 %package plugin-php
228 Summary: uWSGI Plugin Embedding PHP
229 Group: Development/Libraries
230 Requires: %{name} = %{version}-%{release}
231
232 %description plugin-php
233 The php uWSGI plugin embeds PHP into uWSGI.
234
235 %package plugin-psgi
236 Summary: uWSGI Plugin Embedding Perl and Providing PSGI Support
237 Group: Development/Libraries
238 Requires: %{name} = %{version}-%{release}
239
240 %description plugin-psgi
241 The psgi uWSGI plugin embeds Perl and adds support for running PSGI
242 applications.
243
244 %package plugin-python
245 Summary: uWSGI Plugin Embedding Python and Providing WSGI Support
246 Group: Development/Libraries
247 Requires: %{name} = %{version}-%{release}
248
249 %description plugin-python
250 The python uWSGI plugin embeds Python and allows to run WSGI applications and
251 provides access to the uWSGI API from Python.
252
253 %package plugin-rack
254 Summary: uWSGI Plugin Providing Ruby Rack Support
255 Group: Development/Libraries
256 Requires: %{name} = %{version}-%{release}
257
258 %description plugin-rack
259 The rack uWSGI plugin allows running Ruby Rack applications.
260
261 %package plugin-router_access
262 Summary: uWSGI Plugin for TCP Wrapper-based Access Control
263 Group: Development/Libraries
264 Requires: %{name} = %{version}-%{release}
265
266 %description plugin-router_access
267 The router_access uWSGI plugin enables TCP Wrapper-based access control.
268
269 %package plugin-router_basicauth
270 Summary: uWSGI Plugin Providing HTTP-Authentication Support
271 Group: Development/Libraries
272 Requires: %{name} = %{version}-%{release}
273
274 %description plugin-router_basicauth
275 The router_basicauth uWSGI plugin enables support for HTTP-authentication.
276
277 %package plugin-ruby19
278 Summary: uWSGI Plugin Embdedding Ruby
279 Group: Development/Libraries
280 Requires: %{name} = %{version}-%{release}
281
282 %description plugin-ruby19
283 The ruby19 uWSGI plugin embeds Ruby and provides access to the uWSGI API from
284 Ruby.
285
286 %package plugin-sqlite3
287 Summary: uWSGI Pluginfor Retrieving uWSGI Configuration from a SQLite3 Database
288 Group: Development/Libraries
289 Requires: %{name} = %{version}-%{release}
290
291 %description plugin-sqlite3
292 The sqlite3 uWSGI plugin allows to retrieve the uWSGI Configuration from
293 a SQLite3 database.
294
295 %package plugin-stats_pusher_mongodb
296 Summary: uWSGI Plugin for Pushing Statistics to a MongoDB Database
297 Group: Development/Libraries
298 Requires: %{name} = %{version}-%{release}
299
300 %description plugin-stats_pusher_mongodb
301 The stats_pusher_mongodb uWSGI plugin allows to push statistics to a MongoDB
302 database.
303
304 %package plugin-v8
305 Summary: uWSGI Plugin Embedding V8 and Providing JSGI 3.0 Support
306 Group: Development/Libraries
307 Requires: %{name} = %{version}-%{release}
308
309 %description plugin-v8
310 The v8 uWSGI plugin embeds the V8 Javascript Engine and provides support for
311 running JSGI 3.0 applications.
312
313 %package plugin-xslt
314 Summary: uWSGI Plugin for Applying XSL Transformations
315 Group: Development/Libraries
316 Requires: %{name} = %{version}-%{release}
317
318 %description plugin-xslt
319 The xslt uWSGI plugin allows to apply XSL Transformations
320
321 %package -n mod_uwsgi
322 Summary: uwsgi Apache module
323 Group: System Environment/Libraries
324 Requires: httpd >= 2.4
325 Requires: %{name} = %{version}-%{release}
326
327 %description -n mod_uwsgi
328 This package contains the uwsgi Apache module.
329
330 # prevent auto-generated requires and provides for Apache modules, see
331 # https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering
332 %{?filter_setup:
333 %filter_provides_in %{_libdir}/httpd/modules/.*\.so$
334 %filter_setup
335 }
336
337 %prep
338 %setup -q -a1
339 %patch0 -p1
340 %patch1 -p1
341 %patch2 -p1
342
343 pushd uwsgi-docs-%{uwsgi_docs_rev}
344 # remove empty files
345 find . -name '*.rst' -and -size 0 -exec rm {} \+
346 # remove languages unknown to sphinx which otherwise cause build failures
347 find . -name '*.rst' -exec sed -i 's|code-block:: .*$|code-block:: none|' {} \+
348 # fix CRLF
349 dos2unix PyPy.rst
350 popd
351
352 #
353 # generate the build configuration
354 #
355
356 # examples without real use
357 blacklist_plugins="example"
358 blacklist_plugins="${blacklist_plugins} dummy"
359 blacklist_plugins="${blacklist_plugins} cheaper_backlog2"
360 blacklist_plugins="${blacklist_plugins} cplusplus"
361 blacklist_plugins="${blacklist_plugins} exception_log"
362 # stackless python is not available
363 blacklist_plugins="${blacklist_plugins} stackless"
364 # seems to conflic with python plugin
365 blacklist_plugins="${blacklist_plugins} pyuwsgi"
366 # requires modifications to PyPy
367 blacklist_plugins="${blacklist_plugins} pypy"
368 # uses Mac OS X API
369 blacklist_plugins="${blacklist_plugins} alarm_speech"
370 # internal hack
371 blacklist_plugins="${blacklist_plugins} mongodb"
372 # the Mono version provided by RHEL 6 is too old
373 blacklist_plugins="${blacklist_plugins} mono"
374 # Go is not available
375 blacklist_plugins="${blacklist_plugins} go"
376 # systemd is not available
377 blacklist_plugins="${blacklist_plugins} systemd_logger"
378 # Ruby 1.9 is not available
379 blacklist_plugins="${blacklist_plugins} fiber"
380 # gccgo is not available
381 blacklist_plugins="${blacklist_plugins} gccgo"
382
383 embed_plugins="null"
384
385 for f in plugins/*/uwsgiplugin.py; do
386 plugin="${f#plugins/}"
387 plugin="${plugin%/uwsgiplugin.py}"
388 blacklisted=false
389 for blacklist_plugin in ${blacklist_plugins}; do
390 if [ "${plugin}" = "${blacklist_plugin}" ]; then
391 blacklisted=true
392 break
393 fi
394 done
395 if ! ${blacklisted}; then
396 enabled_plugins="${enabled_plugins}${enabled_plugins:+, }${plugin}"
397 fi
398 done
399
400 cat >buildconf/fedora.ini <<EOF
401 [uwsgi]
402 inherit = base
403 ; enable XML configuration format
404 xml = true
405 ; configuration from SQlite database
406 sqlite3 = true
407 ; configuration via LDAP
408 ldap = true
409 ; enable SSL support
410 ssl = true
411 ; enable PCRE support
412 pcre = true
413 ; use libyaml for parsing YAML configuration
414 yaml_implementation = libyaml
415 ; enable alarm subystem
416 alarm = true
417 ; enable ZeroMQ transport layer
418 zeromq = true
419 ; plugins to build
420 plugins = ${enabled_plugins}
421 ; plugins to embed
422 embedded_plugins = ${embed_plugins}
423 ; plugin installation path
424 plugin_dir = %{_libdir}/%{name}
425 EOF
426
427 %build
428 export UWSGICONFIG_LUALIB="lua"
429 export UWSGICONFIG_LUAINC="%{_includedir}"
430 export UWSGICONFIG_LUALIBPATH="%{_libdir}"
431 export CFLAGS="%{optflags} -Wno-unused-but-set-variable -Wno-error"
432
433 # build uwsgi executable and plugins
434 python uwsgiconfig.py --build fedora.ini
435
436 # build apache module
437 pushd apache2
438 apxs -c mod_uwsgi.c
439 popd
440
441 # build HTML documentation
442 mkdir html
443 sphinx-build -b html uwsgi-docs-%{uwsgi_docs_rev} html
444 rm -rf html/.doctrees html/.buildinfo
445
446 %install
447 rm -rf %{buildroot}
448
449 install -D -p -m 755 uwsgi %{buildroot}%{_sbindir}/uwsgi
450 install -d -m 755 %{buildroot}%{_libdir}/uwsgi
451 install -p -m 755 *_plugin.so %{buildroot}%{_libdir}/uwsgi
452 install -D -p -m 644 uwsgidecorators.py \
453 %{buildroot}%{python_sitelib}/uwsgidecorators.py
454 install -D -p -m 755 apache2/.libs/mod_uwsgi.so \
455 %{buildroot}%{_libdir}/httpd/modules/mod_uwsgi.so
456 install -d -m 755 %{buildroot}%{_includedir}/uwsgi
457 install -p -m 0644 *.h %{buildroot}%{_includedir}/uwsgi
458
459 install -d -m 755 %{buildroot}%{_sysconfdir}/uwsgi.d
460 install -d -m 755 %{buildroot}%{_localstatedir}/run/uwsgi
461
462 install -D -p -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/uwsgi.ini
463 install -D -p -m 755 %{SOURCE4} %{buildroot}%{_initddir}/uwsgi
464 install -D -p -m 644 %{SOURCE5} %{buildroot}%{_sysconfdir}/logrotate.d/uwsgi
465 install -D -p -m 644 %{SOURCE3} \
466 %{buildroot}%{_sysconfdir}/httpd/conf.d/10-uwsgi.conf
467
468 %clean
469 rm -rf %{buildroot}
470
471 %pre
472 getent group uwsgi >/dev/null || groupadd -r uwsgi
473 getent passwd uwsgi >/dev/null || \
474 useradd -r -g uwsgi -d %{_localstatedir}/run/uwsgi -s /sbin/nologin \
475 -c "uWSGI daemon user" uwsgi
476 exit 0
477
478 %post
479 /sbin/chkconfig --add uwsgi
480
481 %preun
482 if [ $1 -eq 0 ] ; then
483 /sbin/service uwsgi stop >/dev/null 2>&1
484 /sbin/chkconfig --del uwsgi
485 fi
486
487 %postun
488 if [ "$1" -ge 1 ] ; then
489 /sbin/service uwsgi condrestart >/dev/null 2>&1 || :
490 fi
491
492
493 %files
494 %defattr(-,root,root,-)
495 %doc LICENSE README CONTRIBUTORS
496 %{_initddir}/uwsgi
497 %config(noreplace) %{_sysconfdir}/uwsgi.ini
498 %dir %{_sysconfdir}/uwsgi.d
499 %config(noreplace) %{_sysconfdir}/logrotate.d/uwsgi
500 %{_sbindir}/uwsgi
501 %dir %{_localstatedir}/run/uwsgi
502 %dir %{_libdir}/uwsgi
503 %{_libdir}/%{name}/cache_plugin.so
504 %{_libdir}/%{name}/cgi_plugin.so
505 %{_libdir}/%{name}/cheaper_busyness_plugin.so
506 %{_libdir}/%{name}/clock_monotonic_plugin.so
507 %{_libdir}/%{name}/clock_realtime_plugin.so
508 %{_libdir}/%{name}/corerouter_plugin.so
509 %{_libdir}/%{name}/dumbloop_plugin.so
510 %{_libdir}/%{name}/echo_plugin.so
511 %{_libdir}/%{name}/http_plugin.so
512 %{_libdir}/%{name}/legion_cache_fetch_plugin.so
513 %{_libdir}/%{name}/logcrypto_plugin.so
514 %{_libdir}/%{name}/logfile_plugin.so
515 %{_libdir}/%{name}/notfound_plugin.so
516 %{_libdir}/%{name}/objc_gc_plugin.so
517 %{_libdir}/%{name}/ping_plugin.so
518 %{_libdir}/%{name}/rawrouter_plugin.so
519 %{_libdir}/%{name}/router_cache_plugin.so
520 %{_libdir}/%{name}/router_hash_plugin.so
521 %{_libdir}/%{name}/router_http_plugin.so
522 %{_libdir}/%{name}/router_memcached_plugin.so
523 %{_libdir}/%{name}/router_radius_plugin.so
524 %{_libdir}/%{name}/router_redirect_plugin.so
525 %{_libdir}/%{name}/router_redis_plugin.so
526 %{_libdir}/%{name}/router_rewrite_plugin.so
527 %{_libdir}/%{name}/router_static_plugin.so
528 %{_libdir}/%{name}/router_uwsgi_plugin.so
529 %{_libdir}/%{name}/router_xmldir_plugin.so
530 %{_libdir}/%{name}/rpc_plugin.so
531 %{_libdir}/%{name}/signal_plugin.so
532 %{_libdir}/%{name}/spooler_plugin.so
533 %{_libdir}/%{name}/ssi_plugin.so
534 %{_libdir}/%{name}/sslrouter_plugin.so
535 %{_libdir}/%{name}/stats_pusher_statsd_plugin.so
536 %{_libdir}/%{name}/symcall_plugin.so
537 %{_libdir}/%{name}/transformation_chunked_plugin.so
538 %{_libdir}/%{name}/transformation_gzip_plugin.so
539 %{_libdir}/%{name}/transformation_offload_plugin.so
540 %{_libdir}/%{name}/transformation_tofile_plugin.so
541 %{_libdir}/%{name}/transformation_toupper_plugin.so
542 %{_libdir}/%{name}/ugreen_plugin.so
543 %{_libdir}/%{name}/webdav_plugin.so
544 %{_libdir}/%{name}/xattr_plugin.so
545 %{_libdir}/%{name}/zergpool_plugin.so
546 %{_libdir}/%{name}/admin_plugin.so
547 %{_libdir}/%{name}/syslog_plugin.so
548 %{_libdir}/%{name}/rsyslog_plugin.so
549
550 %{_libdir}/%{name}/carbon_plugin.so
551 %{_libdir}/%{name}/emperor_amqp_plugin.so
552 %{_libdir}/%{name}/emperor_zeromq_plugin.so
553 %{_libdir}/%{name}/erlang_plugin.so
554 %{_libdir}/%{name}/fastrouter_plugin.so
555 %{_libdir}/%{name}/gevent_plugin.so
556 %{_libdir}/%{name}/graylog2_plugin.so
557 %{_libdir}/%{name}/greenlet_plugin.so
558 %{_libdir}/%{name}/jwsgi_plugin.so
559 %{_libdir}/%{name}/logsocket_plugin.so
560 %{_libdir}/%{name}/mongodblog_plugin.so
561 %{_libdir}/%{name}/nagios_plugin.so
562 %{_libdir}/%{name}/pyerl_plugin.so
563 %{_libdir}/%{name}/redislog_plugin.so
564 %{_libdir}/%{name}/ring_plugin.so
565 %{_libdir}/%{name}/router_spnego_plugin.so
566 %{_libdir}/%{name}/rrdtool_plugin.so
567
568 %files doc
569 %defattr(-,root,root,-)
570 %doc html/
571
572 %files devel
573 %defattr(-,root,root,-)
574 %{_includedir}/uwsgi
575
576 %files plugin-airbrake
577 %defattr(-,root,root,-)
578 %{_libdir}/%{name}/airbrake_plugin.so
579
580 %files plugin-alarm_curl
581 %defattr(-,root,root,-)
582 %{_libdir}/%{name}/alarm_curl_plugin.so
583
584 %files plugin-alarm_xmpp
585 %defattr(-,root,root,-)
586 %{_libdir}/%{name}/alarm_xmpp_plugin.so
587
588 %files plugin-coroae
589 %defattr(-,root,root,-)
590 %{_libdir}/%{name}/coroae_plugin.so
591
592 %files plugin-curl_cron
593 %defattr(-,root,root,-)
594 %{_libdir}/%{name}/curl_cron_plugin.so
595
596 %files plugin-emperor_mongodb
597 %defattr(-,root,root,-)
598 %{_libdir}/%{name}/emperor_mongodb_plugin.so
599
600 %files plugin-emperor_pg
601 %defattr(-,root,root,-)
602 %{_libdir}/%{name}/emperor_pg_plugin.so
603
604 %files plugin-geoip
605 %defattr(-,root,root,-)
606 %{_libdir}/%{name}/geoip_plugin.so
607
608 %files plugin-gridfs
609 %defattr(-,root,root,-)
610 %{_libdir}/%{name}/gridfs_plugin.so
611
612 %files plugin-jvm
613 %defattr(-,root,root,-)
614 %{_libdir}/%{name}/jvm_plugin.so
615
616 %files plugin-ldap
617 %defattr(-,root,root,-)
618 %{_libdir}/%{name}/ldap_plugin.so
619
620 %files plugin-lua
621 %defattr(-,root,root,-)
622 %{_libdir}/%{name}/lua_plugin.so
623
624 %files plugin-pam
625 %defattr(-,root,root,-)
626 %{_libdir}/%{name}/pam_plugin.so
627
628 %files plugin-php
629 %defattr(-,root,root,-)
630 %{_libdir}/%{name}/php_plugin.so
631
632 %files plugin-psgi
633 %defattr(-,root,root,-)
634 %{_libdir}/%{name}/psgi_plugin.so
635
636 %files plugin-python
637 %defattr(-,root,root,-)
638 %{_libdir}/%{name}/python_plugin.so
639
640 %files plugin-rack
641 %defattr(-,root,root,-)
642 %{_libdir}/%{name}/rack_plugin.so
643
644 %files plugin-router_access
645 %defattr(-,root,root,-)
646 %{_libdir}/%{name}/router_access_plugin.so
647
648 %files plugin-router_basicauth
649 %defattr(-,root,root,-)
650 %{_libdir}/%{name}/router_basicauth_plugin.so
651
652 %files plugin-ruby19
653 %defattr(-,root,root,-)
654 %{_libdir}/%{name}/ruby19_plugin.so
655
656 %files plugin-sqlite3
657 %defattr(-,root,root,-)
658 %{_libdir}/%{name}/sqlite3_plugin.so
659
660 %files plugin-stats_pusher_mongodb
661 %defattr(-,root,root,-)
662 %{_libdir}/%{name}/stats_pusher_mongodb_plugin.so
663
664 %files plugin-v8
665 %defattr(-,root,root,-)
666 %{_libdir}/%{name}/v8_plugin.so
667
668 %files plugin-xslt
669 %defattr(-,root,root,-)
670 %{_libdir}/%{name}/xslt_plugin.so
671
672 %files -n python-uwsgidecorators
673 %defattr(-,root,root,-)
674 %{python_sitelib}/uwsgidecorators.py*
675
676 %files -n mod_uwsgi
677 %defattr(-,root,root,-)
678 %{_sysconfdir}/httpd/conf.d/10-uwsgi.conf
679 %{_libdir}/httpd/modules/mod_uwsgi.so
680
681 %changelog
682 * Wed Jul 10 2013 Guido Berhoerster <guido+packaging@berhoerster.name> - 1.9.13-1
683 - Initial packaging