]> git.pld-linux.org Git - packages/perl-File-MMagic.git/blob - perl-File-MMagic.spec
- merge translations from TurboLinux.
[packages/perl-File-MMagic.git] / perl-File-MMagic.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define         pdir    File
3 %define         pnam    MMagic
4
5 Summary:        File-MMagic perl module
6 Summary(ja):    file¥³¥Þ¥ó¥ÉÉ÷perl5¥â¥¸¥å¡¼¥ë
7 Summary(pl):    Modu³ perla File-MMagic
8 Name:           perl-File-MMagic
9 Version:        1.15
10 Release:        1
11 License:        GPL
12 Group:          Development/Languages/Perl
13 Source0:        ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
14 BuildRequires:  rpm-perlprov >= 3.0.3-16
15 BuildRequires:  perl-devel >= 5.6.1
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 This module is to guess file type from its contents like file(1)
21 command.
22
23 %description -l ja
24 ¤³¤Î¥â¥¸¥å¡¼¥ë¤Ï¡¢file(1)¥³¥Þ¥ó¥É¤ËÁêÅö¤¹¤ëµ¡Ç½¡¢¤¹¤Ê¤ï¤Á¥Õ¥¡¥¤¥ë¤ÎÆâ
25 ÍƤ«¤é¤½¤Î¼ïÎà¤ò¿ä¬¤¹¤ë¤¿¤á¤Î¤â¤Î¤Ç¤¹¡£
26
27 %description -l pl
28 Modu³ ten rozpoznaje typ pliku na podstawie jego kontekstu podobnie
29 jak komenda file(1).
30
31 %prep
32 %setup -q -n %{pdir}-%{pnam}-%{version}
33
34 %build
35 perl Makefile.PL
36 %{__make}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} install DESTDIR=$RPM_BUILD_ROOT
42
43 gzip -9nf README.en ChangeLog
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc *.gz
51 %{perl_sitelib}/File/*
This page took 0.05889 seconds and 4 git commands to generate.