]> git.pld-linux.org Git - packages/tmda.git/blobdiff - tmda.spec
- New version, STBR for Ac.
[packages/tmda.git] / tmda.spec
index 1fe0392a2f1d272d7ef9c4c3e4f5d04ebffdf25b..ad03b53619986647b0d85fd5e9a4e5f4bc41cdb1 100644 (file)
--- a/tmda.spec
+++ b/tmda.spec
@@ -1,18 +1,19 @@
-%include        /usr/lib/rpm/macros.python
+%include       /usr/lib/rpm/macros.python
 Summary:       Tagged Message Delivery Agent
 Summary(pl):   Agent (MDA) dostarczaj±cy oznaczone wiadomo¶ci
 Name:          tmda
-Version:       0.62
+Version:       1.1.4
 Release:       1
-Source0:       http://tmda.net/releases/%{name}-%{version}.tgz
 License:       GPL
 Group:         Networking/Daemons
-%pyrequires_eq  python
-BuildRequires: python-devel >= 2.2.1
+Source0:       http://tmda.sf.net/releases/unstable/%{name}-%{version}.tgz
+# Source0-md5: 58c79099ea0cd4bfc48f85de5502a2f2
+URL:           http://tmda.sourceforge.net/
+BuildRequires: python-devel >= 2.3.3
 BuildRequires: rpm-pythonprov
+%pyrequires_eq python
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-URL:           http://tmda.sourceforge.net/
 
 %description
 TMDA is an OSI certified software application designed to
@@ -36,23 +37,27 @@ python ./compileall
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/tmda,%{py_libdir}/TMDA}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/tmda,%{py_libdir}/site-packages/TMDA,%{py_libdir}/site-packages/TMDA/pythonlib/email}
 
 install bin/tmda-* $RPM_BUILD_ROOT%{_bindir}
 install templates/*.txt $RPM_BUILD_ROOT%{_datadir}/tmda
-install TMDA/*.{py,pyc} $RPM_BUILD_ROOT%{py_libdir}/TMDA
+install TMDA/*.{py,pyc} $RPM_BUILD_ROOT%{py_libdir}/site-packages/TMDA
+install TMDA/pythonlib/email/*.{py,pyc} $RPM_BUILD_ROOT%{py_libdir}/site-packages/TMDA/pythonlib/email
 install contrib/{collectaddys,printcdb,printdbm} $RPM_BUILD_ROOT%{_bindir}
 
 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
 %py_comp $RPM_BUILD_ROOT%{py_libdir}
+rm -f htdocs/{ChangeLog,Makefile,*.h,*.ht,*.py*,*.tpl}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog CRYPTO INSTALL README THANKS UPGRADE contrib/sample* htdocs/{README,*.html}
+%doc ChangeLog CRYPTO README THANKS UPGRADE contrib htdocs
 %attr(755,root,root) %{_bindir}/*
-%dir %{py_libdir}/TMDA
-%{py_libdir}/TMDA/*.py[co]
+%dir %{py_libdir}/site-packages/TMDA
+%{py_libdir}/site-packages/TMDA/*.py[co]
+%dir %{py_libdir}/site-packages/TMDA/pythonlib/email
+%{py_libdir}/site-packages/TMDA/pythonlib/email/*.py[co]
 %{_datadir}/tmda
This page took 0.037344 seconds and 4 git commands to generate.