]> git.pld-linux.org Git - packages/perl-MIME-Types.git/blob - perl-MIME-Types.spec
- should be ready for perl-5.8.0; release++
[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 BuildRequires:  perl >= 5.6
17 BuildRequires:  perl-libnet
18 BuildRequires:  rpm-perlprov >= 4.1-13
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         INSTALLDIRS=vendor 
34 %{__make}
35 %{!?_without_tests:%{__make} test}
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 %{__make} install DESTDIR=$RPM_BUILD_ROOT
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc README
48 %{perl_vendorlib}/MIME/Types.pm
49 %{perl_vendorlib}/MIME/Type.pm
50 %{_mandir}/man3/*
This page took 0.035999 seconds and 3 git commands to generate.