3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: A Perl module that guesses file types based on their contents
9 Summary(cs): Modul pro Perl na zji¹»ování typu souboru podle jeho obsahu
10 Summary(da): En Perl-modul som gissar filtyper utgående fra deras indhold
11 Summary(de): Ein Perl Modul, das eine Datei an ihrem Inhalt erkennt
12 Summary(es): Módulo Perl que conjetura tipos de ficheros basados en su contenido
13 Summary(fr): Un module Perl qui devine les types de fichier en fonction de leur contenu
14 Summary(it): Modulo Perl per individuare i tipi di file in base al contenuto
15 Summary(ja): ¥Õ¥¡¥¤¥ë¤ÎÆâÍƤ˴ð¤Å¤¤¤Æ¥Õ¥¡¥¤¥ë¥¿¥¤¥×¤ò¿ä¬¤¹¤ë Perl ¥â¥¸¥å¡¼¥ë
16 Summary(ko): Perl ¸ðÁÙÀº ÆÄÀÏÀÇ ³»¿ë¿¡ ±âÃÊÇؼ ÆÄÀÏ ÇüŸ¦ ÃßÃàÇÕ´Ï´Ù
17 Summary(pl): Modu³ perla odgaduj±cy typ pliku na podstawie jego zawarto¶ci
18 Summary(pt): Um módulo de Perl que adivinha o tipo dos ficheiros a partir do conteúdo
19 Summary(ru): íÏÄÕÌØ ÄÌÑ Perl, ËÏÔÏÒÙÊ ÏÐÒÅÄÅÌÑÅÔ ÔÉÐ ÆÁÊÌÁ ÐÏ ÅÇÏ ÓÏÄÅÒÖÉÍÏÍÕ
20 Summary(sv): En Perl-modul som gissar filtyper utgående från deras innehåll
21 Summary(zh_CN): Ò»¸ö¸ù¾ÄÚȲ²âÎļþÀàÐ굀 Perl Ä£¿é¡£
22 Name: perl-File-MMagic
26 Group: Development/Languages/Perl
27 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
28 # Source0-md5: de4fc586de7629483196bea11c898bfc
29 BuildRequires: rpm-perlprov >= 4.1-13
30 BuildRequires: perl-devel >= 5.6.1
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 The perl-File-MMagic package provides a Perl module for guessing a
36 file type from the contents of the file, similar to how the file(1)
40 Balíèek obsahuje modul pro Perl, který umo¾òuje zji¹»ovat typ souboru
41 podle jeho obsahu. Jeho èinnost je podobná programu file(1).
44 Pakken perl-File-MMagic tillhandahåller en Perl-modul for at gissa
45 filtypen fra indholdet i filen, lignende hvordan kommandoen file(1)
49 Das Paket perl-File-MMagic liefert ein Perl-Modul zum Herausfinden
50 eines Dateityps an Hand des Inhalts der Datei, ähnlich wie die file(1)
54 El conjunto de perl-File-MMagic proporciona a un módulo del Perl para
55 adivinar un tipo de fichero por el contenido del fichero, similar a
56 como el comando de file(1) funciona.
59 Le paquetage Perl-File-MMagic fournit un module Perl permettant de
60 deviner le type d'un fichier à partir de son contenu, semblable à la
61 façon dont fonctionne la commande du file(1).
64 Il pacchetto perl-File-MMagic fornisce un modulo Perl per individuare
65 un tipo di file dal suo contenuto, in modo simile al comando file(1).
68 perl-File-MMagic ¥Ñ¥Ã¥±¡¼¥¸¤Ï¡¢¥Õ¥¡¥¤¥ë¤ÎÆâÍƤ«¤é¥Õ¥¡¥¤¥ë¤Î¥¿¥¤¥×¤ò¿ä
69 ¬¤¹¤ë¤¿¤á¤Î Perl ¥â¥¸¥å¡¼¥ë¤òÄ󶡤·¡¢file(1) ¥³¥Þ¥ó¥É¤ÈƱÍͤÎÌò³ä¤ò
73 Modu³ ten rozpoznaje typ pliku na podstawie jego zawarto¶ci podobnie
74 jak polecenie file(1).
77 O pacote perl-File-MMagic oferece um módulo de Perl para adivinhar o
78 tipo dum ficheiro a partir do seu conteúdo, de maneira semelhante à
79 que o comando file(1) funciona.
82 ðÁËÅÔ perl-File-MMagic ÓÏÄÅÒÖÉÔ ÍÏÄÕÌØ ÄÌÑ Perl, ËÏÔÏÒÙÅ ÐÙÔÁÅÔÓÑ
83 ÏÐÒÅÄÅÌÉÔØ ÔÉÐ ÆÁÊÌÁ, ÐÏ ÓÏÄÅÒÖÉÍÏÍÕ ÆÁÊÌÁ, ÐÏÄÏÂÎÏ ÔÏÍÕ ËÁË ÒÁÂÏÔÁÅÔ
87 Paketet perl-File-MMagic tillhandahåller en Perl-modul för att gissa
88 filtypen från innehållet i filen, liknande hur kommandot file(1)
92 %setup -q -n %{pdir}-%{pnam}-%{version}
95 %{__perl} Makefile.PL \
98 %{?with_tests:%{__make} test}
101 rm -rf $RPM_BUILD_ROOT
103 %{__make} install DESTDIR=$RPM_BUILD_ROOT
106 rm -rf $RPM_BUILD_ROOT
109 %defattr(644,root,root,755)
110 %doc README.en ChangeLog
111 %{perl_vendorlib}/File/*