perl-Encode-EUCJPASCII/perl-Encode-EUCJPASCII.spec

89 lines
3.0 KiB
RPMSpec
Raw Normal View History

2012-01-06 15:04:51 +00:00
Name: perl-Encode-EUCJPASCII
Version: 0.03
2014-08-27 15:58:56 +00:00
Release: 11%{?dist}
2012-01-06 15:04:51 +00:00
Summary: EucJP-ascii - An eucJP-open mapping
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Encode-EUCJPASCII/
Source0: http://www.cpan.org/modules/by-module/Encode/Encode-EUCJPASCII-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Encode)
BuildRequires: perl(XSLoader)
BuildRequires: perl(base)
BuildRequires: perl(Encode::CJKConstants)
BuildRequires: perl(Encode::JP::JIS7)
BuildRequires: perl-Encode-devel
2012-01-06 15:04:51 +00:00
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
%description
This module provides eucJP-ascii, one of eucJP-open mappings, and its
derivative.
%prep
%setup -q -n Encode-EUCJPASCII-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -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 Changes README
%{perl_vendorarch}/*
%exclude %dir %{perl_vendorarch}/auto/
%changelog
2014-08-27 15:58:56 +00:00
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.03-11
- Perl 5.20 rebuild
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-07-18 10:04:44 +00:00
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 0.03-7
- Perl 5.18 rebuild
* Mon Feb 25 2013 Xavier Bachelot <xavier@bachelot.org> 0.03-6
- BR: perl-Encode-devel for enc2xs, FTBFS #914277.
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-06-11 18:59:34 +00:00
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.03-3
- Perl 5.16 rebuild
2012-01-06 15:04:51 +00:00
* Thu Jan 05 2012 Xavier Bachelot <xavier@bachelot.org> 0.03-2
- Follow the rpmdevtools perl spec template to fix packaging bugs.
- Add missing implicit BuildRequires.
* Tue Nov 29 2011 Xavier Bachelot <xavier@bachelot.org> 0.03-1
- Initial Fedora release.