Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:GRNET:synnefo
pysendfile
pysendfile.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pysendfile.spec of Package pysendfile
%define name pysendfile %define version 2.0.0 %define release 1 Name: %{name} Version: %{version} Release: %{release} Summary: Python interface to the sendfile(2) system call Group: Development/Libraries License: MIT URL: http://code.google.com/p/pysendfile/ Source0: http://pysendfile.googlecode.com/files/%{name}-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-setuptools Requires: python-setuptools %description sendfile(2) is a system call which provides a "zero-copy" way of copying data from one file descriptor to another (a socket). The phrase "zero-copy" refers to the fact that all of the copying of data between the two descriptors is done entirely by the kernel, with no copying of data into user-space buffers. This is particularly useful when sending a file over a socket (e.g. FTP). %prep %setup -q -n %{name}-%{version} %build CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build %install rm -rf $RPM_BUILD_ROOT %{__python} setup.py install --single-version-externally-managed -O1 --root $RPM_BUILD_ROOT --record=INSTALLED_FILES %files -f INSTALLED_FILES %defattr(-,root,root) %doc README LICENSE
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor