]> git.pld-linux.org Git - packages/DJabberd.git/commitdiff
- pl, cleanup, generic URL
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 26 Dec 2007 18:04:03 +0000 (18:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    DJabberd.spec -> 1.2

DJabberd.spec

index 778bb3facf1fbccdd706eb50ba9fe63a24a474be..9f857ab0ae7f39965b1ceb672f889d8a6dc47da5 100644 (file)
@@ -4,28 +4,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)
@@ -34,42 +35,21 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %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}
@@ -88,7 +68,7 @@ rm -rf $RPM_BUILD_ROOT
        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
@@ -97,10 +77,10 @@ rm -rf $RPM_BUILD_ROOT
 %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/*
This page took 0.100089 seconds and 4 git commands to generate.