]> git.pld-linux.org Git - packages/perl-POE-Component-Server-Syslog.git/blobdiff - perl-POE-Component-Server-Syslog.spec
- rel. 2
[packages/perl-POE-Component-Server-Syslog.git] / perl-POE-Component-Server-Syslog.spec
index b080d48532d83833c7a36d1bc99a4066b321068d..dac01e9275868f576826ebb75d92f3428931fe4f 100644 (file)
@@ -1,25 +1,25 @@
 #
 # Conditional build:
-# _without_tests - do not perform "make test"
+%bcond_without tests   # do not perform "make test"
 #
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    POE
 %define        pnam    Component-Server-Syslog
 Summary:       POE::Component::Server::Syslog - syslog services for POE
-#Summary(pl):  
+Summary(pl):   POE::Component::Server::Syslog - us³ugi sysloga dla POE
 Name:          perl-POE-Component-Server-Syslog
-Version:       0.02
-Release:       1
+Version:       0.03
+Release:       2
 License:       BSD-like
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 9d13ce4eb4d3c1ce308478952b68e1e5
-BuildRequires: perl-devel >= 5.6
+# Source0-md5: fc38e76f5e3bd6b1f36b4fe3b6cee61b
+BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
-%if %{!?_without_tests:1}0
-BuildRequires: perl(Time::ParseDate)
+%if %{with tests}
 BuildRequires: perl-POE >= 0.24
 BuildRequires: perl-Test-Simple
+BuildRequires: perl-Time-modules
 %endif
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -29,25 +29,27 @@ This component provides very simple UDP Syslog services for POE (named
 pipe and other syslog interoperability features are expected in future
 versions).
 
-# %description -l pl
-# TODO
+%description -l pl
+Ten komponent udostêpnia bardzo proste us³ugi sysloga UDP dla POE
+(obs³ugi nazwanych potoków i innych mo¿liwo¶ci wspó³pracy z syslogiem
+mo¿na oczekiwaæ w kolejnych wersjach).
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
+rm t/0-signature.t     # caused errors with new MakeMaker
 
 %build
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
 %{__make}
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
-
 install -d $RPM_BUILD_ROOT%{_examplesdir}
 cp -r samples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
This page took 0.075478 seconds and 4 git commands to generate.