]> git.pld-linux.org Git - packages/tmda.git/blob - tmda.spec
- missing dir
[packages/tmda.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:        5
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:  rpmbuild(macros) >= 1.219
13 %pyrequires_eq  python
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 TMDA is an OSI certified software application designed to
19 significantly reduce the amount of SPAM/UCE (junk-mail) you receive.
20 TMDA combines a "whitelist" (for known/trusted senders), a "blacklist"
21 (for undesired senders), and a cryptographically enhanced confirmation
22 system (for unknown, but legitimate senders).
23
24 %description -l pl.UTF-8
25 TMDA to oprogramowanie zaprojektowane by zredukować liczbę spamu,
26 który otrzymujesz. TMDA łączy w sobie "białą listę" (dla znanych /
27 zaufanych nadawców), "czarną listę" (dla niepożądanych nadawców) oraz
28 system potwierdzania wiadomości (dla nieznanych ale prawidłowych
29 nadawców).
30
31 %prep
32 %setup -q
33
34 %build
35 python ./compileall
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/tmda,%{py_scriptdir}/site-packages/TMDA/pythonlib/email}
40
41 install bin/tmda-* $RPM_BUILD_ROOT%{_bindir}
42 install templates/*.txt $RPM_BUILD_ROOT%{_datadir}/tmda
43 install TMDA/*.{py,pyc} $RPM_BUILD_ROOT%{py_scriptdir}/site-packages/TMDA
44 install TMDA/pythonlib/email/*.{py,pyc} $RPM_BUILD_ROOT%{py_scriptdir}/site-packages/TMDA/pythonlib/email
45 install contrib/{collectaddys,printcdb,printdbm} $RPM_BUILD_ROOT%{_bindir}
46
47 %py_ocomp $RPM_BUILD_ROOT%{py_scriptdir}
48 %py_comp $RPM_BUILD_ROOT%{py_scriptdir}
49 rm -f htdocs/{ChangeLog,Makefile,*.h,*.ht,*.py*,*.tpl}
50
51 %py_postclean
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc ChangeLog CRYPTO README THANKS UPGRADE contrib htdocs
59 %attr(755,root,root) %{_bindir}/*
60 %dir %{py_scriptdir}/site-packages/TMDA
61 %{py_scriptdir}/site-packages/TMDA/*.py[co]
62 %dir %dir %{py_scriptdir}/site-packages/TMDA/pythonlib
63 %dir %{py_scriptdir}/site-packages/TMDA/pythonlib/email
64 %{py_scriptdir}/site-packages/TMDA/pythonlib/email/*.py[co]
65 %{_datadir}/tmda
This page took 0.031697 seconds and 4 git commands to generate.