2007-01-15 23:31:05 +00:00
|
|
|
#
|
2010-09-23 22:47:32 +00:00
|
|
|
# spec file for package perl-MIME-Types (Version 1.31)
|
2007-01-15 23:31:05 +00:00
|
|
|
#
|
2010-01-11 16:04:06 +00:00
|
|
|
# Copyright (c) 2010 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2008-06-23 23:07:49 +00:00
|
|
|
|
2007-01-15 23:31:05 +00:00
|
|
|
Name: perl-MIME-Types
|
2010-01-11 16:04:06 +00:00
|
|
|
Url: http://cpan.org/modules/by-module/MIME/
|
2010-09-23 22:47:32 +00:00
|
|
|
Version: 1.31
|
2010-10-19 11:08:34 +00:00
|
|
|
Release: 2
|
2010-11-30 19:27:13 +00:00
|
|
|
%{perl_requires}
|
2007-10-08 10:27:55 +00:00
|
|
|
AutoReqProv: on
|
|
|
|
Group: Development/Libraries/Perl
|
2010-01-11 16:04:06 +00:00
|
|
|
License: Artistic
|
2007-01-15 23:31:05 +00:00
|
|
|
Summary: MIME-Type Determination
|
|
|
|
Source: MIME-Types-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-10-19 08:46:33 +00:00
|
|
|
BuildRequires: perl
|
2007-01-15 23:31:05 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
MIME types are used in MIME entities, for instance as part of e-mail
|
|
|
|
and HTTP traffic. Sometimes real knowledge about a mime-type is need.
|
|
|
|
This module will supply it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Mark Overmeer <mimetypes@overmeer.net>
|
|
|
|
|
|
|
|
%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
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
|
|
%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
|