1 | %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} |
---|
2 | |
---|
3 | Name: python-xmpp |
---|
4 | Version: 0.5.0 |
---|
5 | Release: 1.rc1%{?_dist_release} |
---|
6 | Summary: Python library for easy scripting with Jabber |
---|
7 | |
---|
8 | Group: Development/Languages |
---|
9 | License: GPLv2+ |
---|
10 | URL: http://xmpppy.sourceforge.net/ |
---|
11 | Source0: http://downloads.sourceforge.net/xmpppy/xmpppy-%{version}rc1.tar.gz |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
13 | Provides: xmpppy = %{version}-%{release} |
---|
14 | |
---|
15 | BuildArch: noarch |
---|
16 | |
---|
17 | BuildRequires: python-setuptools |
---|
18 | |
---|
19 | Requires: python-dns |
---|
20 | |
---|
21 | %description |
---|
22 | xmpppy is a Python library that is targeted to provide easy scripting |
---|
23 | with Jabber. Similar projects are Twisted Words and jabber.py. |
---|
24 | |
---|
25 | This library was not designed from scratch. It inherits some code from |
---|
26 | jabberpy and have very similar API in many places. Though it is |
---|
27 | separate project since it have almost completely different |
---|
28 | architecture and primarily aims to work with jabberd2 - the new Open |
---|
29 | Source Jabber Server. |
---|
30 | |
---|
31 | %prep |
---|
32 | %setup -q -n xmpppy-%{version}rc1 |
---|
33 | |
---|
34 | # strip executable permissions so that dependencies aren't picked up |
---|
35 | # from documentation files. |
---|
36 | find doc -type f | xargs chmod a-x |
---|
37 | |
---|
38 | %build |
---|
39 | CFLAGS="%{optflags}" %{__python} -c 'import setuptools; execfile("setup.py")' build |
---|
40 | |
---|
41 | %install |
---|
42 | rm -rf %{buildroot} |
---|
43 | %{__python} -c 'import setuptools; execfile("setup.py")' install --skip-build --root %{buildroot} |
---|
44 | |
---|
45 | %clean |
---|
46 | rm -rf %{buildroot} |
---|
47 | |
---|
48 | %files |
---|
49 | %defattr(-,root,root,-) |
---|
50 | %doc ChangeLog README doc/* |
---|
51 | |
---|
52 | %{python_sitelib}/* |
---|
53 | |
---|
54 | %changelog |
---|
55 | * Sat Apr 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.5.0-1.rc1 |
---|
56 | - initial build for Vine Linux |
---|
57 | |
---|
58 | |
---|
59 | * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-0.5.rc1 |
---|
60 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
61 | |
---|
62 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-0.4.rc1 |
---|
63 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
64 | |
---|
65 | * Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.5.0-0.3.rc1 |
---|
66 | - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild |
---|
67 | |
---|
68 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-0.2.rc1 |
---|
69 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
70 | |
---|
71 | * Sat Apr 11 2009 Peter Lemenkov <lemenkov@gmail.com> - 0.5.0-0.1.rc1 |
---|
72 | - Ver. 0.5.0rc1 |
---|
73 | - Dropped patches |
---|
74 | |
---|
75 | * Sun Mar 15 2009 Peter Lemenkov <lemenkov@gmail.com> - 0.4.1-6 |
---|
76 | - Added Provides: xmpppy |
---|
77 | - Added patches from upstream CVS |
---|
78 | - Fixed Source0 link |
---|
79 | |
---|
80 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-5 |
---|
81 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
82 | |
---|
83 | * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.4.1-4 |
---|
84 | - Rebuild for Python 2.6 |
---|
85 | |
---|
86 | * Wed Sep 3 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.4.1-3 |
---|
87 | - fix license tag |
---|
88 | |
---|
89 | * Thu Jan 3 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.4.1-2 |
---|
90 | - Get eggs building correctly on F-7 and F-8. |
---|
91 | |
---|
92 | * Thu Jan 3 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.4.1-1 |
---|
93 | - Update to 0.4.1. |
---|
94 | |
---|
95 | * Thu Jan 3 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.4.0-3 |
---|
96 | - Change files section to pick up egg info files. |
---|
97 | |
---|
98 | * Fri Dec 8 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.4.0-2 |
---|
99 | - Bump release for rebuild with Python 2.5. |
---|
100 | |
---|
101 | * Wed Nov 22 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.4.0-1 |
---|
102 | - Update to 0.4.0 |
---|
103 | |
---|
104 | * Mon Aug 14 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.3.1-2 |
---|
105 | - Remove unneeded python_sitearch macro |
---|
106 | - Remove unneeded python-abi requirement |
---|
107 | - No longer ghost *.pyo files |
---|
108 | |
---|
109 | * Fri May 26 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.3.1-1 |
---|
110 | - First version for Fedora Extras |
---|
111 | |
---|
112 | |
---|