3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
7 %define pnam Component-Client-Rcon
8 Summary: POE::Component::Client::Rcon - implementation of the Rcon remote console protocol
9 Summary(pl.UTF-8): POE::Component::Client::Rcon - implementacja protokołu zdalnej konsoli Rcon
10 Name: perl-POE-Component-Client-Rcon
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: ebff9d4943f80cbd147e37d4dbf7a35a
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-POE >= 0.15
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 POE::Component::Client::Rcon is an implementation of the Rcon protocol
28 - the protocol commonly used to remotely administer Half-Life, Quake,
29 and RTCW (Return to Castle Wolfenstein) servers. It is capable of
30 handling multiple Rcon requests simultaneously, even multiple requests
31 to the same IP/Port simultaneously.
33 %description -l pl.UTF-8
34 POE::Component::Client::RCon to implementacja protokołu Rcon -
35 powszechnie używanego do zdalnego administrowania serwerami Half-Life,
36 Quake'a czy RTCW (Return to Castle Wolfenstein). Umożliwia jednoczesną
37 obsługę wielu żądań RCon, a nawet jednoczesne żądania do tego samego
41 %setup -q -n %{pdir}-%{pnam}-%{version}
44 %{__perl} Makefile.PL \
48 %{?with_tests:%{__make} test}
51 rm -rf $RPM_BUILD_ROOT
54 DESTDIR=$RPM_BUILD_ROOT
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
62 %{perl_vendorlib}/POE/Component/Client/*.pm