]> git.pld-linux.org Git - packages/tmda.git/blame - tmda.spec
- BR: python-modules, rpm-pythonprov
[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
8273ddbc 5Release: 7
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
a9e1317a 12BuildRequires: python-modules
13BuildRequires: rpm-pythonprov
88cfa5e0 14BuildRequires: rpmbuild(macros) >= 1.219
86adf9b4 15%pyrequires_eq python
fbd55079 16BuildArch: noarch
3fb39a5a 17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
3fb39a5a
AM
18
19%description
20TMDA is an OSI certified software application designed to
21significantly reduce the amount of SPAM/UCE (junk-mail) you receive.
22TMDA combines a "whitelist" (for known/trusted senders), a "blacklist"
23(for undesired senders), and a cryptographically enhanced confirmation
24system (for unknown, but legitimate senders).
25
4c4b33bd
JR
26%description -l pl.UTF-8
27TMDA to oprogramowanie zaprojektowane by zredukować liczbę spamu,
28który otrzymujesz. TMDA łączy w sobie "białą listę" (dla znanych /
29zaufanych nadawców), "czarną listę" (dla niepożądanych nadawców) oraz
30system potwierdzania wiadomości (dla nieznanych ale prawidłowych
31nadawców).
3fb39a5a
AM
32
33%prep
34%setup -q
35
36%build
37python ./compileall
38
39%install
40rm -rf $RPM_BUILD_ROOT
fbd55079 41install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/tmda,%{py_scriptdir}/site-packages/TMDA/pythonlib/email}
3fb39a5a
AM
42
43install bin/tmda-* $RPM_BUILD_ROOT%{_bindir}
44install templates/*.txt $RPM_BUILD_ROOT%{_datadir}/tmda
fbd55079
AA
45install TMDA/*.{py,pyc} $RPM_BUILD_ROOT%{py_scriptdir}/site-packages/TMDA
46install TMDA/pythonlib/email/*.{py,pyc} $RPM_BUILD_ROOT%{py_scriptdir}/site-packages/TMDA/pythonlib/email
3fb39a5a
AM
47install 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 51rm -f htdocs/{ChangeLog,Makefile,*.h,*.ht,*.py*,*.tpl}
3fb39a5a 52
88cfa5e0
ER
53%py_postclean
54
3fb39a5a
AM
55%clean
56rm -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
This page took 0.040206 seconds and 4 git commands to generate.