Author: jpc Date: Tue Nov 15 18:33:43 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - new spec based on python-serial - works but the spec needs some love
---- Files affected: SPECS: python-parallel.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/python-parallel.spec diff -u /dev/null SPECS/python-parallel.spec:1.1 --- /dev/null Tue Nov 15 19:33:43 2005 +++ SPECS/python-parallel.spec Tue Nov 15 19:33:38 2005 @@ -0,0 +1,62 @@ +# $Revision$, $Date$ + +%define module parallel + +Summary: Parallel port interface module +Summary(pl): Moduł interfejsu do portu równoległego +Name: python-parallel +Version: 0.2 +Release: 1 +License: Python +Group: Development/Languages/Python +Source0: http://dl.sourceforge.net/pyserial/pyparallel-%{version}.zip +# Source0-md5: 46b65592f0b2fa7094ca87bf053e93a7 +Patch0: %{name}-distutils.patch +URL: http://pyserial.sf.net/ +%pyrequires_eq python-modules +BuildRequires: python-devel +BuildRequires: unzip +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This module encapsulates the access for the parallel port. +It provides backends for Python running on Windows and Linux. + +#%description -l pl + +%prep +%setup -q -n pyparallel-%{version} +%patch0 -p1 + +%build +python ./setup.py build + +%install +rm -rf $RPM_BUILD_ROOT + +python ./setup.py install \ + --optimize 2 \ + --root=$RPM_BUILD_ROOT + +%py_postclean +find $RPM_BUILD_ROOT%{py_sitescriptdir} -name "*parallelwin32*" -exec rm {} \; + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc CHANGES.txt README.txt +%{py_sitescriptdir}/%{module} + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2005/11/15 18:33:38 jpc +- new spec based on python-serial +- works but the spec needs some love + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
