Package unicode-data: 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 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 | Name: unicode-data Version: 4.0.0 Release: alt1 Summary: Unicode Character Database Summary(ru_RU.UTF-8): База данных о символах Unicode License: distributable Group: Development/Other URL: http://www.unicode.org/ BuildArch: noarch # Archive with all files from ftp://www.unicode.org/Public/4.0-Update/, # renamed without '-4.0.0', in subdirectory %name-%version. # (After such renaming it is the same as ftp://www.unicode.org/Public/UNIDATA/ # without Unihan.txt, but should not change with time.) Source0: %name-%version.tar.bz2 # http://www.unicode.org/Public/UNIDATA/Unihan.zip, repacked with tar/bzip2 # Note: This file contains restrictive distribution conditions; however, # UCD.html in the main distribution explicitly overrides them. Source1: Unihan.tar.bz2 Requires: %name-minimal = %version-%release %package minimal Summary: Unicode Character Database -- main data file only Summary(ru_RU.UTF-8): База данных о символах Unicode -- только основной файл Group: Development/Other %package unihan Summary: Unicode Character Database -- Unihan.txt Summary(ru_RU.UTF-8): База данных о символах Unicode -- Unihan.txt Group: Development/Other Requires: %name = %version-%release # convert version x.y.z to xyyzz (priority for update-alternatives) %define numeric_version %(echo %version |awk -F . '{print ($1*100+$2)*100+$3}') %description The Unicode Character Database (UCD) is a set of files that define the Unicode character properties and internal mappings. This package contains all files from the Unicode Character Database, except the Unihan database (Unihan.txt). Unihan.txt is very large (25M) and is contained in the separate package (%name-unihan). %description -l ru_RU.UTF-8 База данных о символах Unicode (Unicode Character Database, UCD) содержит файлы, определяющие свойства и правила преобразования символов Unicode. Этот пакет содержит все файлы UCD, кроме Unihan.txt. Файл Unihan.txt находится в отдельном пакете (%name-unihan) из-за большого размера (25M). %description minimal The Unicode Character Database (UCD) is a set of files that define the Unicode character properties and internal mappings. This package contains UnicodeData.txt, which is the main file of the Unicode Character Database. The remaining UCD files are in the %name and %name-unihan packages. %description minimal -l ru_RU.UTF-8 База данных о символах Unicode (Unicode Character Database, UCD) содержит файлы, определяющие свойства и правила преобразования символов Unicode. Этот пакет содержит файл UnicodeData.txt - основной файл базы данных о символах Unicode. Остальные файлы UCD находятся в пакете %name и %name-unihan. %description unihan The Unicode Character Database (UCD) is a set of files that define the Unicode character properties and internal mappings. This package contains the Unihan database. %description unihan -l ru_RU.UTF-8 База данных о символах Unicode (Unicode Character Database, UCD) содержит файлы, определяющие свойства и правила преобразования символов Unicode. Этот пакет содержит базу данных Unihan. %prep %setup -q -a 1 %install %__install -d %buildroot%_datadir/%name/%version %__cp -a * %buildroot%_datadir/%name/%version %__install -d %buildroot%_docdir/%name-%version %__ln_s ../../%name/%version/UCD.html \ %buildroot%_docdir/%name-%version/UCD.html %__ln_s ../../%name/%version/ReadMe.txt \ %buildroot%_docdir/%name-%version/ReadMe.txt %files %dir %_datadir/%name %dir %_datadir/%name/%version %_datadir/%name/%version/* %exclude %_datadir/%name/%version/ReadMe.txt %exclude %_datadir/%name/%version/UCD.html %exclude %_datadir/%name/%version/UnicodeData.* %exclude %_datadir/%name/%version/Unihan.* %files minimal %dir %_datadir/%name %dir %_datadir/%name/%version %_datadir/%name/%version/ReadMe.txt %_datadir/%name/%version/UCD.html %_datadir/%name/%version/UnicodeData.* %_docdir/%name-%version %files unihan %dir %_datadir/%name %dir %_datadir/%name/%version %_datadir/%name/%version/Unihan.* %changelog * Fri Jun 06 2003 Sergey Vlasov <vsu@altlinux.ru> 4.0.0-alt1 - Version 4.0.0. - Added %%exclude instead of manual filelist generation (now the spec is much shorter and simpler). - Added Unihan.txt as a new subpackage - new license in UCD.html explicitly overrides the copying conditions in Unihan.txt. - Dropped alternatives support. * Fri Jan 24 2003 Sergey Vlasov <vsu@altlinux.ru> 3.2.0-alt2 - %%install cleanup. - Fixed update-alternatives handling. * Thu Apr 04 2002 Servey Vlasov <vsu@altlinux.ru> 3.2.0-alt1 - Version 3.2.0 * Sat Nov 24 2001 Sergey Vlasov <vsu@altlinux.ru> 3.1.1-alt1 - First build for ALT Linux |