SPECS: python-TwistedConch.spec (NEW) - initial checkin

troll troll at pld-linux.org
Mon Sep 12 21:15:00 CEST 2005


Author: troll                        Date: Mon Sep 12 19:15:00 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial checkin

---- Files affected:
SPECS:
   python-TwistedConch.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-TwistedConch.spec
diff -u /dev/null SPECS/python-TwistedConch.spec:1.1
--- /dev/null	Mon Sep 12 21:15:00 2005
+++ SPECS/python-TwistedConch.spec	Mon Sep 12 21:14:53 2005
@@ -0,0 +1,98 @@
+# $Revision$, $Date$
+%define 	module	TwistedConch
+
+Summary:	Twisted SSHv2 implementation
+Summary(pl):	Implementacja SSHv2 dla Twisted
+Name:		python-%{module}
+Version:	0.5.0
+Release:	0.1
+License:	MIT
+Group:		Libraries/Python
+Source0:	http://tmrc.mit.edu/mirror/twisted/Conch/0.5/%{module}-%{version}.tar.bz2
+# Source0-md5:	42961532a130bb119ae3be6b14dde28b
+URL:		http://twistedmatrix.com/projects/conch/
+BuildRequires:	ZopeInterface
+BuildRequires:	python-devel >= 2.2
+Requires:	python-Twisted >= 2.0
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Conch is an SSHv2 implementation using the Twisted framework. It
+includes a server, client, a SFTP client, and a key generator.
+
+%description -l pl
+Conch jest implementacją SSHv2 wykorzystującą Twisted. Zawiera serwer,
+klienta, klienta SFTP i generator kluczy.
+
+%package doc
+Summary:	Documentation for Twisted
+Summary(pl):	Dokumentacja do Twisted
+Group:		Libraries/Python
+Requires:	%{name} = %{version}-%{release}
+
+%description doc
+Offline documentation for Twisted - event-driven networking framework
+written in Python.
+
+%description doc -l pl
+Dokumentacja offline do Twisted - narzędzia do budowania rozproszonych
+aplikacji sieciowych pisanych w Pythonie.
+
+%package examples
+Summary:	Example programs for Twisted
+Summary(pl):	Programy przykładowe do Twisted
+Group:		Libraries/Python
+Requires:	%{name} = %{version}-%{release}
+
+%description examples
+This package contains example programs for Twisted.
+
+%description examples -l pl
+Ten pakiet zawiera przykładowe programy dla Twisted.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{py_sitescriptdir},%{_mandir}/man1,%{_examplesdir}/%{name}-%{version}}
+
+python setup.py install \
+	--root=$RPM_BUILD_ROOT \
+	--optimize=2
+
+find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py -exec rm {} \;
+
+install doc/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
+cp -ar doc/examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE NEWS README
+%attr(755,root,root) %{_bindir}/*
+%{py_sitescriptdir}/twisted
+%{_mandir}/man1/*.1*
+
+%files doc
+%defattr(644,root,root,755)
+%doc doc/howto
+
+%files examples
+%defattr(644,root,root,755)
+%{_examplesdir}/%{name}-%{version}
+
+%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  2005/09/12 19:14:53  troll
+- initial checkin
+
================================================================



More information about the pld-cvs-commit mailing list