]> git.pld-linux.org Git - packages/perl-POE-Component-IRC.git/blame - perl-POE-Component-IRC.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-POE-Component-IRC.git] / perl-POE-Component-IRC.spec
CommitLineData
97678ef0 1#
2# Conditional build:
e210a199 3%bcond_without tests # do not perform "make test"
97678ef0 4#
c662c918 5%define pdir POE
6%define pnam Component-IRC
b82726a0 7Summary: POE::Component::IRC - a fully event-driven IRC client module
5b95f944 8Summary(pl.UTF-8): POE::Component::IRC - moduł w pełni sterowanego zdarzeniami klienta IRC
97678ef0 9Name: perl-POE-Component-IRC
3e62d341 10Version: 6.12
11Release: 1
97678ef0 12# same as perl
b82726a0 13License: GPL v1+ or Artistic
97678ef0 14Group: Development/Languages/Perl
fddcdb12 15Source0: http://www.cpan.org/modules/by-module/POE/%{pdir}-%{pnam}-%{version}.tar.gz
3e62d341 16# Source0-md5: db28b438ce523308ee12d0a21736502f
fddcdb12 17URL: http://search.cpan.org/dist/POE-Component-IRC/
820eb805 18BuildRequires: perl-devel >= 1:5.8.0
97678ef0 19BuildRequires: rpm-perlprov >= 4.1-13
e210a199 20%if %{with tests}
3e62d341 21BuildRequires: perl(POE::Component::Pluggable) >= 1.24
22BuildRequires: perl-POE >= 0.3202
90ddaea6 23BuildRequires: perl-POE-Component-Client-DNS >= 1:0.99
3e62d341 24BuildRequires: perl-POE-Filter-IRCD >= 1.7
25BuildRequires: perl-ExtUtils-MakeMaker >= 6.42
97678ef0 26%endif
27BuildArch: noarch
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
b82726a0
JB
31POE::Component::IRC is a POE component (who'd have guessed?) which
32acts as an easily controllable IRC client for your other POE
33components and sessions. You create an IRC component and tell it what
34events your session cares about and where to connect to, and it sends
35back interesting IRC events when they happen. You make the client do
36things by sending it events. That's all there is to it. Cool, no?
97678ef0 37
c92313d3
JR
38%description -l pl.UTF-8
39POE::Component::IRC to komponent POE (któżby zgadł?), który
40funkcjonuje jako łatwo sterowalny klient IRC dla innych komponentów i
41sesji POE. Tworzy się komponent IRC i mówi mu, którymi zdarzeniami
42zajmuje się sesja oraz gdzie ma się połączyć, a on wysyła z powrotem
43interesujące zdarzenia IRC, kiedy wystąpią. Poprzez wysyłanie zdarzeń
44powoduje się, że klient wykonuje różne rzeczy. To wszystko, co trzeba
45zrobić. Fajnie, nie?
97678ef0 46
47%prep
48%setup -q -n %{pdir}-%{pnam}-%{version}
97678ef0 49
50%build
44068c12 51%{__perl} Makefile.PL \
97678ef0 52 INSTALLDIRS=vendor
44068c12 53
97678ef0 54%{__make}
55
e210a199 56%{?with_tests:%{__make} test}
97678ef0 57
58%install
59rm -rf $RPM_BUILD_ROOT
60
61%{__make} install \
62 DESTDIR=$RPM_BUILD_ROOT
63
64install -d $RPM_BUILD_ROOT%{_examplesdir}
65cp -r examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%files
71%defattr(644,root,root,755)
44068c12
MP
72%doc Changes README docs/*
73%{perl_vendorlib}/POE/Component/IRC.pm
74%dir %{perl_vendorlib}/POE/Component/IRC
75%{perl_vendorlib}/POE/Component/IRC/*.pm
76%dir %{perl_vendorlib}/POE/Component/IRC/Plugin
77%{perl_vendorlib}/POE/Component/IRC/Plugin/*.pm
78%dir %{perl_vendorlib}/POE/Component/IRC/Qnet
79%{perl_vendorlib}/POE/Component/IRC/Qnet/*.pm
44068c12 80%{perl_vendorlib}/POE/Filter/IRC.pm
44068c12
MP
81%dir %{perl_vendorlib}/POE/Filter/IRC
82%{perl_vendorlib}/POE/Filter/IRC/Compat.pm
83
97678ef0 84%attr(755,root,root) %{_examplesdir}/%{name}-%{version}
85%{_mandir}/man3/*
This page took 0.059769 seconds and 4 git commands to generate.