]> git.pld-linux.org Git - packages/perl-MIME-Types.git/blob - perl-MIME-Types.spec
- massive attack: source-md5
[packages/perl-MIME-Types.git] / perl-MIME-Types.spec
1 #
2 # Conditional build:
3 # _without_tests - do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define pdir    MIME
7 %define pnam    Types
8 Summary:        MIME::Types Perl module
9 Summary(pl):    Modu³ Perla MIME::Types
10 Name:           perl-MIME-Types
11 Version:        1.005
12 Release:        2
13 License:        GPL
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  3f9f1ffbb2ad4da64ac3c81dc4b99c2b
17 BuildRequires:  perl-devel >= 5.6
18 BuildRequires:  perl-libnet
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 MIME::Types - Definition of MIME types.
25
26 %description -l pl
27 MIME::Types - definicje typów MIME.
28
29 %prep
30 %setup -q -n %{pdir}-%{pnam}-%{version}
31
32 %build
33 %{__perl} Makefile.PL \
34         INSTALLDIRS=vendor 
35 %{__make}
36 %{!?_without_tests:%{__make} test}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} install DESTDIR=$RPM_BUILD_ROOT
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc README
49 %{perl_vendorlib}/MIME/Types.pm
50 %{perl_vendorlib}/MIME/Type.pm
51 %{_mandir}/man3/*
This page took 0.069426 seconds and 3 git commands to generate.