]> git.pld-linux.org Git - packages/perl-Test-Simple.git/blobdiff - perl-Test-Simple.spec
- mass commit: cosmetics (removed trailing white spaces)
[packages/perl-Test-Simple.git] / perl-Test-Simple.spec
index a47af1d6c63a09fb3171ed6f99a8158ced5037b2..414794ca5e3e17d0998194ab9317b883161881ec 100644 (file)
@@ -1,17 +1,36 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
-%define        pdir    Test
-%define        pnam    Simple
-Summary:       Test::Simple perl module
-Summary(pl):   Modu³ perla Test::Simple
+%define                pdir    Test
+%define                pnam    Simple
+Summary:       Test::Simple Perl module
+Summary(cs):   Modul Test::Simple pro Perl
+Summary(da):   Perlmodul Test::Simple
+Summary(de):   Test::Simple Perl Modul
+Summary(es):   Módulo de Perl Test::Simple
+Summary(fr):   Module Perl Test::Simple
+Summary(it):   Modulo di Perl Test::Simple
+Summary(ja):   Test::Simple Perl ¥â¥¸¥å¡¼¥ë
+Summary(ko):   Test::Simple ÆÞ ¸ðÁÙ
+Summary(no):   Perlmodul Test::Simple
+Summary(pl):   Modu³ Perla Test::Simple
+Summary(pt):   Módulo de Perl Test::Simple
+Summary(pt_BR):        Módulo Perl Test::Simple
+Summary(ru):   íÏÄÕÌØ ÄÌÑ Perl Test::Simple
+Summary(sv):   Test::Simple Perlmodul
+Summary(uk):   íÏÄÕÌØ ÄÌÑ Perl Test::Simple
+Summary(zh_CN):        Test::Simple Perl Ä£¿é
 Name:          perl-%{pdir}-%{pnam}
-Version:       0.45
+Version:       0.47
 Release:       2
 License:       GPL
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-BuildRequires: perl >= 5.6.1
-BuildRequires: perl(Test::Harness) >= 2.03
-BuildRequires: rpm-perlprov >= 3.0.3-16
+# Source0-md5: 4a6c12685bfeadfe8ff6fca70825f90c
+BuildRequires: perl-devel >= 5.6.1
+BuildRequires: rpm-perlprov >= 4.1-13
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -37,9 +56,12 @@ test
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
 %build
-perl Makefile.PL
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
 %{__make}
 
+%{!?_without_tests:%{__make} test}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
@@ -51,5 +73,5 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc Changes README TODO
-%{perl_sitelib}/Test
+%{perl_vendorlib}/Test/*.pm
 %{_mandir}/man3/*
This page took 0.063832 seconds and 4 git commands to generate.