3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Email::Thread - use JWZ's mail threading algorithm with Email::Simple objects
9 Summary(pl.UTF-8): Email::Thread - użycie algorytmu wątkowania poczty JWZ na obiektach Email::Simple
10 Name: perl-Email-Thread
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: 083be9474a8095176dfe1240e9948e89
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-Mail-Thread
22 BuildRequires: perl-Test-Pod >= 1.00
23 BuildRequires: perl-Test-Simple >= 0.47
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Strictly speaking, this doesn't really need Email::Simple objects. It
30 just needs an object that responds to the same API. At the time of
31 writing the list of classes with the Email::Simple API comprises just
34 %description -l pl.UTF-8
35 Mówiąc dokładnie, ten moduł nawet nie wymaga obiektów Email::Simple.
36 Wymaga tylko obiektu odpowiadającego na to samo API. Podczas pisania
37 listy klas przy użyciu Email::Simple, API obejmuje po prostu
41 %setup -q -n %{pdir}-%{pnam}-%{version}
44 %{__perl} Makefile.PL \
48 %{?with_tests:%{__make} test}
51 rm -rf $RPM_BUILD_ROOT
54 DESTDIR=$RPM_BUILD_ROOT
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
62 %{perl_vendorlib}/%{pdir}/*.pm