File perl-File-Type.spec of Package perl-File-Type

# spec file for package perl-File-Type (Version 0.22)
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           perl-File-Type
License:        Artistic-1.0
Group:          Development/Libraries/Perl
AutoReqProv:    on
Summary:        determine file type using magic
Version:        0.22
Release:        147
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl
BuildRequires:  perl-macros

File::Type uses magic numbers (typically at the start of a file) to
determine the MIME type of that file.

    Paul Mison <pmison at fotango dot com>

%setup -n File-Type-%{version}

perl Makefile.PL
%{__make} %{?_smp_mflags}


[ "${RPM_BUILD_ROOT}" != "/" -a -d ${RPM_BUILD_ROOT} ] && rm -rf ${RPM_BUILD_ROOT}

%defattr(-, root, root)
%dir %{perl_vendorlib}/File
%dir %{perl_vendorlib}/File/Type
%dir %{perl_vendorarch}/auto/File
%dir %{perl_vendorarch}/auto/File/Type