Blob Blame History Raw
%global upstream normanr
%global realname xmpppy

Name:           python-xmpp
Version:        0.5.0
Release:        0.20.rc1%{?dist}
Summary:        Python library for easy scripting with Jabber
Group:          Development/Languages
License:        GPLv2+
URL:            https://github.com/%{upstream}/%{realname}
Source0:        https://github.com/%{upstream}/%{realname}/archive/%{version}-rc1/%{realname}-%{version}.tar.gz
BuildArch:      noarch
# For python-macros
BuildRequires:  python2-devel
BuildRequires:  python2-setuptools

%global _description\
xmpppy is a Python library that is targeted to provide easy scripting\
with Jabber. Similar projects are Twisted Words and jabber.py.\
\
This library was not designed from scratch. It inherits some code from\
jabberpy and have very similar API in many places. Though it is\
separate project since it have almost completely different\
architecture and primarily aims to work with jabberd2 - the new Open\
Source Jabber Server.

%description %_description

%package -n python2-xmpp
Summary: %summary
Provides:       %{realname} = %{version}-%{release}
Requires:       python2-dns
%{?python_provide:%python_provide python2-xmpp}

%description -n python2-xmpp %_description

%prep
%setup -q -n %{realname}-%{version}-rc1

# strip executable permissions so that dependencies aren't picked up
# from documentation files.
find doc -type f | xargs chmod a-x

%build
%py2_build

%install
%py2_install

%files -n python2-xmpp
%doc README doc/*
%{python2_sitelib}/*

%changelog
* Tue Jul 17 2018 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-0.20.rc1
- Update Python macros to new packaging standards
  (See https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package)

* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-0.19.rc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-0.18.rc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

* Wed Jan 31 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.5.0-0.17.rc1
- Update Python 2 dependency declarations to new packaging standards
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)

* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.5.0-0.16.rc1
- Python 2 binary package renamed to python2-xmpp
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3

* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-0.15.rc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-0.14.rc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-0.13.rc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Tue Jan 26 2016 Peter Lemenkov <lemenkov@gmail.com> -  0.5.0-0.12.rc1
- Spec-file cleanups

* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-0.11.rc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

* Mon Jun 30 2014 Toshio Kuratomi <toshio@fedoraproject.org> - 0.5.0-0.10.rc1
- Replace python-setuptools-devel BR with python-setuptools

* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-0.9.rc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-0.8.rc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-0.7.rc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-0.6.rc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-0.5.rc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-0.4.rc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.5.0-0.3.rc1
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild

* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-0.2.rc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Sat Apr 11 2009 Peter Lemenkov <lemenkov@gmail.com> -  0.5.0-0.1.rc1
- Ver. 0.5.0rc1
- Dropped patches

* Sun Mar 15 2009 Peter Lemenkov <lemenkov@gmail.com> -  0.4.1-6
- Added Provides: xmpppy
- Added patches from upstream CVS
- Fixed Source0 link

* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.4.1-4
- Rebuild for Python 2.6

* Wed Sep  3 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.4.1-3
- fix license tag

* Thu Jan  3 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.4.1-2
- Get eggs building correctly on F-7 and F-8.

* Thu Jan  3 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.4.1-1
- Update to 0.4.1.

* Thu Jan  3 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.4.0-3
- Change files section to pick up egg info files.

* Fri Dec  8 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.4.0-2
- Bump release for rebuild with Python 2.5.

* Wed Nov 22 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.4.0-1
- Update to 0.4.0

* Mon Aug 14 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.3.1-2
- Remove unneeded python_sitearch macro
- Remove unneeded python-abi requirement
- No longer ghost *.pyo files

* Fri May 26 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.3.1-1
- First version for Fedora Extras