Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
gearman
> gearmand.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File gearmand.spec of Package gearman (Revision 12)
Currently displaying revision
12
,
show latest
# # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # Name: gearmand Version: 0.20 Release: 1 Summary: Gearman Job Server Group: Productivity/Networking/Web/Servers License: Simplified BSD License Url: http://gearman.org BuildRequires: gcc BuildRequires: gcc-c++ %if 0%{?suse_version} >= 1110 || 0%{?centos_version} >= 5 || 0%{?redhat_version} >= 500 BuildRequires: libevent-devel %else BuildRequires: libevent %endif %if 0%{?suse_version} > 1020 BuildRequires: libuuid-devel %endif %if 0%{?centos_version} >= 5 || 0%{?redhat_version} >= 500 || 0%{?suse_version} <= 1020 BuildRequires: e2fsprogs-devel %endif BuildRequires: pkg-config BuildRequires: boost-devel >= 1.37 PreReq: %insserv_prereq %fillup_prereq /usr/sbin/groupadd /usr/sbin/useradd Source0: %{name}-%{version}.tar.bz2 Source1: gearmand.init Source2: gearmand.sysconfig BuildRoot: %{_tmppath}/%{name}-%{version}-build AutoReqProv: on %description See http://gearman.org %package devel Summary: Gearmand development files Group: Development/Libraries/Other Requires: %{name} = %{version} glibc-devel %if 0%{?suse_version} > 1020 Requires: libuuid-devel %endif %if 0%{?centos_version} >= 5 || 0%{?redhat_version} >= 500 || 0%{?suse_version} <= 1020 Requires: e2fsprogs-devel %endif %if 0%{?suse_version} >= 1110 || 0%{?centos_version} >= 5 || 0%{?redhat_version} >= 500 Requires: libevent-devel %else Requires: libevent %endif %description devel This package contains necessary header files for Gearman development. %prep %setup %build %configure --with-boost=%{_prefix} make %{?jobs:-j%jobs} %install %makeinstall %{__install} -D -m 0755 %{S:1} %{buildroot}%{_sysconfdir}/init.d/gearmand %{__ln_s} -f ../..%{_sysconfdir}/init.d/gearmand %{buildroot}%{_sbindir}/rcgearmand %{__install} -D -m 0644 %{S:2} %{buildroot}/var/adm/fillup-templates/sysconfig.gearmand %clean rm -rf $RPM_BUILD_ROOT %pre /usr/sbin/groupadd -r gearman &>/dev/null || : /usr/sbin/useradd -o -g gearman -s /bin/false -r -c "user for gearmand" -d /var/lib/gearman/ gearman &>/dev/null || : %post ldconfig %{fillup_and_insserv -y gearmand} %preun %stop_on_removal gearmand %postun ldconfig %restart_on_update gearmand %{insserv_cleanup} %files %defattr(-,root,root) %doc ChangeLog README COPYING %doc %{_mandir}/man?/* %{_bindir}/gearman %{_bindir}/gearadmin %{_sbindir}/gearmand %{_libdir}/libgearman.so.4 %{_libdir}/libgearman.so.4.0.0 %{_sbindir}/rcgearmand %{_sysconfdir}/init.d/gearmand /var/adm/fillup-templates/sysconfig.gearmand %files devel %defattr(-,root,root) %{_libdir}/pkgconfig/gearmand.pc %dir %{_includedir}/libgearman %{_includedir}/libgearman/* %{_libdir}/libgearman.la %{_libdir}/libgearman.so %changelog * Sun Jan 30 2011 Carsten Schoene <cs@linux-administrator.com> - 0.14-3 - fixes for cross distribution builds * Thu Jan 13 2011 Carsten Schoene <cs@linux-administrator.com> - 0.14-2 - fix some macros - fix filelist * Thu Sep 16 2010 florian.eibeck@mayflower.de First build version