]>
Commit | Line | Data |
---|---|---|
1ed199db | 1 | # |
2 | # Conditional build: | |
3 | %bcond_without tests # do not perform "make test" | |
aa2633e2 | 4 | |
1ed199db | 5 | %define pdir Email |
6 | %define pnam Outlook-Message | |
7 | Summary: Email::Outlook::Message - MS Outlook .msg format converter | |
8 | Summary(pl.UTF-8): Email::Outlook::Message - konwerter formatu .msg Microsoft Outlooka | |
9 | Name: perl-Email-Outlook-Message | |
a433e88d | 10 | Version: 0.921 |
1ed199db | 11 | Release: 1 |
12 | # same as perl | |
13 | License: GPL v1+ or Artistic | |
14 | Group: Development/Languages/Perl | |
15 | Source0: http://search.cpan.org/CPAN/authors/id/M/MV/MVZ/%{pdir}-%{pnam}-%{version}.tar.gz | |
a433e88d | 16 | # Source0-md5: e39aa3abc928bce28c8973516a5a3d1c |
aa2633e2 | 17 | URL: http://search.cpan.org/dist/Email-Outlook-Message/ |
1ed199db | 18 | BuildRequires: perl-devel >= 1:5.8.0 |
19 | BuildRequires: rpm-perlprov >= 4.1-13 | |
20 | %if %{with tests} | |
21 | BuildRequires: perl(IO::All) | |
dcb41ec2 | 22 | BuildRequires: perl-Email-MIME >= 1.923 |
1ed199db | 23 | BuildRequires: perl-Email-MIME-ContentType >= 1.014 |
dcb41ec2 | 24 | BuildRequires: perl-Email-Simple >= 2.102 |
1ed199db | 25 | BuildRequires: perl-OLE-Storage_Lite >= 0.14 |
26 | %endif | |
27 | BuildArch: noarch | |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
29 | ||
30 | %description | |
31 | Parses .msg message files as produced by Microsoft Outlook. | |
32 | ||
33 | %description -l pl.UTF-8 | |
34 | Email::Outlook::Message - konwerter formatu .msg Microsoft Outlooka. | |
35 | ||
36 | %prep | |
37 | %setup -q -n %{pdir}-%{pnam}-%{version} | |
38 | ||
39 | %build | |
40 | %{__perl} Build.PL \ | |
41 | destdir=$RPM_BUILD_ROOT \ | |
42 | installdirs=vendor | |
43 | ./Build | |
44 | ||
45 | %{?with_tests:./Build test} | |
46 | ||
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | ./Build install | |
51 | ||
52 | %clean | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %files | |
56 | %defattr(644,root,root,755) | |
a433e88d | 57 | %doc CHANGELOG README TODO |
dcb41ec2 AM |
58 | %attr(755,root,root) %{_bindir}/msgconvert |
59 | %{_mandir}/man1/msgconvert.1* | |
60 | %{perl_vendorlib}/Email/Outlook | |
1ed199db | 61 | %{_mandir}/man3/* |