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