package created using the webbuild interface [release 5.2.0-1mamba;Fri Oct 28 2016]
This commit is contained in:
parent
cb31a44853
commit
8366c2b997
@ -1,2 +1,4 @@
|
|||||||
# python-telegram-bot
|
# python-telegram-bot
|
||||||
|
|
||||||
|
A pure Python interface for the Telegram Bot API.
|
||||||
|
|
||||||
|
51
python-telegram-bot.spec
Normal file
51
python-telegram-bot.spec
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
Name: python-telegram-bot
|
||||||
|
Version: 5.2.0
|
||||||
|
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
|
||||||
|
Requires: python-certifi
|
||||||
|
Requires: python-urllib3
|
||||||
|
Requires: python-future
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%if 0%{?with_pyver}
|
||||||
|
%pyver_package
|
||||||
|
%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
|
||||||
|
* Fri Oct 28 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2.0-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user