]> git.pld-linux.org Git - packages/perl-File-MMagic.git/blame - perl-File-MMagic.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-File-MMagic.git] / perl-File-MMagic.spec
CommitLineData
24e5e9dd 1#
2# Conditional build:
50061497 3%bcond_without tests # do not perform "make test"
0ce03d69 4
2133d105 5%define pdir File
6%define pnam MMagic
715012f1 7Summary: A Perl module that guesses file types based on their contents
21fa072f
ER
8Summary(cs.UTF-8): Modul pro Perl na zjišťování typu souboru podle jeho obsahu
9Summary(da.UTF-8): En Perl-modul som gissar filtyper utgående fra deras indhold
10Summary(de.UTF-8): Ein Perl Modul, das eine Datei an ihrem Inhalt erkennt
11Summary(es.UTF-8): Módulo Perl que conjetura tipos de ficheros basados en su contenido
12Summary(fr.UTF-8): Un module Perl qui devine les types de fichier en fonction de leur contenu
13Summary(it.UTF-8): Modulo Perl per individuare i tipi di file in base al contenuto
14Summary(ja.UTF-8): ファイルの内容に基づいてファイルタイプを推測する Perl モジュール
15Summary(ko.UTF-8): Perl 모줄은 파일의 내용에 기초해서 파일 형태를 추축합니다
16Summary(pl.UTF-8): Moduł Perla odgadujący typ pliku na podstawie jego zawartości
17Summary(pt.UTF-8): Um módulo de Perl que adivinha o tipo dos ficheiros a partir do conteúdo
18Summary(ru.UTF-8): Модуль для Perl, который определяет тип файла по его содержимому
19Summary(sv.UTF-8): En Perl-modul som gissar filtyper utgående från deras innehåll
20Summary(zh_CN.UTF-8): 一个根灸谌猜测文件类型的 Perl 模块。
a2ff89c0 21Name: perl-File-MMagic
0ce03d69 22Version: 1.30
eefd607d 23Release: 2
4b98e81d 24License: BSD-like/Apache
a2ff89c0 25Group: Development/Languages/Perl
3a20fcb7 26Source0: http://www.cpan.org/modules/by-module/File/%{pdir}-%{pnam}-%{version}.tar.gz
0ce03d69 27# Source0-md5: a0157c71d5872fa07102a2ffaf7979ec
3a20fcb7 28URL: http://search.cpan.org/dist/File-MMagic/
b6557985 29BuildRequires: perl-devel >= 1:5.8.0
3a20fcb7 30BuildRequires: rpm-perlprov >= 4.1-13
a2ff89c0 31BuildArch: noarch
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
715012f1 35The perl-File-MMagic package provides a Perl module for guessing a
36file type from the contents of the file, similar to how the file(1)
37command works.
38
c000b492
JR
39%description -l cs.UTF-8
40Balíček obsahuje modul pro Perl, který umožňuje zjišťovat typ souboru
41podle jeho obsahu. Jeho činnost je podobná programu file(1).
715012f1 42
c000b492
JR
43%description -l da.UTF-8
44Pakken perl-File-MMagic tillhandahåller en Perl-modul for at gissa
715012f1 45filtypen fra indholdet i filen, lignende hvordan kommandoen file(1)
46fungerar.
47
c000b492 48%description -l de.UTF-8
715012f1 49Das Paket perl-File-MMagic liefert ein Perl-Modul zum Herausfinden
c000b492 50eines Dateityps an Hand des Inhalts der Datei, ähnlich wie die file(1)
715012f1 51arbeitet.
52
c000b492
JR
53%description -l es.UTF-8
54El conjunto de perl-File-MMagic proporciona a un módulo del Perl para
715012f1 55adivinar un tipo de fichero por el contenido del fichero, similar a
56como el comando de file(1) funciona.
57
c000b492 58%description -l fr.UTF-8
715012f1 59Le paquetage Perl-File-MMagic fournit un module Perl permettant de
c000b492
JR
60deviner le type d'un fichier à partir de son contenu, semblable à la
61façon dont fonctionne la commande du file(1).
715012f1 62
c000b492 63%description -l it.UTF-8
715012f1 64Il pacchetto perl-File-MMagic fornisce un modulo Perl per individuare
65un tipo di file dal suo contenuto, in modo simile al comando file(1).
a2ff89c0 66
c000b492
JR
67%description -l ja.UTF-8
68perl-File-MMagic パッケージは、ファイルの内容からファイルのタイプを推
69測するための Perl モジュールを提供し、file(1) コマンドと同様の役割を
70果たします。
0e018445 71
c000b492
JR
72%description -l pl.UTF-8
73Moduł ten rozpoznaje typ pliku na podstawie jego zawartości podobnie
715012f1 74jak polecenie file(1).
75
c000b492
JR
76%description -l pt.UTF-8
77O pacote perl-File-MMagic oferece um módulo de Perl para adivinhar o
78tipo dum ficheiro a partir do seu conteúdo, de maneira semelhante à
715012f1 79que o comando file(1) funciona.
80
c000b492
JR
81%description -l ru.UTF-8
82Пакет perl-File-MMagic содержит модуль для Perl, которые пытается
83определить тип файла, по содержимому файла, подобно тому как работает
84команда file(1).
715012f1 85
c000b492
JR
86%description -l sv.UTF-8
87Paketet perl-File-MMagic tillhandahåller en Perl-modul för att gissa
88filtypen från innehållet i filen, liknande hur kommandot file(1)
715012f1 89fungerar.
a2ff89c0 90
91%prep
12bf0e89 92%setup -q -n %{pdir}-%{pnam}-%{version}
a2ff89c0 93
94%build
97baa33e 95%{__perl} Makefile.PL \
c48b767a 96 INSTALLDIRS=vendor
a2ff89c0 97%{__make}
9c486bbe 98
50061497 99%{?with_tests:%{__make} test}
a2ff89c0 100
101%install
102rm -rf $RPM_BUILD_ROOT
103
9c486bbe 104%{__make} install \
105 DESTDIR=$RPM_BUILD_ROOT
a2ff89c0 106
a2ff89c0 107%clean
108rm -rf $RPM_BUILD_ROOT
109
110%files
111%defattr(644,root,root,755)
715012f1 112%doc README.en ChangeLog
b2718af5
JB
113%{perl_vendorlib}/File/MMagic.pm
114%{_mandir}/man3/File::MMagic.3pm*
This page took 0.069635 seconds and 5 git commands to generate.