3 %bcond_without python2 # CPython 2.x module
4 %bcond_without python3 # CPython 3.x module
6 Summary: Fast, simple IRC module suitable for clients, bots and games
7 Summary(pl.UTF-8): Szybki, prosty moduł IRC odpowiedni dla klientów, botów i gier
12 Group: Libraries/Python
13 #Source0Download: https://pypi.org/simple/oyoyo/
14 Source0: https://files.pythonhosted.org/packages/source/o/oyoyo/oyoyo-%{version}dev.tar.gz
15 # Source0-md5: ab5d74a96de284239cc0624dd5c1f8b5
16 URL: https://pypi.org/project/oyoyo/
18 BuildRequires: python-modules >= 1:2.5
19 BuildRequires: python-setuptools
22 BuildRequires: python3-2to3 >= 1:3.2
23 BuildRequires: python3-modules >= 1:3.2
24 BuildRequires: python3-setuptools
26 BuildRequires: rpm-pythonprov
27 BuildRequires: rpmbuild(macros) >= 1.714
28 Requires: python-modules >= 1:2.5
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 The oyoyo IRC library is a small, simple IRC lib for Python suitable
34 for bots, clients and anything else you can think of (even games).
36 %description -l pl.UTF-8
37 Biblioteka IRC oyoyo to mała, prosta biblioteka dla Pythona, nadająca
38 się na potrzeby botów, klientów i czegokolwiek innego (nawet gier).
40 %package -n python3-oyoyo
41 Summary: Fast, simple IRC module suitable for clients, bots and games
42 Summary(pl.UTF-8): Szybki, prosty moduł IRC odpowiedni dla klientów, botów i gier
43 Group: Libraries/Python
44 Requires: python3-modules >= 1:3.2
46 %description -n python3-oyoyo
47 The oyoyo IRC library is a small, simple IRC lib for Python suitable
48 for bots, clients and anything else you can think of (even games).
50 %description -n python3-oyoyo -l pl.UTF-8
51 Biblioteka IRC oyoyo to mała, prosta biblioteka dla Pythona, nadająca
52 się na potrzeby botów, klientów i czegokolwiek innego (nawet gier).
55 %setup -q -n oyoyo-%{version}dev
67 rm -rf $RPM_BUILD_ROOT
80 rm -rf $RPM_BUILD_ROOT
84 %defattr(644,root,root,755)
86 %{py_sitescriptdir}/oyoyo
87 %{py_sitescriptdir}/oyoyo-%{version}.dev0-py*.egg-info
91 %files -n python3-oyoyo
92 %defattr(644,root,root,755)
94 %{py3_sitescriptdir}/oyoyo
95 %{py3_sitescriptdir}/oyoyo-%{version}.dev0-py*.egg-info