]> git.pld-linux.org Git - packages/perl-MIME-Types.git/blob - perl-MIME-Types.spec
- autoupdated to 1.005
[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:        1
13 License:        GPL
14 Group:          Development/Languages/Perl
15 Source0:        ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 BuildRequires:  perl >= 5.6
17 BuildRequires:  perl-libnet
18 BuildRequires:  rpm-perlprov >= 3.0.3-16
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 MIME::Types - Definition of MIME types.
24
25 %description -l pl
26 MIME::Types - definicje typów MIME.
27
28 %prep
29 %setup -q -n %{pdir}-%{pnam}-%{version}
30
31 %build
32 perl Makefile.PL
33 %{__make}
34 %{!?_without_tests:%{__make} test}
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38
39 %{__make} install DESTDIR=$RPM_BUILD_ROOT
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc README
47 %{perl_sitelib}/MIME/Types.pm
48 %{perl_sitelib}/MIME/Type.pm
49 %{_mandir}/man3/*
This page took 0.058564 seconds and 3 git commands to generate.