rpms/python-SocksiPy/F-13 import.log, NONE, 1.1 python-SocksiPy-setup.py, NONE, 1.1 python-SocksiPy.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

lystor lystor at fedoraproject.org
Tue Mar 9 22:12:55 UTC 2010


Author: lystor

Update of /cvs/pkgs/rpms/python-SocksiPy/F-13
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26876/F-13

Modified Files:
	.cvsignore sources 
Added Files:
	import.log python-SocksiPy-setup.py python-SocksiPy.spec 
Log Message:
Initial import (#566409).



--- NEW FILE import.log ---
python-SocksiPy-1_00-3_fc12:F-13:python-SocksiPy-1.00-3.fc12.src.rpm:1268172901


--- NEW FILE python-SocksiPy-setup.py ---
#!/usr/bin/python
from distutils.core import setup

VERSION = "1.00"

setup(
    name = "SocksiPy",
    version = VERSION,
    description = "A Python SOCKS module",
    long_description = """\
This Python module allows you to create TCP connections through a SOCKS
proxy without any special effort.""",
    url = "http://socksipy.sourceforge.net/",
    author = "Dan-Haim",
    author_email="negativeiq at users.sourceforge.net",
    license = "BSD",
    packages = [""],
    platforms = ["Linux"],
)


--- NEW FILE python-SocksiPy.spec ---
%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%endif

Name:           python-SocksiPy
Version:        1.00
Release:        3%{?dist}
Summary:        A Python SOCKS module

Group:          Development/Languages
License:        BSD
URL:            http://socksipy.sourceforge.net/
Source0:        http://downloads.sourceforge.net/socksipy/SocksiPy%20%{version}/SocksiPy.tar.gz
# https://sourceforge.net/tracker/?func=detail&aid=2954091&group_id=180628&atid=893947
Source1:        python-SocksiPy-setup.py
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch

BuildRequires:  python2-devel


%description
This Python module allows you to create TCP connections through a SOCKS
proxy without any special effort.


%prep
%setup -q -c
%{__cp} %{SOURCE1} setup.py

# Fix file end-of-line encoding
for f in README BUGS LICENSE; do
    %{__sed} 's/\r//' $f > $f.new
    touch -r $f $f.new
    %{__mv} -f $f.new $f
done

%build
%{__python} setup.py build


%install
%{__rm} -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}

 
%clean
%{__rm} -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc BUGS LICENSE README
%{python_sitelib}/socks*
%{python_sitelib}/SocksiPy*.egg-info


%changelog
* Fri Mar 05 2010 Nikolay Ulyanitsky <lystor AT lystor.org.ua> - 1.00-3
- Fixed the Source0 URL

* Fri Mar 05 2010 Nikolay Ulyanitsky <lystor AT lystor.org.ua> - 1.00-2
- Remove the unused python_sitearch macro
- Preserve timestamps on documentation files

* Sun Feb 14 2010 Nikolay Ulyanitsky <lystor AT lystor.org.ua> - 1.00-1
- Initial package build


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-SocksiPy/F-13/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	9 Mar 2010 06:24:29 -0000	1.1
+++ .cvsignore	9 Mar 2010 22:12:54 -0000	1.2
@@ -0,0 +1 @@
+SocksiPy.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-SocksiPy/F-13/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	9 Mar 2010 06:24:29 -0000	1.1
+++ sources	9 Mar 2010 22:12:55 -0000	1.2
@@ -0,0 +1 @@
+3be8be26230bc9eca94eb3335740ed5e  SocksiPy.tar.gz



More information about the scm-commits mailing list