]> git.pld-linux.org Git - SPECS.git/blob - perl-POE-Session-MessageBased.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / perl-POE-Session-MessageBased.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    POE
6 %define         pnam    Session-MessageBased
7 Summary:        POE::Session::MessageBased - a message-based (not @_ based) POE::Session
8 Summary(pl.UTF-8):      POE::Session::MessageBased - oparte na komunikatach (nie @_) POE::Session
9 Name:           perl-POE-Session-MessageBased
10 Version:        0.111
11 Release:        1
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  2f5ea8c09558656f5dac12112f0d8afc
17 URL:            http://search.cpan.org/dist/POE-Session-MessageBased/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 %if %{with tests}
21 BuildRequires:  perl-POE >= 1.007
22 %endif
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 POE::Session::MessageBased exists mainly to replace @_[KERNEL, etc.]
28 with message objects that encapsulate various aspects of each event.
29 It also exists as an example of a subclassed POE::Session, in case
30 someone wants to create new callback or Session semantics.
31
32 %description -l pl.UTF-8
33 POE::Session::MessageBased istnieje głównie po to, by zastąpić
34 @_[KERNEL itp.] obiektami komunikatów, które są opakowaniem różnych
35 aspektów każdego zdarzenia. Istnieje także jako przykład podklasy
36 POE::Session, na wypadek gdyby ktoś chciał stworzyć nową semantykę
37 callbacka lub sesji.
38
39 %prep
40 %setup -q -n %{pdir}-%{pnam}-%{version}
41
42 %build
43 %{__perl} Makefile.PL \
44         INSTALLDIRS=vendor
45 %{__make}
46
47 %{?with_tests:%{__make} test}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc CHANGES
61 %{perl_vendorlib}/%{pdir}/*/*.pm
62 %{_mandir}/man3/*
This page took 0.495894 seconds and 3 git commands to generate.