]> git.pld-linux.org Git - SPECS.git/blob - perl-Email-Thread.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / perl-Email-Thread.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    Email
6 %define         pnam    Thread
7 Summary:        Email::Thread - use JWZ's mail threading algorithm with Email::Simple objects
8 Summary(pl.UTF-8):      Email::Thread - użycie algorytmu wątkowania poczty JWZ na obiektach Email::Simple
9 Name:           perl-Email-Thread
10 Version:        0.711
11 Release:        1
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  083be9474a8095176dfe1240e9948e89
17 URL:            http://search.cpan.org/dist/Email-Thread/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 %if %{with tests}
21 BuildRequires:  perl-Mail-Thread
22 BuildRequires:  perl-Test-Pod >= 1.00
23 BuildRequires:  perl-Test-Simple >= 0.47
24 %endif
25 BuildArch:      noarch
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
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
32 Email::Simple.
33
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
38 Email::Simple.
39
40 %prep
41 %setup -q -n %{pdir}-%{pnam}-%{version}
42
43 %build
44 %{__perl} Makefile.PL \
45         INSTALLDIRS=vendor
46 %{__make}
47
48 %{?with_tests:%{__make} test}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc Change* README
62 %{perl_vendorlib}/%{pdir}/*.pm
63 %{_mandir}/man3/*
This page took 0.614188 seconds and 3 git commands to generate.