Package perl-Unicode-Map: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | %define _unpackaged_files_terminate_build 1 %define dist Unicode-Map Name: perl-%dist Version: 0.112 Release: alt8 Summary: Maps charsets from and to utf16 unicode License: GPL or Artistic Group: Development/Perl URL: %CPAN %dist Source0: %dist-%version.tar.gz Source1: http://www.unicode.org/Public/MAPPINGS/VENDORS/MISC/KOI8-R.TXT # Automatically added by buildreq on Fri Oct 07 2011 BuildRequires: perl-devel perl-podlators %description This module converts strings from and to 2-byte Unicode UCS2 format. All mappings happen via 2 byte UTF16 encodings, not via 1 byte UTF8 encoding. To transform these use Unicode::String. %package scripts Summary: %name scripts Group: Development/Perl Requires: %name = %EVR Conflicts: %name < 0.112-alt7 BuildRequires: perl(HTTP/Status.pm) perl(LWP/Simple.pm) BuildArch: noarch %description scripts scripts for %name %prep %setup -q -n %dist-%version %build # bootstrap %perl_vendor_build # add koi8-r support mkdir -p Map/VENDORS/MISC perl -Mblib tools/mkmapfile -M Map/VENDORS/MISC/KOI8-R.map %SOURCE1 [ -f Map/REGISTRY ] cat <<\__EOF__ >>Map/REGISTRY ## ## ALT ## name: KOI8-R srcURL: $SrcUnicode/VENDORS/MISC/KOI8-R.TXT src: $DestUnicode/VENDORS/MISC/KOI8-R.TXT map: $DestMap/VENDORS/MISC/KOI8-R.map alias: csKOI8R #mib: ???? # __EOF__ # rebuild %perl_vendor_build # test koi8-r support perl -Mblib -MUnicode::Map -e 'Unicode::Map->new("KOI8-R") or die "KOI8-R broken\n"' %install %perl_vendor_install %files %doc Changes README %perl_vendor_archlib/Unicode %perl_vendor_autolib/Unicode %files scripts %_bindir/map %_bindir/mkmapfile %_bindir/mirrorMappings %_bindir/mkCSGB2312 %_man1dir/* %changelog * Sun Sep 27 2020 Igor Vlasenko <viy@altlinux.ru> 0.112-alt8 - fixed warning: scripts should be .noarch * Thu Jan 24 2019 Igor Vlasenko <viy@altlinux.ru> 0.112-alt7.1 - rebuild with new perl 5.28.1 * Fri Jun 29 2018 Igor Vlasenko <viy@altlinux.ru> 0.112-alt7 - fixed unpackaged files * Fri Dec 15 2017 Igor Vlasenko <viy@altlinux.ru> 0.112-alt6.1.1.1.1 - rebuild with new perl 5.26.1 * Fri Feb 03 2017 Igor Vlasenko <viy@altlinux.ru> 0.112-alt6.1.1.1 - rebuild with new perl 5.24.1 * Wed Nov 25 2015 Igor Vlasenko <viy@altlinux.ru> 0.112-alt6.1.1 - rebuild with new perl 5.22.0 * Tue Dec 09 2014 Igor Vlasenko <viy@altlinux.ru> 0.112-alt6.1 - rebuild with new perl 5.20.1 * Wed Aug 28 2013 Vladimir Lettiev <crux@altlinux.ru> 0.112-alt6 - built for perl 5.18 * Thu Aug 30 2012 Vladimir Lettiev <crux@altlinux.ru> 0.112-alt5 - rebuilt for perl-5.16 * Fri Oct 07 2011 Alexey Tourbin <at@altlinux.ru> 0.112-alt4 - rebuilt for perl-5.14 * Sun Nov 07 2010 Vladimir Lettiev <crux@altlinux.ru> 0.112-alt3.0.1 - rebuilt with perl 5.12 * Mon Apr 16 2007 ALT QA Team Robot <qa-robot@altlinux.org> 0.112-alt3.0 - Automated rebuild. * Thu May 12 2005 Alexey Tourbin <at@altlinux.ru> 0.112-alt3 - removed %_bindir/mkCSGB2312 and %_bindir/mirrorMappings - manual pages not packaged (use perldoc) * Sat Feb 19 2005 ALT QA Team Robot <qa-robot@altlinux.org> 0.112-alt2.1 - Rebuilt with rpm-build-perl-0.5.1. * Fri Aug 20 2004 Alexey Tourbin <at@altlinux.ru> 0.112-alt2 - added koi8-r support * Fri Feb 20 2004 Alexey Tourbin <at@altlinux.ru> 0.112-alt1 - initial revision |