Blame SPECS/perl-Unicode-Map8.spec

ef9393
%{!?perl_vendorarch: %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)}
ef9393
ef9393
Name:           perl-Unicode-Map8
ef9393
Version:        0.13
a0dafe
Release:        13%{?dist}
ef9393
ef9393
Summary:        Mapping table between 8-bit chars and Unicode for Perl
ef9393
ef9393
License:        GPL+ or Artistic
ef9393
URL:            http://search.cpan.org/dist/Unicode-Map8/
ef9393
Source0:        http://www.cpan.org/authors/id/G/GA/GAAS/Unicode-Map8-%{version}.tar.gz
ef9393
Patch0:         perl-Unicode-Map8-0.12-declaration.patch
ef9393
Patch1:         perl-Unicode-Map8-0.12-type.patch
ef9393
ef9393
BuildRequires:  perl(Exporter)
ef9393
BuildRequires:  perl(ExtUtils::MakeMaker)
ef9393
BuildRequires:  perl(Unicode::String)
ef9393
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
ef9393
ef9393
%{?perl_default_filter}
ef9393
ef9393
%description
ef9393
The Unicode::Map8 class implements efficient mapping tables between
ef9393
8-bit character sets and 16 bit character sets like Unicode.  About
ef9393
170 different mapping tables between various known character sets and
ef9393
Unicode is distributed with this package.  The source of these tables
ef9393
is the vendor mapping tables provided by Unicode, Inc. and the code
ef9393
tables in RFC 1345.  New maps can easily be installed.
ef9393
ef9393
ef9393
%prep
ef9393
%setup -q -n Unicode-Map8-%{version}
ef9393
%patch0 -p0 -b .declaration
ef9393
%patch1 -p0 -b .type
ef9393
ef9393
for i in README Changes; do
ef9393
  iconv --from=ISO-8859-1 --to=UTF-8 $i > $i.UTF-8
ef9393
  mv $i.UTF-8 $i
ef9393
done
ef9393
ef9393
ef9393
%build
ef9393
CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
ef9393
make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
ef9393
ef9393
ef9393
%install
ef9393
make install \
ef9393
  PERL_INSTALL_ROOT=$RPM_BUILD_ROOT \
ef9393
  INSTALLARCHLIB=$RPM_BUILD_ROOT%{perl_archlib}
ef9393
find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \
ef9393
  -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
ef9393
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
ef9393
chmod -R u+w $RPM_BUILD_ROOT/*
ef9393
ef9393
ef9393
%check
ef9393
make test
ef9393
ef9393
ef9393
%files
ef9393
%doc Changes README
ef9393
%{_bindir}/umap
ef9393
%{perl_vendorarch}/auto/Unicode
ef9393
%{perl_vendorarch}/Unicode
ef9393
%{_mandir}/man[13]/*.[13]*
ef9393
ef9393
ef9393
%changelog
a0dafe
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.13-13
a0dafe
- Mass rebuild 2014-01-24
a0dafe
a0dafe
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.13-12
a0dafe
- Mass rebuild 2013-12-27
a0dafe
ef9393
* Sun Dec 02 2012 Emmanuel Seyman <emmanuel@seyman.fr> - 0.13-11
ef9393
- Remove no-longer-used macros
ef9393
ef9393
* Mon Oct 29 2012 Jitka Plesnikova <jplesnik@redhat.com> -  0.13-10
ef9393
- Add BR perl(Exporter)
ef9393
- Add default filter
ef9393
ef9393
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-9
ef9393
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ef9393
ef9393
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.13-8
ef9393
- Perl 5.16 rebuild
ef9393
ef9393
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-7
ef9393
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ef9393
ef9393
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.13-6
ef9393
- Perl mass rebuild
ef9393
ef9393
* Fri Jul  8 2011 Paul Howarth <paul@city-fan.org> - 0.13-5
ef9393
- Add perl(:MODULE_COMPAT_*) dependency
ef9393
ef9393
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-4
ef9393
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ef9393
ef9393
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.13-3
ef9393
- Rebuild to fix problems with vendorarch/lib (#661697)
ef9393
ef9393
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.13-2
ef9393
- Mass rebuild with perl-5.12.0
ef9393
ef9393
* Tue Jan 19 2010 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> - 0.13-1
ef9393
- Update to 0.13.
ef9393
- Convert ISO8858-1 files to UTF-8.
ef9393
ef9393
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-20
ef9393
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ef9393
ef9393
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-19
ef9393
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
ef9393
ef9393
* Thu Jun 05 2008 Aurelien Bompard <abompard@fedoraproject.org> 0.12-18
ef9393
- fix build
ef9393
ef9393
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.12-17
ef9393
- Rebuild for perl 5.10 (again)
ef9393
ef9393
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.12-16
ef9393
- Autorebuild for GCC 4.3
ef9393
ef9393
* Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.12-15
ef9393
- rebuild for new perl
ef9393
ef9393
* Thu Sep 27 2007 Aurelien Bompard <abompard@fedoraproject.org> 0.12-14
ef9393
- fix license tag again (thanks Tom)
ef9393
ef9393
* Sun Aug 26 2007 Aurelien Bompard <abompard@fedoraproject.org> 0.12-13
ef9393
- fix license tag (like perl itself)
ef9393
ef9393
* Mon Aug 13 2007 Aurelien Bompard <abompard@fedoraproject.org> 0.12-12
ef9393
- BR: perl-devel
ef9393
ef9393
* Sun Oct 29 2006 Aurelien Bompard <abompard@fedoraproject.org> 0.12-11
ef9393
- actually apply the patches
ef9393
ef9393
* Sat Oct 28 2006 Aurelien Bompard <abompard@fedoraproject.org> 0.12-10
ef9393
- add patches for x86_64
ef9393
ef9393
* Wed Aug 30 2006 Aurelien Bompard <abompard@fedoraproject.org> 0.12-9
ef9393
- rebuild
ef9393
ef9393
* Wed Feb 22 2006 Aurelien Bompard <gauret[AT]free.fr> 0.12-8
ef9393
- ExcludeArch x86_64
ef9393
ef9393
* Wed Feb 22 2006 Aurelien Bompard <gauret[AT]free.fr> 0.12-7
ef9393
- disable unit tests (map8.t fails on x86_64)
ef9393
ef9393
* Tue Feb 21 2006 Aurelien Bompard <gauret[AT]free.fr> 0.12-6
ef9393
- rebuild for FC5
ef9393
ef9393
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
ef9393
- rebuilt
ef9393
ef9393
* Mon Feb  2 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.12-0.fdr.4
ef9393
- Reduce directory ownership bloat.
ef9393
ef9393
* Sat Oct 11 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.12-0.fdr.3
ef9393
- Install into vendor dirs.
ef9393
- Specfile cleanup.
ef9393
ef9393
* Mon Jul  7 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.12-0.fdr.2
ef9393
- Regenerate %%install section with cpanflute2.
ef9393
ef9393
* Wed May  7 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.12-0.fdr.1
ef9393
- Update to current Fedora guidelines.
ef9393
ef9393
* Sun Mar  2 2003 Ville Skyttä <ville.skytta at iki.fi> - 0.12-1.fedora.1
ef9393
- First Fedora release.