]> git.pld-linux.org Git - packages/perl-POE-Component-Client-Rcon.git/blob - perl-POE-Component-Client-Rcon.spec
26efa01e0f4ad512c5075225e269ab36877f6b31
[packages/perl-POE-Component-Client-Rcon.git] / perl-POE-Component-Client-Rcon.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    POE
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
11 Version:        0.23
12 Release:        2
13 # same as perl
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
20 %if %{with tests}
21 BuildRequires:  perl-POE >= 0.15
22 %endif
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
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.
32
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
38 IP/portu.
39
40 %prep
41 %setup -q -n %{pdir}-%{pnam}-%{version}
42
43 %build
44 %{__perl} Makefile.PL \
45         INSTALLDIRS=vendor
46 %{__make}
47
48 %{?with_tests:%{__make} test}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc README
62 %{perl_vendorlib}/POE/Component/Client/*.pm
63 %{_mandir}/man3/*
This page took 0.025532 seconds and 2 git commands to generate.