]> git.pld-linux.org Git - packages/tmda.git/blame - tmda.spec
- rebuild; cleanups; rel 4
[packages/tmda.git] / tmda.spec
CommitLineData
3fb39a5a 1Summary: Tagged Message Delivery Agent
81bbb09b 2Summary(pl.UTF-8): Agent (MDA) dostarczający oznaczone wiadomości
ff2f2c5e 3Name: tmda
04c2e7b4 4Version: 1.1.4
88cfa5e0 5Release: 4
3fb39a5a
AM
6License: GPL
7Group: Networking/Daemons
04c2e7b4 8Source0: http://tmda.sf.net/releases/unstable/%{name}-%{version}.tgz
9# Source0-md5: 58c79099ea0cd4bfc48f85de5502a2f2
f7b7b99c 10URL: http://tmda.sourceforge.net/
b2463528 11BuildRequires: python-devel >= 1:2.3.3
88cfa5e0 12BuildRequires: rpmbuild(macros) >= 1.219
86adf9b4 13%pyrequires_eq python
fbd55079 14BuildArch: noarch
3fb39a5a 15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
3fb39a5a
AM
16
17%description
18TMDA is an OSI certified software application designed to
19significantly reduce the amount of SPAM/UCE (junk-mail) you receive.
20TMDA combines a "whitelist" (for known/trusted senders), a "blacklist"
21(for undesired senders), and a cryptographically enhanced confirmation
22system (for unknown, but legitimate senders).
23
4c4b33bd
JR
24%description -l pl.UTF-8
25TMDA to oprogramowanie zaprojektowane by zredukować liczbę spamu,
26który otrzymujesz. TMDA łączy w sobie "białą listę" (dla znanych /
27zaufanych nadawców), "czarną listę" (dla niepożądanych nadawców) oraz
28system potwierdzania wiadomości (dla nieznanych ale prawidłowych
29nadawców).
3fb39a5a
AM
30
31%prep
32%setup -q
33
34%build
35python ./compileall
36
37%install
38rm -rf $RPM_BUILD_ROOT
fbd55079 39install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/tmda,%{py_scriptdir}/site-packages/TMDA/pythonlib/email}
3fb39a5a
AM
40
41install bin/tmda-* $RPM_BUILD_ROOT%{_bindir}
42install templates/*.txt $RPM_BUILD_ROOT%{_datadir}/tmda
fbd55079
AA
43install TMDA/*.{py,pyc} $RPM_BUILD_ROOT%{py_scriptdir}/site-packages/TMDA
44install TMDA/pythonlib/email/*.{py,pyc} $RPM_BUILD_ROOT%{py_scriptdir}/site-packages/TMDA/pythonlib/email
3fb39a5a
AM
45install contrib/{collectaddys,printcdb,printdbm} $RPM_BUILD_ROOT%{_bindir}
46
fbd55079
AA
47%py_ocomp $RPM_BUILD_ROOT%{py_scriptdir}
48%py_comp $RPM_BUILD_ROOT%{py_scriptdir}
86adf9b4 49rm -f htdocs/{ChangeLog,Makefile,*.h,*.ht,*.py*,*.tpl}
3fb39a5a 50
88cfa5e0
ER
51%py_postclean
52
3fb39a5a
AM
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
1e652012 58%doc ChangeLog CRYPTO README THANKS UPGRADE contrib htdocs
3fb39a5a 59%attr(755,root,root) %{_bindir}/*
fbd55079
AA
60%dir %{py_scriptdir}/site-packages/TMDA
61%{py_scriptdir}/site-packages/TMDA/*.py[co]
62%dir %{py_scriptdir}/site-packages/TMDA/pythonlib/email
63%{py_scriptdir}/site-packages/TMDA/pythonlib/email/*.py[co]
3fb39a5a 64%{_datadir}/tmda
This page took 0.045262 seconds and 4 git commands to generate.