2011-08-04 15:01:28 +02:00
|
|
|
#
|
|
|
|
# spec file for package perl-MIME-Charset
|
|
|
|
#
|
2015-04-15 06:37:12 +02:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-08-04 15:01:28 +02: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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2011-02-19 07:57:16 +01:00
|
|
|
Name: perl-MIME-Charset
|
2015-04-15 06:37:12 +02:00
|
|
|
Version: 1.012
|
2013-06-05 14:49:28 +02:00
|
|
|
Release: 0
|
|
|
|
%define cpan_name MIME-Charset
|
|
|
|
Summary: Charset Information for MIME
|
2015-04-15 06:37:12 +02:00
|
|
|
License: GPL-1.0+ or Artistic-1.0
|
2013-06-05 14:49:28 +02:00
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Url: http://search.cpan.org/dist/MIME-Charset/
|
|
|
|
Source: http://www.cpan.org/authors/id/N/NE/NEZUMI/%{cpan_name}-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
2011-08-04 15:01:28 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2013-06-05 14:49:28 +02:00
|
|
|
BuildRequires: perl
|
2011-02-19 07:57:16 +01:00
|
|
|
BuildRequires: perl-macros
|
2013-06-05 14:49:28 +02:00
|
|
|
%{perl_requires}
|
2011-02-19 07:57:16 +01:00
|
|
|
|
|
|
|
%description
|
2013-06-05 14:49:28 +02:00
|
|
|
MIME::Charset provides information about character sets used for MIME
|
|
|
|
messages on Internet.
|
2011-02-19 07:57:16 +01:00
|
|
|
|
|
|
|
%prep
|
2013-06-05 14:49:28 +02:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2011-02-19 07:57:16 +01:00
|
|
|
|
|
|
|
%build
|
2013-06-05 14:49:28 +02:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
|
|
%check
|
|
|
|
%{__make} test
|
2011-02-19 07:57:16 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2013-06-05 14:49:28 +02:00
|
|
|
%perl_gen_filelist
|
2011-02-19 07:57:16 +01:00
|
|
|
|
2013-06-05 14:49:28 +02:00
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%doc ARTISTIC Changes COPYING README
|
2011-02-19 07:57:16 +01:00
|
|
|
|
2011-08-04 15:01:28 +02:00
|
|
|
%changelog
|