Search
j0ke.net Open Build Service
>
Projects
>
server:mail
>
sophos-av
> sophos.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File sophos.spec of Package sophos-av (Revision 8)
Currently displaying revision
8
,
show latest
# sweep user %define SWEEPUID 90 # sweep group %define SWEEPGID 90 # sweep home %define SWEEP_HOME /var/lib/sav Name: sophos-av Summary: Sophos Antivirus Group: System/Security Version: 4.31 Release: 0 Url: http://www.sophos.com/ License: unknown Source0: http://downloads.sophos.com/dp/full/linux.intel.libc6.tar.Z Patch0: sophos-permission.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: libsavi >= 3 BuildRequires: qmail_prepare_build procps Requires: openldap2-client %if 0%{?suse_version} >= 1030 PreReq: pwdutils Requires: pwdutils %endif %description %prep %setup0 -n sav-install %patch0 %build %__mkdir_p %{buildroot}%{_prefix}/bin %__mkdir_p %{buildroot}%{_prefix}/lib %__mkdir_p %{buildroot}%{_mandir} %__mkdir_p %{buildroot}%{_localstatedir}/lib/sav %install ./install.sh -v -d %{buildroot}%{_prefix} -m %{buildroot}%{_mandir} -s %{buildroot}%{_localstatedir}/lib/sav -so -i %post # sweep if [ -z "`%__grep "^sweep:" /etc/group 2>/dev/null`" ]; then %{_sbindir}/groupadd -r -g %{SWEEPGID} sweep fi if [ -z "`%__grep "^sweep" /etc/passwd 2>/dev/null`" ]; then %{_sbindir}/useradd -c "sweep" -d %{SWEEP_HOME} -g %{SWEEPGID} -u %{SWEEPUID} -r -s /bin/false sweep fi %files %changelog * Fri Jul 11 2008 Carsten Schoene <cs@linux-administrator.com> - initial build of sophos-av