Search
SailfishOS Open Build Service
>
Projects
>
home:rcolistete
>
python3-pycurl
> python3-pycurl.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File python3-pycurl.spec of Package python3-pycurl
# # spec file for package python3-pycurl for Mer, based on OpenSuse version # Name: python3-pycurl Version: 7.19.5.3 Release: 0 Summary: PycURL -- cURL library module License: LGPL-2.1+ and MIT Packager: Roberto Colistete Jr. <rcolistete.maemo@gmail.com> Group: Development/Languages/Python Url: http://pycurl.sourceforge.net/ Source: pycurl-%{version}.tar.gz # PATCH-FIX-UPSTREAM remove __DATE__ and __TIME__ Patch0: pycurl-7.19.5-no-runtime-curlvercheck.patch BuildRequires: libcurl-devel BuildRequires: openssl-devel BuildRequires: gcc BuildRequires: python3-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This module provides Python bindings for the cURL library. %define py3_ver 3.4 %define python3_sitelib %{_libdir}/python3.?/site-packages %prep %setup -q -n pycurl-%{version} %patch0 -p1 %build 2to3 -w --no-diffs -n . CFLAGS="%{optflags}" python3 setup.py build --with-ssl %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} --with-ssl rm -rf %{buildroot}%{_datadir}/doc # Remove wrongly installed junk %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING-LGPL COPYING-MIT README.rst %{python3_sitelib}/* %changelog * Mon Aug 15 2016 Roberto Colistete Jr. <rcolistete.maemo@gmail.com> - 7.19.5.3 - (Python 3) pycurl 7.19.5.3 (03/11/2015) for Mer (15/08/2016) : - * first release.