]> git.pld-linux.org Git - packages/perl-Mail-Thread.git/blob - perl-Mail-Thread.spec
4ed09364363e7c3d08270799aa24b0c8b3a78e4c
[packages/perl-Mail-Thread.git] / perl-Mail-Thread.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    Mail
7 %define         pnam    Thread
8 Summary:        Mail::Thread - Perl implementation of JWZ's mail threading algorithm
9 Summary(pl.UTF-8):      Mail::Thread - perlowa implementacja algorytmu wątkowania poczty JWZ
10 Name:           perl-Mail-Thread
11 Version:        2.55
12 Release:        1
13 Epoch:          1
14 # same as perl
15 License:        GPL v1+ or Artistic
16 Group:          Development/Languages/Perl
17 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
18 # Source0-md5:  3b30d3087e30462cb6391797ee885f0e
19 BuildRequires:  perl-devel >= 1:5.8.0
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 %if %{with tests}
22 BuildRequires:  perl(Mail::Internet)
23 BuildRequires:  perl-Email-Abstract
24 BuildRequires:  perl-Test-Simple
25 %endif
26 BuildArch:      noarch
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 This module implements something relatively close to Jamie Zawinski's
31 mail threading algorithm, as described by
32 http://www.jwz.org/doc/threading.html. Any deviations from the
33 algorithm are accidental.
34
35 %description -l pl.UTF-8
36 Ten moduł jest implementacją czegoś w miarę bliskiego do algorytmu
37 wątkowania poczty autorstwa Jamie Zawinskiego, opisanego w
38 http://www.jwz.org/doc/threading.html. Wszelkie odchylenia od
39 algorytmu są przypadkowe.
40
41 %prep
42 %setup -q -n %{pdir}-%{pnam}-%{version}
43
44 %build
45 %{__perl} Makefile.PL \
46         INSTALLDIRS=vendor
47 %{__make}
48
49 %{?with_tests:%{__make} test}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc Changes
63 %{perl_vendorlib}/Mail/*.pm
64 %{_mandir}/man3/*
This page took 0.049481 seconds and 2 git commands to generate.