packages: python-Pyro/python-Pyro.spec (NEW) - 3.11-1. Initial spec.
matkor
matkor at pld-linux.org
Tue Dec 21 16:24:49 CET 2010
Author: matkor Date: Tue Dec 21 15:24:49 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- 3.11-1. Initial spec.
---- Files affected:
packages/python-Pyro:
python-Pyro.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/python-Pyro/python-Pyro.spec
diff -u /dev/null packages/python-Pyro/python-Pyro.spec:1.1
--- /dev/null Tue Dec 21 16:24:49 2010
+++ packages/python-Pyro/python-Pyro.spec Tue Dec 21 16:24:43 2010
@@ -0,0 +1,90 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+
+%define module Pyro
+Summary: PYthon Remote Objects module
+Summary(pl.UTF-8): PYthon Remote Objects
+Name: python-%{module}
+Version: 3.11
+Release: 1
+License: MIT
+Group: Development/Languages/Python
+Source0: http://www.xs4all.nl/~irmen/pyro3/download/%{module}-%{version}.tar.gz
+# Source0-md5: 599a9f2b254f299a751f60e820a5b5d0
+URL: http://www.xs4all.nl/~irmen/pyro3/
+BuildRequires: rpm-pythonprov
+# if py_postclean is used
+BuildRequires: rpmbuild(macros) >= 1.219
+Requires: python-modules
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Pyro is short for PYthon Remote Objects. It is an advanced and
+powerful Distributed Object Technology system written entirely in
+Python, that is designed to be very easy to use.
+
+%description -l pl.UTF-8
+Pyro jest skrótem od Pythonowe zdalne objetky. Jest zawasnowanym i
+poteżnym systemem zarządania zdalnymi objektami napisanym całkowice w
+Pythonie. Jest zaprojektowany aby być bardzo łatwym w użyciu.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+# fix #!%{_bindir}/env python -> #!%{_bindir}/python:
+# %{__sed} -i -e '1s,^#!.*python,#!%{__python},' %{name}.py
+
+%build
+CFLAGS="%{rpmcflags}" \
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+ --skip-build \
+ --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)
+
+%attr(755,root,root) %{_bindir}/pyro-es
+%attr(755,root,root) %{_bindir}/pyro-esd
+%attr(755,root,root) %{_bindir}/pyro-genguid
+%attr(755,root,root) %{_bindir}/pyro-ns
+%attr(755,root,root) %{_bindir}/pyro-nsc
+%attr(755,root,root) %{_bindir}/pyro-nsd
+%attr(755,root,root) %{_bindir}/pyro-wxnsc
+%attr(755,root,root) %{_bindir}/pyro-xnsc
+
+%dir %{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/%{module}/*.py[co]
+%dir %{py_sitescriptdir}/%{module}/ext
+%{py_sitescriptdir}/%{module}/ext/*.py[co]
+%dir %{py_sitescriptdir}/%{module}/EventService
+%{py_sitescriptdir}/%{module}/EventService/*.py[co]
+
+
+%if "%{py_ver}" > "2.4"
+%{py_sitescriptdir}/%{module}-*.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 2010/12/21 15:24:43 matkor
+- 3.11-1. Initial spec.
+
================================================================
More information about the pld-cvs-commit
mailing list