]> git.pld-linux.org Git - packages/perl-File-MMagic.git/blobdiff - perl-File-MMagic.spec
- generic URL
[packages/perl-File-MMagic.git] / perl-File-MMagic.spec
index b5220fddb09c9de5e4e5d4193265349cb436657d..a07db5c9687576dff024b0048307016ee288d857 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-# _without_tests - do not perform "make test"
+%bcond_without tests # do not perform "make test"
 #
 %include       /usr/lib/rpm/macros.perl
 %define                pdir    File
@@ -14,20 +14,21 @@ Summary(fr):        Un module Perl qui devine les types de fichier en fonction de leur
 Summary(it):   Modulo Perl per individuare i tipi di file in base al contenuto
 Summary(ja):   ¥Õ¥¡¥¤¥ë¤ÎÆâÍƤ˴ð¤Å¤¤¤Æ¥Õ¥¡¥¤¥ë¥¿¥¤¥×¤ò¿ä¬¤¹¤ë Perl ¥â¥¸¥å¡¼¥ë
 Summary(ko):   Perl ¸ðÁÙÀº ÆÄÀÏÀÇ ³»¿ë¿¡ ±âÃÊÇؼ­ ÆÄÀÏ ÇüŸ¦ ÃßÃàÇÕ´Ï´Ù
-Summary(pl):   Modu³ perla odgaduj±cy typ pliku na podstawie jego zawarto¶ci
+Summary(pl):   Modu³ Perla odgaduj±cy typ pliku na podstawie jego zawarto¶ci
 Summary(pt):   Um módulo de Perl que adivinha o tipo dos ficheiros a partir do conteúdo
 Summary(ru):   íÏÄÕÌØ ÄÌÑ Perl, ËÏÔÏÒÙÊ ÏÐÒÅÄÅÌÑÅÔ ÔÉРÆÁÊÌÁ ÐÏ ÅÇÏ ÓÏÄÅÒÖÉÍÏÍÕ
 Summary(sv):   En Perl-modul som gissar filtyper utgående från deras innehåll
 Summary(zh_CN):        Ò»¸ö¸ù¾ÄÚȲ²âÎļþÀàÐ͵ĠPerl Ä£¿é¡£
 Name:          perl-File-MMagic
-Version:       1.20
+Version:       1.27
 Release:       1
-License:       GPL
+License:       BSD-like/Apache
 Group:         Development/Languages/Perl
-Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 8f1f7189c9f2a2c19157a756a0d177e5
+Source0:       http://www.cpan.org/modules/by-module/File/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 4ffb13b6587888e6e455c22988abce5e
+URL:           http://search.cpan.org/dist/File-MMagic/
+BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
-BuildRequires: perl-devel >= 5.6.1
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -95,12 +96,14 @@ fungerar.
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
 %{__make}
-%{!?_without_tests:%{__make} test}
+
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.031715 seconds and 4 git commands to generate.