1 Summary: Tagged Message Delivery Agent
2 Summary(pl.UTF-8): Agent (MDA) dostarczający oznaczone wiadomości
7 Group: Networking/Daemons
8 Source0: http://tmda.sf.net/releases/unstable/%{name}-%{version}.tgz
9 # Source0-md5: 58c79099ea0cd4bfc48f85de5502a2f2
10 URL: http://tmda.sourceforge.net/
11 BuildRequires: python-devel >= 1:2.3.3
12 BuildRequires: python-modules
13 BuildRequires: rpm-pythonprov
14 BuildRequires: rpmbuild(macros) >= 1.219
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 TMDA is an OSI certified software application designed to
21 significantly reduce the amount of SPAM/UCE (junk-mail) you receive.
22 TMDA combines a "whitelist" (for known/trusted senders), a "blacklist"
23 (for undesired senders), and a cryptographically enhanced confirmation
24 system (for unknown, but legitimate senders).
26 %description -l pl.UTF-8
27 TMDA to oprogramowanie zaprojektowane by zredukować liczbę spamu,
28 który otrzymujesz. TMDA łączy w sobie "białą listę" (dla znanych /
29 zaufanych nadawców), "czarną listę" (dla niepożądanych nadawców) oraz
30 system potwierdzania wiadomości (dla nieznanych ale prawidłowych
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/tmda,%{py_scriptdir}/site-packages/TMDA/pythonlib/email}
43 install bin/tmda-* $RPM_BUILD_ROOT%{_bindir}
44 install templates/*.txt $RPM_BUILD_ROOT%{_datadir}/tmda
45 install TMDA/*.{py,pyc} $RPM_BUILD_ROOT%{py_scriptdir}/site-packages/TMDA
46 install TMDA/pythonlib/email/*.{py,pyc} $RPM_BUILD_ROOT%{py_scriptdir}/site-packages/TMDA/pythonlib/email
47 install contrib/{collectaddys,printcdb,printdbm} $RPM_BUILD_ROOT%{_bindir}
49 %py_ocomp $RPM_BUILD_ROOT%{py_scriptdir}
50 %py_comp $RPM_BUILD_ROOT%{py_scriptdir}
51 rm -f htdocs/{ChangeLog,Makefile,*.h,*.ht,*.py*,*.tpl}
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
60 %doc ChangeLog CRYPTO README THANKS UPGRADE contrib htdocs
61 %attr(755,root,root) %{_bindir}/*
62 %dir %{py_scriptdir}/site-packages/TMDA
63 %{py_scriptdir}/site-packages/TMDA/*.py[co]
64 %dir %dir %{py_scriptdir}/site-packages/TMDA/pythonlib
65 %dir %{py_scriptdir}/site-packages/TMDA/pythonlib/email
66 %{py_scriptdir}/site-packages/TMDA/pythonlib/email/*.py[co]