]>
Commit | Line | Data |
---|---|---|
3fb39a5a | 1 | Summary: Tagged Message Delivery Agent |
81bbb09b | 2 | Summary(pl.UTF-8): Agent (MDA) dostarczający oznaczone wiadomości |
ff2f2c5e | 3 | Name: tmda |
04c2e7b4 | 4 | Version: 1.1.4 |
8273ddbc | 5 | Release: 7 |
3fb39a5a AM |
6 | License: GPL |
7 | Group: Networking/Daemons | |
04c2e7b4 | 8 | Source0: http://tmda.sf.net/releases/unstable/%{name}-%{version}.tgz |
9 | # Source0-md5: 58c79099ea0cd4bfc48f85de5502a2f2 | |
f7b7b99c | 10 | URL: http://tmda.sourceforge.net/ |
b2463528 | 11 | BuildRequires: python-devel >= 1:2.3.3 |
a9e1317a | 12 | BuildRequires: python-modules |
13 | BuildRequires: rpm-pythonprov | |
88cfa5e0 | 14 | BuildRequires: rpmbuild(macros) >= 1.219 |
86adf9b4 | 15 | %pyrequires_eq python |
fbd55079 | 16 | BuildArch: noarch |
3fb39a5a | 17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
3fb39a5a AM |
18 | |
19 | %description | |
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). | |
25 | ||
4c4b33bd JR |
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 | |
31 | nadawców). | |
3fb39a5a AM |
32 | |
33 | %prep | |
34 | %setup -q | |
35 | ||
36 | %build | |
37 | python ./compileall | |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
fbd55079 | 41 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/tmda,%{py_scriptdir}/site-packages/TMDA/pythonlib/email} |
3fb39a5a AM |
42 | |
43 | install bin/tmda-* $RPM_BUILD_ROOT%{_bindir} | |
44 | install templates/*.txt $RPM_BUILD_ROOT%{_datadir}/tmda | |
fbd55079 AA |
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 | |
3fb39a5a AM |
47 | install contrib/{collectaddys,printcdb,printdbm} $RPM_BUILD_ROOT%{_bindir} |
48 | ||
fbd55079 AA |
49 | %py_ocomp $RPM_BUILD_ROOT%{py_scriptdir} |
50 | %py_comp $RPM_BUILD_ROOT%{py_scriptdir} | |
86adf9b4 | 51 | rm -f htdocs/{ChangeLog,Makefile,*.h,*.ht,*.py*,*.tpl} |
3fb39a5a | 52 | |
88cfa5e0 ER |
53 | %py_postclean |
54 | ||
3fb39a5a AM |
55 | %clean |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %files | |
59 | %defattr(644,root,root,755) | |
1e652012 | 60 | %doc ChangeLog CRYPTO README THANKS UPGRADE contrib htdocs |
3fb39a5a | 61 | %attr(755,root,root) %{_bindir}/* |
fbd55079 AA |
62 | %dir %{py_scriptdir}/site-packages/TMDA |
63 | %{py_scriptdir}/site-packages/TMDA/*.py[co] | |
9cfe37ba | 64 | %dir %dir %{py_scriptdir}/site-packages/TMDA/pythonlib |
fbd55079 AA |
65 | %dir %{py_scriptdir}/site-packages/TMDA/pythonlib/email |
66 | %{py_scriptdir}/site-packages/TMDA/pythonlib/email/*.py[co] | |
3fb39a5a | 67 | %{_datadir}/tmda |