perl-MIME-Charset/perl-MIME-Charset.spec

104 lines
3.0 KiB
RPMSpec
Raw Normal View History

2009-04-30 17:22:06 +00:00
Name: perl-MIME-Charset
2011-07-08 14:16:14 +00:00
Version: 1.009.1
Release: 1%{?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/
2010-12-14 23:28:12 +00:00
Source0: http://search.cpan.org/CPAN/authors/id/N/NE/NEZUMI/MIME-Charset-%{version}.tar.gz
2009-04-30 17:22:06 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
2010-12-14 23:28:12 +00:00
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
# Not packaged yet
# BuildRequires: perl(Encode::EUCJPASCII)
# BuildRequires: perl(Encode::JIS2K)
# BuildRequires: perl(Encode::HanExtra)
2009-04-30 17:22:06 +00:00
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,-)
2010-12-14 23:28:12 +00:00
%doc ARTISTIC Changes GPL README
2009-04-30 17:22:06 +00:00
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
2011-07-08 14:16:14 +00:00
* Fri Jul 08 2011 Xavier Bachelot <xavier@bachelot.org> 1.009.1-1
- Update to 1.009.1.
2011-06-20 18:36:36 +00:00
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.008.2-2
- Perl mass rebuild
2011-05-30 19:16:17 +00:00
* Mon May 30 2011 Xavier Bachelot <xavier@bachelot.org> 1.008.2-1
- Update to 1.008.2.
2011-05-12 18:21:44 +00:00
* Thu May 12 2011 Xavier Bachelot <xavier@bachelot.org> 1.008.1-1
2011-05-30 19:16:17 +00:00
- Update to 1.008.1.
2011-05-12 18:21:44 +00:00
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.008-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.008-2
- 661697 rebuild for fixing problems with vendorach/lib
2010-12-14 23:28:12 +00:00
* Tue Dec 14 2010 Xavier Bachelot <xavier@bachelot.org> 1.008-1
- Update to 1.008.
- Update Source0 URL.
- More BRs for better tests coverage.
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
* 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.