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