SPECS: python-shm.spec - Version 1.2.2-1. Hope this is same module. Anyway ...
matkor
matkor at pld-linux.org
Sat May 24 15:32:01 CEST 2008
Author: matkor Date: Sat May 24 13:32:01 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- Version 1.2.2-1. Hope this is same module. Anyway old URL seems dead to me...
---- Files affected:
SPECS:
python-shm.spec (1.14 -> 1.15)
---- Diffs:
================================================================
Index: SPECS/python-shm.spec
diff -u SPECS/python-shm.spec:1.14 SPECS/python-shm.spec:1.15
--- SPECS/python-shm.spec:1.14 Tue Feb 13 09:06:43 2007
+++ SPECS/python-shm.spec Sat May 24 15:31:56 2008
@@ -5,14 +5,13 @@
Summary: Python's Shared Memory Module
Summary(pl.UTF-8): Moduł Pythona do obsługi pamięci dzielonej
Name: python-%{module}
-Version: 1.0
-Release: 4
+Version: 1.2.2
+Release: 1
License: GPL
Group: Libraries/Python
-# Source0: http://ftp.psychosis.com/python/%{module}-%{version}.tar.gz
-Source0: http://gigue.peabody.jhu.edu/~mdboom/omi/source/shm_source/shmmodule.c
-Source1: python-shm-setup.py
-URL: http://gigue.peabody.jhu.edu/~mdboom/omi/source/shm_source/shm.html
+Source0: http://nikitathespider.com/python/%{module}/%{module}-%{version}.tar.gz
+# Source0-md5: da6f51301262605c99c3813019831c50
+URL: http://nikitathespider.com/python/shm/
BuildRequires: python-devel >= 2.2.1
BuildRequires: python-modules
%pyrequires_eq python-modules
@@ -28,16 +27,20 @@
w większości systemów uniksowych.
%prep
-%setup -q -c -T
-install %{SOURCE0} .
-install %{SOURCE1} .
+%setup -q -n %{module}-%{version}
%build
-python python-shm-setup.py build
+%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
-python python-shm-setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
+
+%{__python} setup.py install \
+ --optimize=2 \
+ --install-data %{_datadir} \
+ --root=$RPM_BUILD_ROOT
+
+%py_postclean
%clean
rm -rf $RPM_BUILD_ROOT
@@ -45,6 +48,7 @@
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{py_sitedir}/shm.so
+%{py_sitedir}/shm_wrapper.*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -52,6 +56,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.15 2008-05-24 13:31:56 matkor
+- Version 1.2.2-1. Hope this is same module. Anyway old URL seems dead to me...
+
Revision 1.14 2007-02-13 08:06:43 glen
- tabs in preamble
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-shm.spec?r1=1.14&r2=1.15&f=u
More information about the pld-cvs-commit
mailing list