]> git.pld-linux.org Git - SPECS.git/blob - mailfilter.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / mailfilter.spec
1 Summary:        Antispam utility
2 Summary(pl.UTF-8):      Narzędzie antyspamowe
3 Name:           mailfilter
4 Version:        0.6.2
5 Release:        1
6 License:        GPL
7 Group:          Applications/Mail
8 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5:  0c03ef7f9ff214b034eaaf68515610aa
10 Source1:        %{name}-pl.po
11 Patch0:         %{name}-home_etc.patch
12 URL:            http://mailfilter.sourceforge.net/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  bison
16 BuildRequires:  flex
17 BuildRequires:  gettext-tools
18 BuildRequires:  libstdc++-devel
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         specflags_ia32   -fomit-frame-pointer 
22
23 %description
24 Mailfilter is a flexible utility for Unix (-like) operating systems to
25 get rid of unwanted spam mails, before having to go through the
26 trouble of downloading them into the local computer. It offers support
27 for one or many POP3 accounts and is especially useful for dialup
28 connections via modem, ISDN, etc.
29 Mailfilter connects to any POP3 mail box and compares part of its
30 content to a set of user defined filter rules. That way the spam gets
31 deleted directly on the mail server.
32
33 %description -l pl.UTF-8
34 Mailfilter jest elastycznym narzędziem dla systemów UNIXopodobnych,
35 służącym do pozbywania się niechcianego spamu przed pobraniem go na
36 lokalny komputer z sieci. Obsługuje wiele kont POP3 i jest nadzwyczaj
37 użyteczny dla połączeń wdzwanianych przez modem, ISDN etc.
38 Mailfilter łączy się z kontem POP3 i porównuje części jego zawartości
39 z zestawem regułek zdefiniowanych przez użytkownika. W ten sposób spam
40 zostaje usunięty bezpośrednio na serwerze pocztowym.
41
42 %prep
43 %setup -q
44 %patch0 -p1
45 install %{SOURCE1} po/pl.po
46
47 %build
48 rm -f missing
49 %{__gettextize}
50 %{__aclocal}
51 %{__autoconf}
52 %{__autoheader}
53 %{__automake}
54 %configure
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man{1,5}}
60
61 make install DESTDIR=$RPM_BUILD_ROOT
62 install man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
63 install man/*.5 $RPM_BUILD_ROOT%{_mandir}/man5
64 mv -f doc/api/man/man3 $RPM_BUILD_ROOT%{_mandir}
65 rm -rf doc/api/man
66
67 %find_lang %{name}
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files -f %{name}.lang
73 %defattr(644,root,root,755)
74 %doc README ChangeLog AUTHORS NEWS THANKS TODO doc/{api,Doxyfile,FAQ,rcfile.example{1,2},supported_servers}
75 %lang(it) %doc doc/rcfile.example1.it
76 %lang(ru) %doc doc/rcfile.example2.ru
77 %attr(755,root,root) %{_bindir}/*
78 %{_mandir}/man1/*
79 %{_mandir}/man3/*
80 %{_mandir}/man5/*
This page took 0.687112 seconds and 3 git commands to generate.