Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > c65110ed286d17e18d0f2435d872fc03 > files > 1

python-sleekxmpp-1.1.11-2.fc18.src.rpm

Name:		python-sleekxmpp
Version:	1.1.11
Release:	2%{?dist}
Summary:	Flexible XMPP client/component/server library for Python

Group:		Development/Languages
License:	MIT
URL:		https://github.com/fritzy/SleekXMPP
Source0:	http://pypi.python.org/packages/source/s/sleekxmpp/sleekxmpp-%{version}.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:	noarch
BuildRequires:	python2-devel
BuildRequires:	python3-devel
# Required for some tests in %%check.
BuildRequires:  gnupg

Requires:	python-dns
Requires:   python-pyasn1
Requires:   python-pyasn1-modules

%description
SleekXMPP is a flexible XMPP library for python that allows
you to create clients, components or servers for the XMPP protocol.
Plug-ins can be create to cover every current or future XEP.


%package -n python3-sleekxmpp
Summary:	Flexible XMPP client/component/server library for Python
Requires:	python3-dns

%description -n python3-sleekxmpp
SleekXMPP is a flexible XMPP library for python that allows
you to create clients, components or servers for the XMPP protocol.
Plug-ins can be create to cover every current or future XEP.


%prep
%setup -q -n sleekxmpp-%{version}
rm -rf %{py3dir}
cp -a . %{py3dir}


%build
%{__python} setup.py build
pushd %{py3dir}
%{__python3} setup.py build
popd


%install
rm -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
pushd %{py3dir}
%{__python3} setup.py install -O1 --skip-build --root %{buildroot}
popd


%check
%{__python} testall.py
pushd %{py3dir}
%{__python3} testall.py
popd


%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc LICENSE README.rst
%{python_sitelib}/sleekxmpp/
%{python_sitelib}/sleekxmpp-*.egg-info


%files -n python3-sleekxmpp
%defattr(-,root,root,-)
%doc LICENSE README.rst
%{python3_sitelib}/sleekxmpp/
%{python3_sitelib}/sleekxmpp-*.egg-info


%changelog
* Sun Mar 10 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1.1.11-2
- add python-pyasn1 and python-pyasn1-modules to Requires

* Sat Feb 16 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1.1.11-1
- update to upstream release 1.1.11
- add python3-dns to BuildRequires for python3-sleekxmpp subpackage

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

* Sat Aug 04 2012 David Malcolm <dmalcolm@redhat.com> - 1.0-0.11.beta2
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3

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

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

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

* Sat Jan 8 2011 Le Coz Florent <louizatakk@fedoraproject.org> - 1.0-0.7.beta2
- We do not need the link

* Sat Jan 8 2011 Le Coz Florent <louizatakk@fedoraproject.org> - 1.0-0.6.beta2
- Fixe source0 again

* Mon Nov 15 2010 Le Coz Florent <louizatakk@fedoraproject.org> - 1.0-0.5.beta2
- Fixe source0

* Thu Nov 11 2010 Le Coz Florent <louizatakk@fedoraproject.org> - 1.0-0.4.beta2
- Fixed some issues reported in review (rhbz 651227)

* Wed Nov 10 2010 Le Coz Florent <louizatakk@fedoraproject.org> - 1.0-0.3.beta2
- Added the execution of tests
- Use a better way to build the python3 subpackage

* Tue Oct 26 2010 Le Coz Florent <louizatakk@fedoraproject.org> - 1.0-0.2.beta2
- Update sources to beta2

* Fri Oct 22 2010 Le Coz Florent <louizatakk@fedoraproject.org> - 1.0-0.1.beta1
- Create .spec file from scratch