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 16)
Currently displaying revision
16
,
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 %__mkdir_p %{buildroot}%{_localstatedir}/spool/intercheck %install ./install.sh -v -d %{buildroot}%{_prefix} -m %{buildroot}%{_mandir} -s %{buildroot}%{_localstatedir}/lib/sav -so -i %{buildroot}%{_localstatedir}/spool/intercheck cd %{buildroot}%{_mandir} for TARGET in ja_JP ja_JP.euc ja_JP.eucJP ja_JP.ujis japanese japanese.euc do rm -f ${TARGET} ln -sf %{_mandir}/jp.euc ${TARGET} done %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 %{_bindir}/icheckd %{_bindir}/sweep %{_libdir}/libsavi.so %{_libdir}/libsavi.so.2 %{_libdir}/libsavi.so.3 %{_libdir}/libsavi.so.3.2.07.208 %{_mandir}/de/man1/icheckd.1.gz %{_mandir}/de/man1/sweep.1.gz %{_mandir}/de/man5/icheckd.conf.5.gz %{_mandir}/es/man1/icheckd.1.gz %{_mandir}/es/man1/sweep.1.gz %{_mandir}/es/man5/icheckd.conf.5.gz %{_mandir}/fr/man1/icheckd.1.gz %{_mandir}/fr/man1/sweep.1.gz %{_mandir}/fr/man5/icheckd.conf.5.gz %{_mandir}/it/man1/icheckd.1.gz %{_mandir}/it/man1/sweep.1.gz %{_mandir}/it/man5/icheckd.conf.5.gz %{_mandir}/ja_JP %{_mandir}/ja_JP.euc %{_mandir}/ja_JP.eucJP %{_mandir}/ja_JP.ujis %{_mandir}/japanese %{_mandir}/japanese.euc %{_mandir}/jp.euc/man1/icheckd.1.gz %{_mandir}/jp.euc/man1/sweep.1.gz %{_mandir}/jp.euc/man5/icheckd.conf.5.gz %{_mandir}/jp.utf/man1/icheckd.1.gz %{_mandir}/jp.utf/man1/sweep.1.gz %{_mandir}/jp.utf/man5/icheckd.conf.5.gz %{_mandir}/man1/icheckd.1.gz %{_mandir}/man1/sweep.1.gz %{_mandir}/man5/icheckd.conf.5.gz %{_localstatedir}/lib/sav/eminstall.sh %{_localstatedir}/lib/sav/icmess.dat %{_localstatedir}/lib/sav/sus01.vdb %{_localstatedir}/lib/sav/svext.dat %{_localstatedir}/lib/sav/swpmess.dat %{_localstatedir}/lib/sav/vdl* %changelog * Fri Jul 11 2008 Carsten Schoene <cs@linux-administrator.com> - initial build of sophos-av