]> git.pld-linux.org Git - packages/perl-POE-Component-Client-Rcon.git/blame - perl-POE-Component-Client-Rcon.spec
use generic url
[packages/perl-POE-Component-Client-Rcon.git] / perl-POE-Component-Client-Rcon.spec
CommitLineData
050b7937 1#
2# Conditional build:
82e29a8b 3%bcond_without tests # do not perform "make test"
18a25ea5 4
25513103 5%define pdir POE
6%define pnam Component-Client-Rcon
18a25ea5 7%include /usr/lib/rpm/macros.perl
d410b958 8Summary: POE::Component::Client::Rcon - implementation of the Rcon remote console protocol
98272be9 9Summary(pl.UTF-8): POE::Component::Client::Rcon - implementacja protokołu zdalnej konsoli Rcon
050b7937 10Name: perl-POE-Component-Client-Rcon
372bbfd6 11Version: 0.23
f1bd9b08 12Release: 2
050b7937 13# same as perl
d410b958 14License: GPL v1+ or Artistic
050b7937 15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
372bbfd6 17# Source0-md5: ebff9d4943f80cbd147e37d4dbf7a35a
18a25ea5 18URL: http://search.cpan.org/dist/POE-Component-Client-Rcon/
202ed4c8 19BuildRequires: perl-devel >= 1:5.8.0
050b7937 20BuildRequires: rpm-perlprov >= 4.1-13
82e29a8b 21%if %{with tests}
050b7937 22BuildRequires: perl-POE >= 0.15
050b7937 23%endif
24BuildArch: noarch
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
d410b958
JB
28POE::Component::Client::Rcon is an implementation of the Rcon protocol
29- the protocol commonly used to remotely administer Half-Life, Quake,
30and RTCW (Return to Castle Wolfenstein) servers. It is capable of
31handling multiple Rcon requests simultaneously, even multiple requests
32to the same IP/Port simultaneously.
33
f03925b6
JR
34%description -l pl.UTF-8
35POE::Component::Client::RCon to implementacja protokołu Rcon -
36powszechnie używanego do zdalnego administrowania serwerami Half-Life,
37Quake'a czy RTCW (Return to Castle Wolfenstein). Umożliwia jednoczesną
38obsługę wielu żądań RCon, a nawet jednoczesne żądania do tego samego
d410b958 39IP/portu.
050b7937 40
41%prep
42%setup -q -n %{pdir}-%{pnam}-%{version}
43
44%build
45%{__perl} Makefile.PL \
46 INSTALLDIRS=vendor
47%{__make}
48
82e29a8b 49%{?with_tests:%{__make} test}
050b7937 50
51%install
52rm -rf $RPM_BUILD_ROOT
53
54%{__make} install \
55 DESTDIR=$RPM_BUILD_ROOT
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%files
61%defattr(644,root,root,755)
62%doc README
63%{perl_vendorlib}/POE/Component/Client/*.pm
64%{_mandir}/man3/*
This page took 0.113839 seconds and 4 git commands to generate.