SPECS: python-processing.spec (NEW) - Version 0.52-1. Initial. Works on Ac.
matkor
matkor at pld-linux.org
Thu Dec 11 12:22:21 CET 2008
Author: matkor Date: Thu Dec 11 11:22:21 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- Version 0.52-1. Initial. Works on Ac.
---- Files affected:
SPECS:
python-processing.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/python-processing.spec
diff -u /dev/null SPECS/python-processing.spec:1.1
--- /dev/null Thu Dec 11 12:22:21 2008
+++ SPECS/python-processing.spec Thu Dec 11 12:22:15 2008
@@ -0,0 +1,86 @@
+# $Revision$, $Date$
+#TODO: Add docs, package examples
+%define module processing
+###### /home/users/matkor/rpm/SOURCES/rpm.groups: no such file
+Summary: Package for using processes which mimics the threading module
+Summary(pl.UTF-8): Pakiet używający procesów do naśladownia modułu threading
+Name: python-%{module}
+Version: 0.52
+Release: 1
+License: BSD
+Group: Development/Languages/Python
+Source0: http://download.berlios.de/pyprocessing/%{module}-%{version}.zip
+# Source0-md5: 62772fa3002d003b2395ed669072d51d
+URL: http://pyprocessing.berlios.de/
+BuildRequires: python-devel
+%if "%{py_ver}" < "2.5"
+BuildRequires: python-ctypes
+%endif
+
+BuildRequires: rpm-pythonprov
+# if py_postclean is used
+BuildRequires: rpmbuild(macros) >= 1.219
+#%pyrequires_eq python-libs
+%pyrequires_eq python-modules
+%if "%{py_ver}" < "2.5"
+Requires: python-ctypes
+%endif
+
+#BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Package for the Python language which supports the spawning of
+processes using the API of the standard library's threading module. It
+runs on both Unix and Windows.
+
+%description -l pl.UTF-8
+Pakiet Pythona który pozwala na tworzenie procesów używająć API z
+modułu threading. Działa na Unixach i Windowsach.
+
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+export CFLAGS="%{rpmcflags}"
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+ --optimize=2 \
+ --root=$RPM_BUILD_ROOT
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+#%%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
+#%%{py_sitedir}/*.py[co]
+%dir %{py_sitedir}/%{module}
+%{py_sitedir}/%{module}/*.py[co]
+#%%attr(755,root,root) %{py_sitedir}/*.so
+%attr(755,root,root) %{py_sitedir}/%{module}/_processing.so
+%{py_sitedir}/%{module}/dummy
+
+
+%if "%{py_ver}" > "2.4"
+%{py_sitedir}/TEMPLATE-*.egg-info
+%endif
+
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2008/12/11 11:22:15 matkor
+- Version 0.52-1. Initial. Works on Ac.
+
================================================================
More information about the pld-cvs-commit
mailing list