89 lines
3.0 KiB
RPMSpec
89 lines
3.0 KiB
RPMSpec
Name: perl-Encode-EUCJPASCII
|
|
Version: 0.03
|
|
Release: 11%{?dist}
|
|
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
|
|
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
|
|
* 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
|
|
|
|
* 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
|
|
|
|
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.03-3
|
|
- Perl 5.16 rebuild
|
|
|
|
* 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.
|