3 %bcond_with tests # perform "make test"
5 %include /usr/lib/rpm/macros.perl
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
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
20 BuildRequires: perl-Email-Folder
21 BuildRequires: perl-Email-Store
22 BuildRequires: perl(Mail::Thread) >= 2.5
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
37 This is distributed separately from the main Email::Store distribution
38 as as it tends to slow down indexing somewhat.
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ą
49 Moduł jest rozprowadzany jako wydzielony z dystrybucji Email::Store,
50 jako że wydaje się zwalniać trochę indeksowanie.
53 %setup -q -n %{pdir}-%{pnam}-%{version}
56 %{__perl} Makefile.PL \
60 %{?with_tests:%{__make} test}
63 rm -rf $RPM_BUILD_ROOT
66 DESTDIR=$RPM_BUILD_ROOT
69 rm -rf $RPM_BUILD_ROOT
72 %defattr(644,root,root,755)
74 %{perl_vendorlib}/Email/Store/*.pm