]> git.pld-linux.org Git - packages/perl-Email-Store-Thread.git/blob - perl-Email-Store-Thread.spec
9d2b257271166ea89c0c887d7c8cab39b8f154c5
[packages/perl-Email-Store-Thread.git] / perl-Email-Store-Thread.spec
1 #
2 # Conditional build:
3 %bcond_with     tests           # perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define pdir    Email
7 %define pnam    Store-Thread
8 Summary:        Email::Store::Thread - store threading information for a mail
9 Summary(pl.UTF-8):      Email::Store::Thread - przechowywanie informacji o wątkowaniu dla poczty
10 Name:           perl-Email-Store-Thread
11 Version:        1.2
12 Release:        1
13 License:        unknown
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  e7ecb1510e20c061471227e00682e26d
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 %if %{with tests}
20 BuildRequires:  perl-Email-Folder
21 BuildRequires:  perl-Email-Store
22 BuildRequires:  perl(Mail::Thread) >= 2.5
23 %endif
24 BuildArch:      noarch
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 This adds to a mail the concept of a thread container. A thread
29 container is a node in a tree which represents the thread of an email
30 conversation. It plugs into the indexing process and works out where
31 in the tree the mail belongs; you can then ask a mail for its
32 container, a container for its message, and for its parent, child and
33 sibling containers, which are used to navigate the thread tree.
34 There's also a root container which represents the top message in the
35 tree.
36
37 This is distributed separately from the main Email::Store distribution
38 as as it tends to slow down indexing somewhat.
39
40 %description -l pl.UTF-8
41 Ten moduł dodaje do poczty ideę kontenera wątków. Kontener wątków to
42 węzeł w drzewie reprezentujący wątek korespondencji pocztowej. Włącza
43 się do procesu indeksowania i działa tam, gdzie w drzewie należy dany
44 list; można odpytać list o jego kontener, kontener jego wiadomości
45 oraz o kontenery rodzica, potomka i rodzeństwa, używane do nawigacji w
46 drzewie wątków. Jest także kontener "root" reprezentujący górną
47 wiadomość w drzewie.
48
49 Moduł jest rozprowadzany jako wydzielony z dystrybucji Email::Store,
50 jako że wydaje się zwalniać trochę indeksowanie.
51
52 %prep
53 %setup -q -n %{pdir}-%{pnam}-%{version}
54
55 %build
56 %{__perl} Makefile.PL \
57         INSTALLDIRS=vendor
58 %{__make}
59
60 %{?with_tests:%{__make} test}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %files
72 %defattr(644,root,root,755)
73 %doc Changes
74 %{perl_vendorlib}/Email/Store/*.pm
75 %{_mandir}/man3/*
This page took 0.064337 seconds and 2 git commands to generate.