SPECS: python-Twisted.spec - up to 2.4.0
arekm
arekm at pld-linux.org
Sun May 28 23:11:57 CEST 2006
Author: arekm Date: Sun May 28 21:11:57 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 2.4.0
---- Files affected:
SPECS:
python-Twisted.spec (1.40 -> 1.41)
---- Diffs:
================================================================
Index: SPECS/python-Twisted.spec
diff -u SPECS/python-Twisted.spec:1.40 SPECS/python-Twisted.spec:1.41
--- SPECS/python-Twisted.spec:1.40 Mon Oct 10 21:19:24 2005
+++ SPECS/python-Twisted.spec Sun May 28 23:11:52 2006
@@ -4,12 +4,12 @@
Summary: Event-driven networking framework written in Python
Summary(pl): Narzędzia do zdarzeniowego i rozproszonego programowania w Pythonie
Name: python-%{module}
-Version: 2.1.0
+Version: 2.4.0
Release: 1
License: LGPL
Group: Libraries/Python
-Source0: http://tmrc.mit.edu/mirror/twisted/Twisted/2.1/Twisted-%{version}.tar.bz2
-# Source0-md5: 0aa4b877c4e34750e52c9f0b93959913
+Source0: http://tmrc.mit.edu/mirror/twisted/Twisted/2.4/Twisted-%{version}.tar.bz2
+# Source0-md5: 42eb0c8fd0f8707a39fff1dd6adab27d
Patch0: %{name}-basedir-import.patch
URL: http://www.twistedmatrix.com/
BuildRequires: ZopeInterface
@@ -33,20 +33,6 @@
TCP, UDP, SSL/TLS, multicast, gniazda uniksowe, sporą ilość protokołów
(w tym HTTP, NNTP, SSH, IRC, FTP i wiele innych), i dużo więcej.
-%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
@@ -73,9 +59,104 @@
%description ssl -l pl
Ten pakiet zawiera moduł SSL dla Twisted.
+%package web
+Summary: Web Application server for Twisted
+Summary(pl): Serwer WWW dla Twisted
+Group: Libraries/Python
+Requires: %{name} = %{version}-%{release}
+Obsoletes: python-TwistedWeb
+
+%description web
+Twisted Web is a web application server written in pure Python, with
+APIs at multiple levels of abstraction to facilitate different kinds
+of web programming.
+
+%description web -l pl
+Twisted Web to serwer aplikacji WWW napisany w czystym Pythonie z API
+o wielu poziomach abstrakcji, mających ułatwić różne rodzaje
+programowania WWW.
+
+%package conch
+Summary: SSHv2 implementation for Twisted
+Summary(pl): Implementacja SSHv2 dla Twisted
+Group: Libraries/Python
+Requires: %{name} = %{version}-%{release}
+Obsoletes: python-TwistedConch
+
+%description conch
+Conch is an SSHv2 implementation using the Twisted framework. It
+includes a server, client, a SFTP client, and a key generator.
+
+%description conch -l pl
+Conch jest implementacją SSHv2 wykorzystującą Twisted. Zawiera serwer,
+klienta, klienta SFTP i generator kluczy.
+
+%package lore
+Summary: Documentation format converter for Twisted
+Summary(pl): Konwerter dokumentacji dla Twisted
+Group: Libraries/Python
+Requires: %{name} = %{version}-%{release}
+
+%description lore
+Documentation format converter for Twisted.
+
+%description lore -l pl
+Konwerter dokumentacji dla Twisted.
+
+%package mail
+Summary: Mail library for Twisted
+Summary(pl): Biblioteka pocztowa dla Twisted
+Group: Libraries/Python
+Requires: %{name} = %{version}-%{release}
+Obsoletes: python-TwistedMail
+
+%description mail
+Mail library for Twisted.
+
+%description mail -l pl
+Biblioteka Mail dla Twisted.
+
+%package names
+Summary: DNS client and server for Twisted
+Summary(pl): Klient i serwer DNS dla Twisted
+Group: Libraries/Python
+Requires: %{name} = %{version}-%{release}
+Obsoletes: python-TwistedMail
+
+%description names
+DNS client and server for Twisted.
+
+%description names -l pl
+Klient i serwer DNS dla Twisted.
+
+%package news
+Summary: NNTP client and server for Twisted
+Summary(pl): Klient i serwer NNTP dla Twisted
+Group: Libraries/Python
+Requires: %{name} = %{version}-%{release}
+
+%description news
+NNTP client and server for Twisted.
+
+%description news -l pl
+Klient i serwer NNTP dla Twisted.
+
+%package words
+Summary: IM for Twisted
+Summary(pl): IM dla Twisted
+Group: Libraries/Python
+Requires: %{name} = %{version}-%{release}
+
+%description words
+IM for Twisted.
+
+%description words -l pl
+IM dla Twisted.
+
%prep
%setup -q -n %{module}-%{version}
-%patch0 -p1
+cd %{module}Core-%{version}/bin
+%patch0 -p2
%build
CFLAGS="%{rpmcflags}"
@@ -92,29 +173,108 @@
find $RPM_BUILD_ROOT%{py_sitedir} -name \*.py -exec rm {} \;
-install doc/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
-rm -f doc/man/*.1
-cp -ar doc/examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install */doc/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
+for dir in *; do
+ [ ! -d "$dir/doc/examples" ] && continue
+ cp -ar "$dir/doc/examples/" "$RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/$dir"
+done
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc CREDITS ChangeLog* README NEWS
-%attr(755,root,root) %{_bindir}/*
+%doc TwistedCore-*/{CREDITS,NEWS,README}
+%doc TwistedCore-*/doc/{index.html,benchmarks,fun,howto,img,specifications,upgrades,vision}
+%attr(755,root,root) %{_bindir}/manhole
+%attr(755,root,root) %{_bindir}/mktap
+%attr(755,root,root) %{_bindir}/tap2deb
+%attr(755,root,root) %{_bindir}/tap2rpm
+%attr(755,root,root) %{_bindir}/tapconvert
+%attr(755,root,root) %{_bindir}/tkmktap
+%attr(755,root,root) %{_bindir}/trial
+%attr(755,root,root) %{_bindir}/twistd
%{py_sitedir}/twisted
-%{_mandir}/man1/*.1*
-
+%dir %{py_sitescriptdir}/twisted
+%dir %{py_sitescriptdir}/twisted/plugins
%exclude %{py_sitedir}/twisted/internet/ssl.py[oc]
+%{_mandir}/man1/manhole.1*
+%{_mandir}/man1/mktap.1*
+%{_mandir}/man1/tap2deb.1*
+%{_mandir}/man1/tap2rpm.1*
+%{_mandir}/man1/tapconvert.1*
+%{_mandir}/man1/tkmktap.1*
+%{_mandir}/man1/trial.1*
+%{_mandir}/man1/twistd.1*
-%files ssl
+%files conch
%defattr(644,root,root,755)
-%{py_sitedir}/twisted/internet/ssl.py[oc]
+%doc TwistedConch-*/{NEWS,README}
+%doc TwistedConch-*/doc/howto
+%attr(755,root,root) %{_bindir}/cftp
+%attr(755,root,root) %{_bindir}/ckeygen
+%attr(755,root,root) %{_bindir}/conch
+%attr(755,root,root) %{_bindir}/tkconch
+%{py_sitescriptdir}/twisted/conch
+%{py_sitescriptdir}/twisted/plugins/twisted_conch.py[oc]
+%{_mandir}/man1/cftp.1*
+%{_mandir}/man1/ckeygen.1*
+%{_mandir}/man1/conch.1*
+%{_mandir}/man1/tkconch.1*
+
+%files web
+%defattr(644,root,root,755)
+%doc TwistedWeb-*/{NEWS,README}
+%doc TwistedWeb-*/doc/{howto,img}
+%attr(755,root,root) %{_bindir}/websetroot
+%{py_sitescriptdir}/twisted/web
+%{py_sitescriptdir}/twisted/plugins/twisted_web.py[oc]
+%{_mandir}/man1/websetroot.1*
-%files doc
+%files lore
%defattr(644,root,root,755)
-%doc doc/{benchmarks,howto,img,specifications,upgrades,vision,index.html,man}
+%doc TwistedLore-*/{NEWS,README}
+%doc TwistedLore-*/doc/{howto,img}
+%attr(755,root,root) %{_bindir}/bookify
+%attr(755,root,root) %{_bindir}/lore
+%{py_sitescriptdir}/twisted/lore
+%{py_sitescriptdir}/twisted/plugins/twisted_lore.py[oc]
+%{_mandir}/man1/lore.1*
+
+%files mail
+%defattr(644,root,root,755)
+%doc TwistedMail-*/{NEWS,README}
+%doc TwistedMail-*/doc/tutorial
+%attr(755,root,root) %{_bindir}/mailmail
+%{py_sitescriptdir}/twisted/mail
+%{py_sitescriptdir}/twisted/plugins/twisted_mail.py[oc]
+%{_mandir}/man1/mailmail.1*
+
+%files names
+%defattr(644,root,root,755)
+%doc TwistedNames-*/{NEWS,README}
+%doc TwistedNames-*/doc/howto
+%{py_sitescriptdir}/twisted/names
+%{py_sitescriptdir}/twisted/plugins/twisted_names.py[oc]
+
+%files news
+%defattr(644,root,root,755)
+%doc TwistedNews-*/{NEWS,README}
+%{py_sitescriptdir}/twisted/news
+%{py_sitescriptdir}/twisted/plugins/twisted_news.py[oc]
+
+%files words
+%defattr(644,root,root,755)
+%doc TwistedWords-*/{NEWS,README}
+%doc TwistedWords-*/doc/howto
+%attr(755,root,root) %{_bindir}/im
+%{py_sitescriptdir}/twisted/words
+%{py_sitescriptdir}/twisted/plugins/twisted_words.py[oc]
+%{_mandir}/man1/im.1*
+
+%files ssl
+%defattr(644,root,root,755)
+%{py_sitedir}/twisted/internet/ssl.py[oc]
%files examples
%defattr(644,root,root,755)
@@ -126,6 +286,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.41 2006/05/28 21:11:52 arekm
+- up to 2.4.0
+
Revision 1.40 2005/10/10 19:19:24 troll
- updated to 2.1.0
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/python-Twisted.spec?r1=1.40&r2=1.41&f=u
More information about the pld-cvs-commit
mailing list