2024-01-05 16:45:09 +01:00
|
|
|
Name: python-telegram-bot
|
2024-01-05 16:45:10 +01:00
|
|
|
Version: 13.0
|
2024-01-05 16:45:09 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A pure Python interface for the Telegram Bot API
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://pypi.python.org/pypi/python-telegram-bot
|
|
|
|
Source: http://pypi.debian.net/python-telegram-bot/python-telegram-bot-%{version}.tar.gz
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: libpython-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires: python >= %python_version
|
2024-01-05 16:45:10 +01:00
|
|
|
#Requires: python-future
|
2024-01-05 16:45:09 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%if 0%{?with_pyver}
|
2024-01-05 16:45:10 +01:00
|
|
|
%define pyver %{with_pyver}
|
|
|
|
%define pyappend py%{with_pyver}
|
|
|
|
%define __python %(rpm --eval %{__python%{with_pyver}})
|
|
|
|
%define python_sitearch %(rpm --eval %{python%{with_pyver}_sitearch})
|
|
|
|
%define python_sitelib %(rpm --eval %{python%{with_pyver}_sitelib})
|
|
|
|
%define python_inc %(rpm --eval %{python%{with_pyver}_inc})
|
|
|
|
%define python_version %(rpm --eval %{python%{with_pyver}_version})
|
|
|
|
%define python_provides %(rpm --eval %{python%{with_pyver}_provides})
|
|
|
|
%define python_requires %(rpm --eval %{python%{with_pyver}_requires})
|
|
|
|
%define py_requires %(rpm --eval %{py%{with_pyver}_requires})
|
|
|
|
|
|
|
|
%package py%{pyver}
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Summary: %{summary}.
|
|
|
|
Requires: python-certifi-%{?pyappend}
|
|
|
|
Requires: python-urllib3-%{?pyappend}
|
|
|
|
Requires: python-APScheduler-%{?pyappend}
|
|
|
|
Requires: python-tornado-%{?pyappend}
|
|
|
|
%py_requires
|
|
|
|
|
|
|
|
%description py%{pyver}
|
|
|
|
%{summary}.
|
2024-01-05 16:45:09 +01:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} setup.py install \
|
|
|
|
-O1 --skip-build \
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{python_inc} \
|
|
|
|
--install-lib=%{python_sitearch} \
|
|
|
|
--record=%{name}.filelist
|
|
|
|
|
|
|
|
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
|
|
|
|
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 16:45:10 +01:00
|
|
|
* Thu Nov 19 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 13.0-1mamba
|
|
|
|
- update to 13.0
|
|
|
|
|
2024-01-05 16:45:10 +01:00
|
|
|
* Sat Sep 12 2020 Automatic Build System <autodist@mambasoft.it> 12.8-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 16:45:10 +01:00
|
|
|
* Thu Nov 14 2019 Automatic Build System <autodist@mambasoft.it> 12.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:45:10 +01:00
|
|
|
* Tue Dec 25 2018 Automatic Build System <autodist@mambasoft.it> 11.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:45:10 +01:00
|
|
|
* Tue Dec 19 2017 Automatic Build System <autodist@mambasoft.it> 9.0.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 16:45:09 +01:00
|
|
|
* Fri Oct 27 2017 Automatic Build System <autodist@mambasoft.it> 8.1.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 16:45:09 +01:00
|
|
|
* Fri Oct 28 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2.0-1mamba
|
|
|
|
- package created using the webbuild interface
|