2007-01-15 23:31:05 +00:00
|
|
|
#
|
2012-01-13 12:40:16 +00:00
|
|
|
# spec file for package perl-MIME-Types
|
2007-01-15 23:31:05 +00:00
|
|
|
#
|
2012-01-13 12:40:16 +00:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:31:05 +00:00
|
|
|
#
|
2009-01-21 01:36:26 +00:00
|
|
|
# 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.
|
|
|
|
|
2007-01-15 23:31:05 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-MIME-Types
|
2012-01-13 12:40:16 +00:00
|
|
|
Version: 1.34
|
|
|
|
Release: 0
|
2007-01-15 23:31:05 +00:00
|
|
|
Summary: MIME-Type Determination
|
2012-01-13 12:40:16 +00:00
|
|
|
License: GPL-1.0+ or Artistic-1.0
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Url: http://cpan.org/modules/by-module/MIME/
|
2011-08-29 08:32:51 +00:00
|
|
|
Source: MIME-Types-%{version}.tar.gz
|
2010-10-19 08:46:33 +00:00
|
|
|
BuildRequires: perl
|
2010-12-03 14:42:40 +00:00
|
|
|
BuildRequires: perl-macros
|
2012-01-13 12:40:16 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%{perl_requires}
|
2007-01-15 23:31:05 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
MIME types are used in MIME entities, for instance as part of e-mail
|
2012-01-13 12:40:16 +00:00
|
|
|
and HTTP traffic. Sometimes real knowledge about a mime-type is need.
|
2007-01-15 23:31:05 +00:00
|
|
|
This module will supply it.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n MIME-Types-%{version} -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
2010-01-11 16:04:06 +00:00
|
|
|
make %{?_smp_mflags}
|
2007-01-15 23:31:05 +00:00
|
|
|
|
2007-06-11 13:09:19 +00:00
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
2007-01-15 23:31:05 +00:00
|
|
|
%install
|
2012-01-13 12:40:16 +00:00
|
|
|
make DESTDIR=%{buildroot} install_vendor
|
2007-01-15 23:31:05 +00:00
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc ChangeLog MANIFEST README
|
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
%{perl_vendorarch}/auto/MIME
|
|
|
|
%{perl_vendorlib}/MIME
|
2008-01-07 01:54:00 +00:00
|
|
|
|
2007-03-30 14:31:46 +00:00
|
|
|
%changelog
|