]> git.pld-linux.org Git - packages/perl-Email-FolderType.git/blobdiff - perl-Email-FolderType.spec
- formatting
[packages/perl-Email-FolderType.git] / perl-Email-FolderType.spec
index 09d5f970485eabcff6a925d8f9285647d97bd140..0456d6bc54367995f30a47d2e1b680b429d8a8ab 100644 (file)
@@ -1,24 +1,24 @@
 #
 # 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    Email
-%define        pnam    FolderType
+%define                pdir    Email
+%define                pnam    FolderType
 Summary:       Email::FolderType - return type of a mail folder
-#Summary(pl):  
+Summary(pl):   Email::FolderType - sprawdzenie rodzaju folderu pocztowego
 Name:          perl-Email-FolderType
-Version:       0.5
+Version:       0.7
 Release:       1
 # same as perl
-License:       GPL/Artistic
+License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: dfc1a4412376131fe6899ad42b49525f
-BuildRequires: perl-devel >= 5.6
+# Source0-md5: 92fdcdd0f59aee9b53fadddf2b9833c4
+BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
-%if %{!?_without_tests:1}0
-BuildRequires: perl-Test-Simple
+%if %{with tests}
+BuildRequires: perl-Test-Simple >= 0.47
 %endif
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -26,8 +26,9 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 Provides a utility module for detecting the type of a given mail box.
 
-# %description -l pl
-# TODO
+%description -l pl
+Jest to modu³ narzêdziowy do wykrywania rodzaju podanej skrzynki
+pocztowej.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -37,7 +38,7 @@ Provides a utility module for detecting the type of a given mail box.
        INSTALLDIRS=vendor
 %{__make}
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -52,4 +53,5 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc Changes
 %{perl_vendorlib}/%{pdir}/*.pm
+%{perl_vendorlib}/%{pdir}/%{pnam}
 %{_mandir}/man3/*
This page took 0.067206 seconds and 4 git commands to generate.