Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37534887
en ru br
Репозитории ALT
S:0.33-alt1
5.1: 0.15-alt1
4.1: 0.15-alt1
4.0: 0.12-alt1
www.altlinux.org/Changes

Группа :: Разработка/Perl
Пакет: perl-File-MimeInfo

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
BuildRequires: perl-podlators perl(Encode/Locale.pm)
%define dist File-MimeInfo
Name: perl-%dist
Version: 0.33
Release: alt1

Summary: Determine file type
License: GPL or Artistic
Group: Development/Perl

URL: %CPAN %dist
Source0: http://www.cpan.org/authors/id/M/MI/MICHIELB/%{dist}-%{version}.tar.gz

BuildArch: noarch
BuildRequires: desktop-file-utils shared-mime-info
# Automatically added by buildreq on Tue Oct 25 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.

%package scripts
Summary: %name scripts
Group: Development/Perl
Requires: %{?epoch:%epoch:}%name = %version-%release

%description scripts
scripts for %name


%prep
%setup -q -n %{dist}-%{version}

%build
%perl_vendor_build --install_path bindoc=%_man1dir

%install
%perl_vendor_install

%files
%doc Changes README.md
%perl_vendor_privlib/File

%files scripts
%_bindir/*
%_man1dir/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin