123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318 |
- Summary: Gearman Server and C Library
- Name: @PACKAGE@
- Version: @LIBGEARMAN_VERSION_STRING@
- Release: @RPM_RELEASE@
- License: BSD
- Group: System Environment/Libraries
- BuildRequires: bison
- URL: https://github.com/gearman/gearmand
- Requires: sqlite, libevent >= 1.4, boost-program-options >= 1.39
- Packager: Brian Aker <brian@tangent.org>
- Source: @PACKAGE@-@VERSION@.tar.gz
- Source1: support/gearmand.init
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
- %description
- Gearman provides a generic framework to farm out work to other machines, dispatching function calls to machines that are better suited to do work, to do work in parallel, to load balance processing, or to call functions between languages.
- This package provides the client utilities.
- %package server
- Summary: Gearmand Server
- Group: Applications/Databases
- Requires: sqlite, libevent >= 1.4, boost-program-options >= 1.39
- %description server
- Gearman provides a generic framework to farm out work to other machines, dispatching function calls to machines that are better suited to do work, to do work in parallel, to load balance processing, or to call functions between languages.
- This package provides the Gearmand Server.
- %package devel
- Summary: Header files and development libraries for %{name}
- Group: Development/Libraries
- Requires: %{name} = %{version}-%{release}
- %description devel
- This package contains the header files and development libraries
- for %{name}. If you like to develop programs using %{name},
- you will need to install %{name}-devel.
- %prep
- %setup -q -n @PACKAGE@-@VERSION@
- %configure --disable-libpq --disable-libtokyocabinet --disable-libdrizzle --disable-libmemcached --enable-jobserver=no
- %build
- %{__make} %{?_smp_mflags}
- %install
- %{__rm} -rf %{buildroot}
- %{__make} install DESTDIR="%{buildroot}" AM_INSTALL_PROGRAM_FLAGS=""
- mkdir -p $RPM_BUILD_ROOT/
- mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
- mkdir -p $RPM_BUILD_ROOT/var/log/gearmand
- mkdir -p $RPM_BUILD_ROOT/var/run/gearmand
- install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/gearmand
- %check
- %clean
- %{__rm} -rf %{buildroot}
- %post -p /sbin/ldconfig
- %postun -p /sbin/ldconfig
- %pre server
- if ! /usr/bin/id -g gearmand &>/dev/null; then
- /usr/sbin/groupadd -r gearmand
- fi
- if ! /usr/bin/id gearmand &>/dev/null; then
- /usr/sbin/useradd -M -r -g gearmand -d /var/lib/gearmand -s /bin/false \
- -c "Gearman Server" gearmand > /dev/null 2>&1
- fi
- %post server
- if test $1 = 1
- then
- /sbin/chkconfig --add gearmand
- fi
- %preun server
- if test $1 = 0
- then
- /sbin/chkconfig --del gearmand
- fi
- %postun server
- if test $1 -ge 1
- then
- /sbin/service gearmand condrestart >/dev/null 2>&1 || :
- fi
- %files
- %defattr(-,root,root,-)
- %doc AUTHORS COPYING NEWS CONTRIBUTING.md THANKS README.md
- %{_bindir}/gearadmin
- %{_bindir}/gearman
- %{_libdir}/libgearman.la
- %{_libdir}/libgearman.so.8
- %{_libdir}/libgearman.so.8.0.0
- %{_mandir}/man1/gearadmin.1.gz
- %{_mandir}/man1/gearman.1.gz
- %files server
- %defattr(-,root,root,-)
- %doc AUTHORS COPYING NEWS CONTRIBUTING.md THANKS README.md
- %{_mandir}/man8/gearmand.8.gz
- %{_sbindir}/gearmand
- /etc/rc.d/init.d/gearmand
- %attr(0755,gearmand,gearmand) %dir /var/log/gearmand
- %attr(0755,gearmand,gearmand) %dir /var/run/gearmand
- %files devel
- %defattr(-,root,root,-)
- %doc AUTHORS COPYING NEWS CONTRIBUTING.md THANKS README.md
- %{_includedir}/libgearman/gearman.h
- %{_includedir}/libgearman-1.0/actions.h
- %{_includedir}/libgearman-1.0/aggregator.h
- %{_includedir}/libgearman-1.0/allocator.h
- %{_includedir}/libgearman-1.0/argument.h
- %{_includedir}/libgearman-1.0/cancel.h
- %{_includedir}/libgearman-1.0/client.h
- %{_includedir}/libgearman-1.0/client_callbacks.h
- %{_includedir}/libgearman-1.0/configure.h
- %{_includedir}/libgearman-1.0/connection.h
- %{_includedir}/libgearman-1.0/constants.h
- %{_includedir}/libgearman-1.0/core.h
- %{_includedir}/libgearman-1.0/execute.h
- %{_includedir}/libgearman-1.0/function.h
- %{_includedir}/libgearman-1.0/gearman.h
- %{_includedir}/libgearman-1.0/interface/status.h
- %{_includedir}/libgearman-1.0/interface/task.h
- %{_includedir}/libgearman-1.0/interface/client.h
- %{_includedir}/libgearman-1.0/interface/job.h
- %{_includedir}/libgearman-1.0/interface/worker.h
- %{_includedir}/libgearman-1.0/job.h
- %{_includedir}/libgearman-1.0/job_handle.h
- %{_includedir}/libgearman-1.0/kill.h
- %{_includedir}/libgearman-1.0/limits.h
- %{_includedir}/libgearman-1.0/ostream.hpp
- %{_includedir}/libgearman-1.0/parse.h
- %{_includedir}/libgearman-1.0/priority.h
- %{_includedir}/libgearman-1.0/protocol.h
- %{_includedir}/libgearman-1.0/result.h
- %{_includedir}/libgearman-1.0/return.h
- %{_includedir}/libgearman-1.0/signal.h
- %{_includedir}/libgearman-1.0/status.h
- %{_includedir}/libgearman-1.0/strerror.h
- %{_includedir}/libgearman-1.0/string.h
- %{_includedir}/libgearman-1.0/task.h
- %{_includedir}/libgearman-1.0/task_attr.h
- %{_includedir}/libgearman-1.0/util.h
- %{_includedir}/libgearman-1.0/version.h
- %{_includedir}/libgearman-1.0/visibility.h
- %{_includedir}/libgearman-1.0/worker.h
- %{_libdir}/pkgconfig/gearmand.pc
- %{_libdir}/libgearman.so
- %{_libdir}/libgearman.a
- %{_mandir}/man3/gearman_actions_t.3.gz
- %{_mandir}/man3/gearman_allocator_t.3.gz
- %{_mandir}/man3/gearman_argument_make.3.gz
- %{_mandir}/man3/gearman_argument_t.3.gz
- %{_mandir}/man3/gearman_bugreport.3.gz
- %{_mandir}/man3/gearman_client_add_options.3.gz
- %{_mandir}/man3/gearman_client_add_server.3.gz
- %{_mandir}/man3/gearman_client_add_servers.3.gz
- %{_mandir}/man3/gearman_client_add_task.3.gz
- %{_mandir}/man3/gearman_client_add_task_background.3.gz
- %{_mandir}/man3/gearman_client_add_task_high.3.gz
- %{_mandir}/man3/gearman_client_add_task_high_background.3.gz
- %{_mandir}/man3/gearman_client_add_task_low.3.gz
- %{_mandir}/man3/gearman_client_add_task_low_background.3.gz
- %{_mandir}/man3/gearman_client_add_task_status.3.gz
- %{_mandir}/man3/gearman_client_clear_fn.3.gz
- %{_mandir}/man3/gearman_client_clone.3.gz
- %{_mandir}/man3/gearman_client_context.3.gz
- %{_mandir}/man3/gearman_client_create.3.gz
- %{_mandir}/man3/gearman_client_do.3.gz
- %{_mandir}/man3/gearman_client_do_background.3.gz
- %{_mandir}/man3/gearman_client_do_high.3.gz
- %{_mandir}/man3/gearman_client_do_high_background.3.gz
- %{_mandir}/man3/gearman_client_do_job_handle.3.gz
- %{_mandir}/man3/gearman_client_do_low.3.gz
- %{_mandir}/man3/gearman_client_do_low_background.3.gz
- %{_mandir}/man3/gearman_client_do_status.3.gz
- %{_mandir}/man3/gearman_client_echo.3.gz
- %{_mandir}/man3/gearman_client_errno.3.gz
- %{_mandir}/man3/gearman_client_error.3.gz
- %{_mandir}/man3/gearman_client_free.3.gz
- %{_mandir}/man3/gearman_client_has_option.3.gz
- %{_mandir}/man3/gearman_client_job_status.3.gz
- %{_mandir}/man3/gearman_client_options.3.gz
- %{_mandir}/man3/gearman_client_options_t.3.gz
- %{_mandir}/man3/gearman_client_remove_options.3.gz
- %{_mandir}/man3/gearman_client_remove_servers.3.gz
- %{_mandir}/man3/gearman_client_run_tasks.3.gz
- %{_mandir}/man3/gearman_client_set_complete_fn.3.gz
- %{_mandir}/man3/gearman_client_set_context.3.gz
- %{_mandir}/man3/gearman_client_set_created_fn.3.gz
- %{_mandir}/man3/gearman_client_set_data_fn.3.gz
- %{_mandir}/man3/gearman_client_set_exception_fn.3.gz
- %{_mandir}/man3/gearman_client_set_fail_fn.3.gz
- %{_mandir}/man3/gearman_client_set_log_fn.3.gz
- %{_mandir}/man3/gearman_client_set_memory_allocators.3.gz
- %{_mandir}/man3/gearman_client_set_namespace.3.gz
- %{_mandir}/man3/gearman_client_set_options.3.gz
- %{_mandir}/man3/gearman_client_set_status_fn.3.gz
- %{_mandir}/man3/gearman_client_set_task_context_free_fn.3.gz
- %{_mandir}/man3/gearman_client_set_timeout.3.gz
- %{_mandir}/man3/gearman_client_set_warning_fn.3.gz
- %{_mandir}/man3/gearman_client_set_workload_fn.3.gz
- %{_mandir}/man3/gearman_client_set_workload_free_fn.3.gz
- %{_mandir}/man3/gearman_client_set_workload_malloc_fn.3.gz
- %{_mandir}/man3/gearman_client_st.3.gz
- %{_mandir}/man3/gearman_client_task_free_all.3.gz
- %{_mandir}/man3/gearman_client_timeout.3.gz
- %{_mandir}/man3/gearman_client_wait.3.gz
- %{_mandir}/man3/gearman_continue.3.gz
- %{_mandir}/man3/gearman_execute.3.gz
- %{_mandir}/man3/gearman_failed.3.gz
- %{_mandir}/man3/gearman_job_free.3.gz
- %{_mandir}/man3/gearman_job_free_all.3.gz
- %{_mandir}/man3/gearman_job_function_name.3.gz
- %{_mandir}/man3/gearman_job_handle.3.gz
- %{_mandir}/man3/gearman_job_handle_t.3.gz
- %{_mandir}/man3/gearman_job_send_complete.3.gz
- %{_mandir}/man3/gearman_job_send_data.3.gz
- %{_mandir}/man3/gearman_job_send_exception.3.gz
- %{_mandir}/man3/gearman_job_send_fail.3.gz
- %{_mandir}/man3/gearman_job_send_status.3.gz
- %{_mandir}/man3/gearman_job_send_warning.3.gz
- %{_mandir}/man3/gearman_job_st.3.gz
- %{_mandir}/man3/gearman_job_take_workload.3.gz
- %{_mandir}/man3/gearman_job_unique.3.gz
- %{_mandir}/man3/gearman_job_use_client.3.gz
- %{_mandir}/man3/gearman_job_workload.3.gz
- %{_mandir}/man3/gearman_job_workload_size.3.gz
- %{_mandir}/man3/gearman_log_fn.3.gz
- %{_mandir}/man3/gearman_parse_servers.3.gz
- %{_mandir}/man3/gearman_result_boolean.3.gz
- %{_mandir}/man3/gearman_result_integer.3.gz
- %{_mandir}/man3/gearman_result_is_null.3.gz
- %{_mandir}/man3/gearman_result_size.3.gz
- %{_mandir}/man3/gearman_result_store_integer.3.gz
- %{_mandir}/man3/gearman_result_store_string.3.gz
- %{_mandir}/man3/gearman_result_store_value.3.gz
- %{_mandir}/man3/gearman_result_string.3.gz
- %{_mandir}/man3/gearman_return_t.3.gz
- %{_mandir}/man3/gearman_strerror.3.gz
- %{_mandir}/man3/gearman_string_t.3.gz
- %{_mandir}/man3/gearman_success.3.gz
- %{_mandir}/man3/gearman_task_attr_init.3.gz
- %{_mandir}/man3/gearman_task_attr_init_background.3.gz
- %{_mandir}/man3/gearman_task_attr_init_epoch.3.gz
- %{_mandir}/man3/gearman_task_attr_t.3.gz
- %{_mandir}/man3/gearman_task_context.3.gz
- %{_mandir}/man3/gearman_task_data.3.gz
- %{_mandir}/man3/gearman_task_data_size.3.gz
- %{_mandir}/man3/gearman_task_denominator.3.gz
- %{_mandir}/man3/gearman_task_error.3.gz
- %{_mandir}/man3/gearman_task_free.3.gz
- %{_mandir}/man3/gearman_task_function_name.3.gz
- %{_mandir}/man3/gearman_task_give_workload.3.gz
- %{_mandir}/man3/gearman_task_is_known.3.gz
- %{_mandir}/man3/gearman_task_is_running.3.gz
- %{_mandir}/man3/gearman_task_job_handle.3.gz
- %{_mandir}/man3/gearman_task_numerator.3.gz
- %{_mandir}/man3/gearman_task_recv_data.3.gz
- %{_mandir}/man3/gearman_task_return.3.gz
- %{_mandir}/man3/gearman_task_send_workload.3.gz
- %{_mandir}/man3/gearman_task_set_context.3.gz
- %{_mandir}/man3/gearman_task_st.3.gz
- %{_mandir}/man3/gearman_task_take_data.3.gz
- %{_mandir}/man3/gearman_task_unique.3.gz
- %{_mandir}/man3/gearman_verbose_name.3.gz
- %{_mandir}/man3/gearman_verbose_t.3.gz
- %{_mandir}/man3/gearman_version.3.gz
- %{_mandir}/man3/gearman_worker_add_function.3.gz
- %{_mandir}/man3/gearman_worker_add_options.3.gz
- %{_mandir}/man3/gearman_worker_add_server.3.gz
- %{_mandir}/man3/gearman_worker_add_servers.3.gz
- %{_mandir}/man3/gearman_worker_clone.3.gz
- %{_mandir}/man3/gearman_worker_context.3.gz
- %{_mandir}/man3/gearman_worker_create.3.gz
- %{_mandir}/man3/gearman_worker_define_function.3.gz
- %{_mandir}/man3/gearman_worker_echo.3.gz
- %{_mandir}/man3/gearman_worker_errno.3.gz
- %{_mandir}/man3/gearman_worker_error.3.gz
- %{_mandir}/man3/gearman_worker_free.3.gz
- %{_mandir}/man3/gearman_worker_function_exist.3.gz
- %{_mandir}/man3/gearman_worker_grab_job.3.gz
- %{_mandir}/man3/gearman_worker_options.3.gz
- %{_mandir}/man3/gearman_worker_register.3.gz
- %{_mandir}/man3/gearman_worker_remove_options.3.gz
- %{_mandir}/man3/gearman_worker_remove_servers.3.gz
- %{_mandir}/man3/gearman_worker_set_context.3.gz
- %{_mandir}/man3/gearman_worker_set_identifier.3.gz
- %{_mandir}/man3/gearman_worker_set_log_fn.3.gz
- %{_mandir}/man3/gearman_worker_set_memory_allocators.3.gz
- %{_mandir}/man3/gearman_worker_set_namespace.3.gz
- %{_mandir}/man3/gearman_worker_set_options.3.gz
- %{_mandir}/man3/gearman_worker_set_timeout.3.gz
- %{_mandir}/man3/gearman_worker_set_workload_free_fn.3.gz
- %{_mandir}/man3/gearman_worker_set_workload_malloc_fn.3.gz
- %{_mandir}/man3/gearman_worker_st.3.gz
- %{_mandir}/man3/gearman_worker_timeout.3.gz
- %{_mandir}/man3/gearman_worker_unregister.3.gz
- %{_mandir}/man3/gearman_worker_unregister_all.3.gz
- %{_mandir}/man3/gearman_worker_wait.3.gz
- %{_mandir}/man3/gearman_worker_work.3.gz
- %{_mandir}/man3/libgearman.3.gz
- %changelog
- * Wed Jan 7 2009 Brian Aker <brian@tangent.org> - 0.1-1
- - Initial package
|