1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
%define dist File-MimeInfo Name: perl-%dist Version: 0.15 Release: alt2 Summary: Determine file type License: GPL or Artistic Group: Development/Perl URL: %CPAN %dist Source: %dist-%version.tar.gz BuildArch: noarch # Automatically added by buildreq on Wed Apr 27 2011 BuildRequires: perl-File-DesktopEntry perl-Module-Build perl-Test-Pod perl-Test-Pod-Coverage %description This module can be used to determine the mime type of a file; it's a replacement for File::MMagic trying to implement the freedesktop specification for using the shared mime-info database. The package comes with a script called 'mimetype' that can be used as a file(1) work-alike. %prep %setup -q -n %dist-%version %build %perl_vendor_build --install_path bindoc=%_man1dir %install %perl_vendor_install %files %doc Changes README %perl_vendor_privlib/File %_bindir/mime* %_man1dir/mime* %changelog * Wed Apr 27 2011 Alexey Tourbin <at@altlinux.ru> 0.15-alt2 - fixed unpackaged directory * Fri Nov 26 2010 Igor Vlasenko <viy@altlinux.ru> 0.15-alt1.1 - repair after perl 5.12 upgrade using girar-nmu * Fri Feb 29 2008 Vitaly Lipatov <lav@altlinux.ru> 0.15-alt1 - remove man3 pages instead exclude ones * Mon Feb 25 2008 Nikolay A. Fetisov <naf@altlinux.ru> 0.15-alt0.1 - New version 0.15 - Spec fila cleanup * Mon Jan 02 2006 Vitaly Lipatov <lav@altlinux.ru> 0.12-alt1 - first build for ALT Linux Sisyphus