SPECS: DJabberd.spec - pl, cleanup, generic URL

qboosh qboosh at pld-linux.org
Wed Dec 26 19:04:08 CET 2007


Author: qboosh                       Date: Wed Dec 26 18:04:08 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl, cleanup, generic URL

---- Files affected:
SPECS:
   DJabberd.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/DJabberd.spec
diff -u SPECS/DJabberd.spec:1.1 SPECS/DJabberd.spec:1.2
--- SPECS/DJabberd.spec:1.1	Sun Oct  7 23:08:34 2007
+++ SPECS/DJabberd.spec	Wed Dec 26 19:04:03 2007
@@ -5,28 +5,29 @@
 #
 %include	/usr/lib/rpm/macros.perl
 %define	pdir	DJabberd
-Summary:	DJabberd - scalable, extensible Jabber/XMPP server.
-#Summary(pl):	
+Summary:	DJabberd - scalable, extensible Jabber/XMPP server
+Summary(pl.UTF-8):	DJabberd - skalowalny, rozszerzalny serwer Jabbera/XMPP
 Name:		DJabberd
 Version:	0.83
 Release:	0.4
 # same as perl 
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
-Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{version}.tar.gz
+Source0:	http://www.cpan.org/modules/by-module/DJabberd/%{pdir}-%{version}.tar.gz
 Source1:	djabberd.conf
 Source2:	djabberd-log.conf
 # Source0-md5:	ce449b6ef429eb65ec03be4c8d19b1aa
+URL:		http://search.cpan.org/dist/DJabberd/
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
 %if %{with tests}
-BuildRequires:	perl(Danga::Socket) >= 1.51
+BuildRequires:	perl-Danga-Socke) >= 1.51
 BuildRequires:	perl(Digest::HMAC_SHA1)
-BuildRequires:	perl(Log::Log4perl)
-BuildRequires:	perl(Net::DNS) >= 0.48
-BuildRequires:	perl(Net::SSLeay)
-BuildRequires:	perl(XML::LibXML::SAX)
-BuildRequires:	perl(XML::SAX)
+BuildRequires:	perl-Log-Log4perl
+BuildRequires:	perl-Net-DNS >= 0.48
+BuildRequires:	perl-Net-SSLeay
+BuildRequires:	perl-XML-LibXML-SAX
+BuildRequires:	perl-XML-SAX
 %endif
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -35,42 +36,21 @@
 %define		_noautoreq	'perl(DJabberd::Bot::Eliza)'
 
 %description
-DJabberd was the answer to LiveJournal's Jabber (XMPP)
-server needs.  We needed:
-
-Basically we wanted the swiss army knife of Jabber servers (think
-qpsmtpd or mod_perl), but none existed in any language.  While some
-popular Jabber servers let us do pluggable auth, none let us get our
-hands into roster storage, vcards, avatars, presence, etc.
-
-So we made DJabberd.  It's a Jabber server where almost everything
-defers to hooks to be implemented by plugins.  It does the core spec
-itself (including SSL, StartTLS, server-to-server, etc), but it
-doesn't come with any way to do authentication or storage or rosters,
-etc.  You'll need to go pick up a plugin to do those.
-
-You should be able to plop DJabberd into your existing systems /
-userbase with minimal pain.  Just find a plugin that's close (if a
-perfect match doesn't already exist!) and tweak.
-
-DJabberd is event-based so we can have really low per-connection
-memory requirements, smaller than is possible with a threaded jabber
-server.  Because of this, all plugins can operate asynchronously,
-taking as long as they want to finish their work, or to decline to the
-next handler.  (in the meantime, while plugins wait on a response from
-whatever they're talking to, the DJabberd event loop continues at full
-speed) However, that's more work, so some plugins may choose to
-operate synchronously, but they do so with the understanding that
-those plugins will cause the whole server to get bogged down.  If
-you're running a Jabber server for 5 users, you may not care that the
-SQLite authentication backend pauses your server for milliseconds at a
-time, but on a site with hundreds of thousands of connections, that
-wouldn't be acceptable.  Watch out for those plugins.
-
-
-
-# %description -l pl
-# TODO
+DJabberd was the answer to LiveJournal's Jabber (XMPP) server needs.
+It's a Jabber server where almost everything defers to hooks to be
+implemented by plugins. It does the core spec itself (including SSL,
+StartTLS, server-to-server, etc), but it doesn't come with any way to
+do authentication or storage or rosters, etc. You'll need to go pick
+up a plugin to do those.
+
+%description -l pl.UTF-8
+DJabberd to odpowiedź na potrzeby odnośnie serwera Jabbera (XMPP) dla
+serwisu LiveJournal. Jest to serwer Jabbera, w którym prawie wszystko
+jest przekazywane do uchwytów implementowanych przez wtyczki. Sam
+serwer wykonuje podstawowe zadania (wraz z SSL, StartTLS, komunikacją
+serwer-serwer), ale nie zawiera niczego do uwierzytelniania,
+przechowywania danych czy rosterów - do wszystkiego trzeba dodać
+wtyczkę.
 
 %prep
 %setup -q -n %{pdir}-%{version}
@@ -89,7 +69,7 @@
 	DESTDIR=$RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT%{_sysconfdir}/djabberd
-install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/djabberd/
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/djabberd
 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/djabberd/log.conf
 
 %clean
@@ -98,13 +78,13 @@
 %files
 %defattr(644,root,root,755)
 %doc CHANGES
-%{perl_vendorlib}/DJabberd.pm
-%{perl_vendorlib}/DJabberd/
-%{_mandir}/man3/*
 %attr(755,root,root) %{_bindir}/djabberd
+%{perl_vendorlib}/DJabberd.pm
+%{perl_vendorlib}/DJabberd
 %dir %{_sysconfdir}/djabberd
-%config %{_sysconfdir}/djabberd/djabberd.conf
-%config %{_sysconfdir}/djabberd/log.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/djabberd/djabberd.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/djabberd/log.conf
+%{_mandir}/man3/*
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -112,6 +92,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007-12-26 18:04:03  qboosh
+- pl, cleanup, generic URL
+
 Revision 1.1  2007-10-07 21:08:34  agaran
 - initial, builds here, with sample config (which works here)
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/DJabberd.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list