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