]> git.pld-linux.org Git - packages/anomy-sanitizer.git/blame - anomy-sanitizer.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/anomy-sanitizer.git] / anomy-sanitizer.spec
CommitLineData
45b18edc
ER
1Summary: Anomy Sanitizer
2Name: anomy-sanitizer
010b8096 3Version: 1.76
45b18edc
ER
4Release: 1
5License: GPL
6Group: Applications/Mail
7Source0: http://mailtools.anomy.net/dist/%{name}-%{version}.tar.gz
010b8096 8# Source0-md5: 1f53b7da3cc4f3d78631546335ff9dcd
45b18edc 9URL: http://mailtools.anomy.net/
0f0f7f3b 10BuildRequires: rpm-perlprov >= 4.1-13
45b18edc
ER
11BuildArch: noarch
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14%description
15The Anomy sanitizer is what most people would call "an email virus
16scanner". That description is not totally accurate, but it does cover
17one of the more important jobs that the sanitizer can do for you - it
18can scan email attachments for viruses.
19
20Other things it can do:
21- Disable potentially dangerous HTML code, such as javascript, within
22 incoming email.
23- Protect you from email-based break-in attempts which exploit bugs in
24 common email programs (Outlook, Eudora, Pine, ...).
25- Block or "mangle" attachments based on their file names. This way if
26 you don't need to recieve e.g. visual basic scripts, then you don't
27 have to worry about the security risk they imply (the ILOVEYOU virus
28 was a visual basic program). This lets you protect yourself and your
29 users from whole classes of attacks, without relying on complex,
30 resource intensive and outdated virus scanning solutions.
31
32%prep
010b8096
ER
33%setup -qc
34mv anomy/* .
45b18edc
ER
35
36%install
37rm -rf $RPM_BUILD_ROOT
0f0f7f3b 38install -d $RPM_BUILD_ROOT{%{_bindir},%{perl_vendorlib}}
45b18edc
ER
39cp -a bin/Anomy $RPM_BUILD_ROOT%{perl_vendorlib}/Anomy
40
0f0f7f3b
ER
41for a in bin/*.pl; do
42 f=${a#*/}
43 f=anomy-${f%.pl}
44 install -p $a $RPM_BUILD_ROOT%{_bindir}/$f
45done
46
45b18edc
ER
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(644,root,root,755)
0f0f7f3b
ER
52%doc CHANGELOG.sanitizer CREDITS README.sanitizer sanitizer.html UNICODE.TXT
53%doc contrib
54%attr(755,root,root) %{_bindir}/anomy-mailblogger
55%attr(755,root,root) %{_bindir}/anomy-sanitizer
56%attr(755,root,root) %{_bindir}/anomy-simplify
45b18edc 57%{perl_vendorlib}/Anomy
This page took 0.092232 seconds and 4 git commands to generate.