]> git.pld-linux.org Git - packages/perl-MIME-Explode.git/blob - perl-MIME-Explode.spec
64f46822bd063364b181f49d8d71ca02bd38f7d5
[packages/perl-MIME-Explode.git] / perl-MIME-Explode.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    MIME
7 %define         pnam    Explode
8 Summary:        MIME::Explode - Perl extension for explode MIME messages
9 Summary(pl.UTF-8):      MIME::Explode - rozszerzenie Perla do rozbijania wiadomości MIME
10 Name:           perl-MIME-Explode
11 Version:        0.39
12 Release:        5
13 # same as perl
14 License:        GPL v1+ or Artistic
15 Group:          Development/Languages/Perl
16 Source0:        http://www.cpan.org/modules/by-module/MIME/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5:  87be0487497ee30b4566ceac2dbaf733
18 URL:            http://search.cpan.org/dist/MIME-Explode/
19 BuildRequires:  perl-devel >= 1:5.8.0
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 MIME::Explode is Perl module for parsing and decoding single or
25 multipart MIME messages, and outputting its decoded components to a
26 given directory. This module is designed to allows users to extract
27 the attached files out of a MIME encoded email messages or mailboxes.
28
29 %description -l pl.UTF-8
30 MIME::Explode to moduł Perla do analizy i dekodowania jedno- i
31 wieloczęściowych wiadomości MIME oraz zapisu zdekodowanych składników
32 do podanego katalogu. Ten moduł został opracowany aby umożliwić
33 użytkownikom wydobywanie załączników z zakodowanych MIME wiadomości
34 lub skrzynek pocztowych.
35
36 %prep
37 %setup -q -n %{pdir}-%{pnam}-%{version}
38
39 %build
40 %{__perl} Makefile.PL \
41         INSTALLDIRS=vendor
42
43 %{__make} \
44         CC="%{__cc}" \
45         OPTIMIZE="%{rpmcflags}"
46
47 %{?with_tests:%{__make} test}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc Changes README
61 %{perl_vendorarch}/MIME/Explode.pm
62 %dir %{perl_vendorarch}/auto/MIME/Explode
63 %{perl_vendorarch}/auto/MIME/Explode/autosplit.ix
64 %attr(755,root,root) %{perl_vendorarch}/auto/MIME/Explode/Explode.so
65 %{_mandir}/man3/*
This page took 0.05184 seconds and 2 git commands to generate.