Package fonts-bitmap-cyr_rfx-cp1251: 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 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 | %def_with xfs %define fname cyr_rfx %define cname cp1251 %define origname windows-1251 %define oversion 1.1 %define __bitmapdir %_bitmapfontsdir/%fname-%cname Name: fonts-bitmap-cyr_rfx-cp1251 Version: 1.1a Release: alt9 Summary: Cyrillic bitmap fonts for the X Window System in microsoft-cp1251 encoding License: distributable Group: System/Fonts/X11 bitmap Url: http://www.inp.nsk.su/~bolkhov/files/fonts/cyr-rfx/00index.en.html Packager: Vitaly Lipatov <lav@altlinux.ru> Source: http://www.inp.nsk.su/~bolkhov/files/fonts/cyr-rfx/srctgz/cyr-rfx-%origname-%oversion.bdfs.tar.bz2 Source1: Makefile.fonts Source2: fonts.dir.75dpi Source3: fonts.dir.misc Source4: fonts.alias.misc.1251 Source5: fonts.alias.75dpi BuildArch: noarch BuildRequires: unzip mkfontdir bdftopcf xorg-font-utils xorg-font-encodings rpm-build-fonts PreReq: fontconfig >= 2.4.2 Obsoletes: XFree86-%fname-fonts-%cname Obsoletes: cyr_rfx-windows-1251 Requires: fonts-bitmap-%fname-%cname-misc = %EVR Requires: fonts-bitmap-%fname-%cname-75dpi = %EVR %description Collection of cyrillic raster fonts for X Window System by D. Bolkhovityanov. %package -n fonts-bitmap-%fname-%cname-misc Group: System/Fonts/X11 bitmap Summary: Cyrillic bitmap fonts in microsoft-cp1251 encoding Conflicts: fonts-bitmap-%fname-%cname < 1.1a-alt7 %description -n fonts-bitmap-%fname-%cname-misc Collection of cyrillic raster fonts for X Window System in microsoft-cp1251 encoding by D. Bolkhovityanov, misc part. %package -n fonts-bitmap-%fname-%cname-75dpi Group: System/Fonts/X11 bitmap Summary: Cyrillic bitmap fonts in microsoft-cp1251 encoding Conflicts: fonts-bitmap-%fname-%cname < 1.1a-alt7 %description -n fonts-bitmap-%fname-%cname-75dpi Collection of cyrillic raster fonts for X Window System in microsoft-cp1251 encoding by D. Bolkhovityanov, 75dpi part. %prep %setup -q -n %origname for i in misc 75dpi ; do cd $i sed -i 's/-Adobe/-rfx/g' *.bdf sed -i 's/\"Adobe/\"rfx/g' *.bdf sed -i 's/windows/microsoft/g' *.bdf sed -i 's/-1251/-cp1251/g' *.bdf cd - done cp %SOURCE1 ./Makefile cp %SOURCE4 ./misc/fonts.alias cp %SOURCE5 ./75dpi/fonts.alias %build make %install mkdir -p %buildroot%__bitmapdir make FONTDIR=%buildroot%__bitmapdir install # due bdf in orig dir, make only pcf here for n in 75dpi misc; do mkfontdir -e /usr/share/X11/fonts/encodings %buildroot%__bitmapdir/$n done %if_with xfs mkdir -p %buildroot%_fontpathdir/ ln -s ../../..%__bitmapdir/misc \ %buildroot%_fontpathdir/bitmap-%fname-%cname-misc:unscaled:pri=10 ln -s ../../..%__bitmapdir/75dpi \ %buildroot%_fontpathdir/bitmap-%fname-%cname-75dpi:unscaled:pri=10 %endif %files %doc doc/* %files -n fonts-bitmap-%fname-%cname-misc %if_with xfs %_fontpathdir/*misc* %endif %dir %__bitmapdir/ %__bitmapdir/misc/ %files -n fonts-bitmap-%fname-%cname-75dpi %if_with xfs %_fontpathdir/*75dpi* %endif %dir %__bitmapdir/ %__bitmapdir/75dpi/ %changelog * Sat Jan 19 2019 Igor Vlasenko <viy@altlinux.ru> 1.1a-alt9 - added encodings.dir * Sat Jul 07 2018 Igor Vlasenko <viy@altlinux.ru> 1.1a-alt8 - restored X fontpath.d support * Tue Jul 03 2018 Igor Vlasenko <viy@altlinux.ru> 1.1a-alt7 - split on misc and 75dpi subpackages to avoid fonconfig conflict for times and helvetica * Wed Aug 24 2011 Igor Vlasenko <viy@altlinux.ru> 1.1a-alt6 - dropped %%post/un according to Fonts Policy * Thu Jun 02 2011 Igor Vlasenko <viy@altlinux.ru> 1.1a-alt5 - added xorg-font-utils to BuildRequires: * Wed Jun 01 2011 Igor Vlasenko <viy@altlinux.ru> 1.1a-alt4 - rearranged fonts.alias; added -b&h- and lucidasans cp1251 aliases * Fri Sep 07 2007 Vitaly Lipatov <lav@altlinux.ru> 1.1a-alt3 - rebuild with new fonts policy - links to %_fontpathdir, remove chkfontpath - cleanup spec * Wed Sep 05 2007 Vitaly Lipatov <lav@altlinux.ru> 1.1a-alt2 - rebuild with new rpm-build-fonts 0.3 - add require fontconfig 2.4.2 * Sat May 19 2007 Vitaly Lipatov <lav@altlinux.ru> 1.1a-alt1 - rename package, cleanup spec - repackage according to new font policy (fix bug #11794) * Wed Nov 03 2004 ALT QA Team Robot <qa-robot@altlinux.org> 1.1-ipl7mdk.1 - Fixed build with new mkfontdir. * Thu Oct 21 2004 Stanislav Ievlev <inger@altlinux.org> 1.1-ipl7mdk - remove old requires * Wed Oct 01 2003 Stanislav Ievlev <inger@altlinux.ru> 1.1-ipl6mdk - fix building in hasher * Fri Nov 22 2002 AEN <aen@altlinux.ru> 1.1-ipl5mdk - fonts.alias.misc restored * Sun Nov 10 2002 Stanislav Ievlev <inger@altlinux.ru> 1.1-ipl4mdk - rebuild * Tue Apr 16 2002 AEN <aen@logic.ru> 1.1-ipl3mdk - "unscaled" added to font path * Sun Feb 18 2001 AEN <aen@logic.ru> - source global i18n in %post * Mon Nov 28 2000 AEN <aen@logic.ru> - 1.1 - build for RE - name changed * Mon Dec 27 1999 AEN <aen@logic.ru> - new aliases * Tue Dec 21 1999 AEN <aen@logic.ru> - new version - build from bdf's * Fri Dec 10 1999 AEN <aen@logic.ru> - first spec |