]> 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 Summary:        Anomy Sanitizer
2 Name:           anomy-sanitizer
3 Version:        1.76
4 Release:        1
5 License:        GPL
6 Group:          Applications/Mail
7 Source0:        http://mailtools.anomy.net/dist/%{name}-%{version}.tar.gz
8 # Source0-md5:  1f53b7da3cc4f3d78631546335ff9dcd
9 URL:            http://mailtools.anomy.net/
10 BuildRequires:  rpm-perlprov >= 4.1-13
11 BuildArch:      noarch
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 The Anomy sanitizer is what most people would call "an email virus
16 scanner". That description is not totally accurate, but it does cover
17 one of the more important jobs that the sanitizer can do for you - it
18 can scan email attachments for viruses.
19
20 Other 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
33 %setup -qc
34 mv anomy/* .
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{_bindir},%{perl_vendorlib}}
39 cp -a bin/Anomy $RPM_BUILD_ROOT%{perl_vendorlib}/Anomy
40
41 for a in bin/*.pl; do
42         f=${a#*/}
43         f=anomy-${f%.pl}
44         install -p $a $RPM_BUILD_ROOT%{_bindir}/$f
45 done
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
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
57 %{perl_vendorlib}/Anomy
This page took 0.069555 seconds and 3 git commands to generate.