]>
Commit | Line | Data |
---|---|---|
e697c636 | 1 | # |
2 | # TODO: | |
3 | # - make it work (create good dependences), | |
4 | # - summary and description (both), | |
5 | # - data to /var/lib/ dir i think, | |
6 | ||
7 | Summary: Python MSN jabber transport | |
8 | Summary(pl.UTF-8): Python MSN jabber transport | |
9 | Name: PyMSNt | |
10 | Version: 0.12 | |
11 | Release: 0.1 | |
12 | License: GPL | |
13 | Group: Libraries/Python | |
14 | Source0: http://delx.cjb.net/pymsnt/tarballs/pymsnt-snapshot.tar.gz | |
15 | # Source0-md5: 878a3df019c3e56b832feb751a4b4502 | |
16 | URL: http://delx.cjb.net/pymsnt/ | |
17 | BuildRequires: python | |
18 | BuildRequires: rpm-pythonprov | |
19 | BuildRequires: rpmbuild(macros) >= 1.219 | |
20 | BuildArch: noarch | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | ||
25 | %description -l pl.UTF-8 | |
26 | ||
27 | %prep | |
28 | %setup -q -n pymsnt-snapshot | |
29 | ||
30 | %build | |
31 | ||
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | ||
35 | install -d $RPM_BUILD_ROOT/%{_datadir}/pymsnt/src/{twistfix/words/{xish/,protocols/jabber/},legacy/msn/,baseproto/} | |
36 | install src/twistfix/*.py $RPM_BUILD_ROOT/%{_datadir}/pymsnt/src/twistfix/ | |
37 | install src/twistfix/words/*.py $RPM_BUILD_ROOT/%{_datadir}/pymsnt/src/twistfix/words/ | |
38 | install src/twistfix/words/xish/*.py $RPM_BUILD_ROOT/%{_datadir}/pymsnt/src/twistfix/words/xish/ | |
39 | install src/twistfix/words/protocols/*.py $RPM_BUILD_ROOT/%{_datadir}/pymsnt/src/twistfix/words/protocols/ | |
40 | install src/twistfix/words/protocols/jabber/*.py $RPM_BUILD_ROOT/%{_datadir}/pymsnt/src/twistfix/words/protocols/jabber/ | |
41 | install src/legacy/*.py $RPM_BUILD_ROOT/%{_datadir}/pymsnt/src/legacy/ | |
42 | install src/legacy/msn/*.py $RPM_BUILD_ROOT/%{_datadir}/pymsnt/src/legacy/msn/ | |
43 | install src/baseproto/*.py $RPM_BUILD_ROOT/%{_datadir}/pymsnt/src/baseproto/ | |
44 | install src/*.py $RPM_BUILD_ROOT/%{_datadir}/pymsnt/src/ | |
45 | install PyMSNt.py $RPM_BUILD_ROOT/%{_datadir}/pymsnt/ | |
46 | ||
47 | %py_postclean | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
54 | %doc README TODO docs | |
55 | %dir %{_datadir}/pymsnt/src/twistfix/ | |
56 | %{_datadir}/pymsnt/src/twistfix/*.py | |
57 | %dir %{_datadir}/pymsnt/src/twistfix/words/ | |
58 | %{_datadir}/pymsnt/src/twistfix/words/*.py | |
59 | %dir %{_datadir}/pymsnt/src/twistfix/words/xish/ | |
60 | %{_datadir}/pymsnt/src/twistfix/words/xish/*.py | |
61 | %dir %{_datadir}/pymsnt/src/twistfix/words/protocols/ | |
62 | %{_datadir}/pymsnt/src/twistfix/words/protocols/*.py | |
63 | %dir %{_datadir}/pymsnt/src/twistfix/words/protocols/jabber/ | |
64 | %{_datadir}/pymsnt/src/twistfix/words/protocols/jabber/*.py | |
65 | %dir %{_datadir}/pymsnt/src/legacy/ | |
66 | %{_datadir}/pymsnt/src/legacy/*.py | |
67 | %dir %{_datadir}/pymsnt/src/legacy/msn/ | |
68 | %{_datadir}/pymsnt/src/legacy/msn/*.py | |
69 | %dir %{_datadir}/pymsnt/src/baseproto/ | |
70 | %{_datadir}/pymsnt/src/baseproto/*.py | |
71 | %dir %{_datadir}/pymsnt/src | |
72 | %{_datadir}/pymsnt/src/*.py | |
73 | %dir %{_datadir}/pymsnt | |
74 | %{_datadir}/pymsnt/*.py |