]>
Commit | Line | Data |
---|---|---|
167c331b | 1 | %define module jwzthreading |
2 | Summary: Implementation of algorithm for threading mail messages | |
cbc346a3 | 3 | Summary(pl.UTF-8): Implementacja algorytmu wątkowania wiadomości pocztowych |
167c331b | 4 | Name: python-%{module} |
5 | Version: 0.91 | |
7a80d03a | 6 | Release: 4 |
167c331b | 7 | License: BSD-like (see LICENSE) |
8 | Group: Libraries/Python | |
9 | Source0: http://www.amk.ca/files/python/%{module}-%{version}.tar.gz | |
10 | # Source0-md5: 567f17b0189d90f570961b8f5d487795 | |
11 | URL: http://www.amk.ca/python/code/jwz.html | |
12 | %pyrequires_eq python | |
13 | BuildRequires: python-devel >= 1:2.3 | |
8de09412 | 14 | BuildRequires: python-modules |
167c331b | 15 | BuildArch: noarch |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | This is an implementation of a fast and smart algorithm for threading | |
20 | mail messages, as described by Jamie Zawinski at | |
37d5bad9 | 21 | http://www.jwz.org/doc/threading.html . |
167c331b | 22 | |
c0d3a653 JR |
23 | %description -l pl.UTF-8 |
24 | Implementacja szybkiego i sprawnego algorytmu wątkowania poczty, | |
4ee44a12 | 25 | opisana przez Jamie Zawinskiego na stronie |
37d5bad9 | 26 | http://www.jwz.org/doc/threading.html . |
167c331b | 27 | |
28 | %prep | |
29 | %setup -q -n %{module}-%{version} | |
30 | ||
31 | %build | |
32 | python setup.py build | |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | install -d $RPM_BUILD_ROOT%{py_sitescriptdir} | |
37 | ||
38 | python setup.py install \ | |
39 | --optimize=2 \ | |
40 | --root=$RPM_BUILD_ROOT | |
41 | ||
42 | find $RPM_BUILD_ROOT%{py_sitescriptdir} -type f -name "*.py" -exec rm {} \; | |
43 | ||
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
49 | %doc LICENSE CHANGES.txt README | |
50 | %{py_sitescriptdir}/%{module}.py? |