1 |
Name: python-xmpp |
Name: python-xmpp |
2 |
Version: 1.0.0 |
Version: 1.1.2 |
3 |
Release: %mkrel 2 |
Release: %mkrel 1 |
4 |
URL: http://pyxmpp.jajcus.net/ |
URL: http://pyxmpp.jajcus.net/ |
5 |
Summary: Python Jabber/XMPP implementation |
Summary: Python Jabber/XMPP implementation |
6 |
Source0: http://pyxmpp.jajcus.net/downloads/pyxmpp-%{version}.tar.gz |
Source0: http://pyxmpp.jajcus.net/downloads/pyxmpp-%{version}.tar.gz |
|
Source1: http://pyxmpp.jajcus.net/downloads/pyxmpp-%{version}.tar.gz.md5 |
|
7 |
Group: System/Libraries |
Group: System/Libraries |
8 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
9 |
License: LGPLv2 |
License: LGPLv2 |
38 |
%setup -q -n pyxmpp-%{version} |
%setup -q -n pyxmpp-%{version} |
39 |
|
|
40 |
%build |
%build |
41 |
%__python setup.py build |
%{__python} setup.py build |
42 |
%__python -O -c "import compileall; compileall.compile_dir('build')" |
%{__python} -O -c "import compileall; compileall.compile_dir('build')" |
43 |
%__python -c "import compileall; compileall.compile_dir('build')" |
%{__python} -c "import compileall; compileall.compile_dir('build')" |
44 |
|
|
45 |
%install |
%install |
46 |
%{__rm} -Rf %{buildroot} |
%{__rm} -Rf %{buildroot} |
47 |
%__python setup.py install --prefix %{buildroot}%{_prefix} |
%{__python} setup.py install --prefix %{buildroot}%{_prefix} |
48 |
|
|
49 |
%files |
%files |
50 |
%doc ChangeLog COPYING PKG-INFO README TODO examples doc |
%doc ChangeLog COPYING PKG-INFO README TODO examples doc |