]> git.pld-linux.org Git - SPECS.git/blob - tmda.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / tmda.spec
1 Summary:        Tagged Message Delivery Agent
2 Summary(pl.UTF-8):      Agent (MDA) dostarczający oznaczone wiadomości
3 Name:           tmda
4 Version:        1.1.4
5 Release:        7
6 License:        GPL
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
15 %pyrequires_eq  python
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
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).
32
33 %prep
34 %setup -q
35
36 %build
37 python ./compileall
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/tmda,%{py_scriptdir}/site-packages/TMDA/pythonlib/email}
42
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}
48
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}
52
53 %py_postclean
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
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]
67 %{_datadir}/tmda
This page took 0.098384 seconds and 3 git commands to generate.