]> git.pld-linux.org Git - packages/perl-File-MMagic.git/blob - perl-File-MMagic.spec
- removed all Group fields translations (oure rpm now can handle translating
[packages/perl-File-MMagic.git] / perl-File-MMagic.spec
1 %define pdir    File
2 %define pnam    MMagic
3 %include        /usr/lib/rpm/macros.perl
4 Summary:        File-MMagic perl module
5 Summary(pl):    Modu³ perla File-MMagic
6 Name:           perl-File-MMagic
7 Version:        1.13
8 Release:        3
9
10 License:        GPL
11 Group:          Development/Languages/Perl
12 Source0:        ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
13 BuildRequires:  rpm-perlprov >= 3.0.3-16
14 BuildRequires:  perl-devel >= 5.6.1
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 This module is to guess file type from its contents like file(1)
20 command.
21
22 %description -l pl
23 Modu³ ten rozpoznaje typ pliku na podstawie jego kontekstu podobnie
24 jak komenda file(1).
25
26 %prep
27 %setup -q -n File-MMagic-%{version}
28
29 %build
30 perl Makefile.PL
31 %{__make}
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35
36 %{__make} install DESTDIR=$RPM_BUILD_ROOT
37
38 gzip -9nf README.en ChangeLog
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc *.gz
46 %{perl_sitelib}/File/*
This page took 0.096997 seconds and 3 git commands to generate.