2009-04-30 17:22:06 +00:00
|
|
|
Name: perl-MIME-Charset
|
|
|
|
Version: 1.006.2
|
2010-05-03 06:06:28 +00:00
|
|
|
Release: 5%{?dist}
|
2009-04-30 17:22:06 +00:00
|
|
|
Summary: Charset Informations for MIME
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/MIME-Charset/
|
|
|
|
Source0: http://www.cpan.org/modules/by-module/MIME/MIME-Charset-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
%description
|
|
|
|
MIME::Charset provides informations about character sets used for MIME
|
|
|
|
messages on Internet.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n MIME-Charset-%{version}
|
|
|
|
|
|
|
|
cat << \EOF > %{name}-prov
|
|
|
|
#!/bin/sh
|
|
|
|
%{__perl_provides} $* |\
|
|
|
|
sed -e '/perl(MIME::Charset)$/d'
|
|
|
|
EOF
|
|
|
|
|
|
|
|
%global __perl_provides %{_builddir}/MIME-Charset-%{version}/%{name}-prov
|
|
|
|
chmod +x %{__perl_provides}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc ARTISTIC Changes COPYING GPL README
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
2010-05-03 06:06:28 +00:00
|
|
|
* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.006.2-5
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
2009-12-07 02:39:26 +00:00
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.006.2-4
|
|
|
|
- rebuild against perl 5.10.1
|
|
|
|
|
2009-07-26 09:04:00 +00:00
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.006.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-04-30 17:22:06 +00:00
|
|
|
* Tue Apr 28 2009 Xavier Bachelot <xavier@bachelot.org> 1.006.2-2
|
|
|
|
- Filter duplicate Provides:.
|
|
|
|
|
|
|
|
* Fri Apr 24 2009 Xavier Bachelot <xavier@bachelot.org> 1.006.2-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.77.
|
|
|
|
- Fix license.
|