]> git.pld-linux.org Git - packages/perl-POE-Component-Server-Syslog.git/blob - perl-POE-Component-Server-Syslog.spec
- removed signature test
[packages/perl-POE-Component-Server-Syslog.git] / perl-POE-Component-Server-Syslog.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-Server-Syslog
8 Summary:        POE::Component::Server::Syslog - syslog services for POE
9 Summary(pl):    POE::Component::Server::Syslog - us³ugi sysloga dla POE
10 Name:           perl-POE-Component-Server-Syslog
11 Version:        0.03
12 Release:        1
13 License:        BSD-like
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  fc38e76f5e3bd6b1f36b4fe3b6cee61b
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 %if %{with tests}
20 BuildRequires:  perl-POE >= 0.24
21 BuildRequires:  perl-Test-Simple
22 BuildRequires:  perl-Time-modules
23 %endif
24 BuildArch:      noarch
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 This component provides very simple UDP Syslog services for POE (named
29 pipe and other syslog interoperability features are expected in future
30 versions).
31
32 %description -l pl
33 Ten komponent udostêpnia bardzo proste us³ugi sysloga UDP dla POE
34 (obs³ugi nazwanych potoków i innych mo¿liwo¶ci wspó³pracy z syslogiem
35 mo¿na oczekiwaæ w kolejnych wersjach).
36
37 %prep
38 %setup -q -n %{pdir}-%{pnam}-%{version}
39 rm t/0-signature.t      # caused errors with new MakeMaker
40
41 %build
42 %{__perl} Makefile.PL \
43         INSTALLDIRS=vendor
44 %{__make}
45
46 %{?with_tests:%{__make} test}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT%{_examplesdir}
54 cp -r samples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc LICENSE 
62 %{perl_vendorlib}/%{pdir}/*/*/*.pm
63 %attr(755,root,root) %{_examplesdir}/%{name}-%{version}
64 %{_mandir}/man3/*
This page took 0.079726 seconds and 4 git commands to generate.