Пакет fonts-bitmap-cyr_rfx-koi8-r: 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 178 179 180 181 182 | %def_with xfs %define fname cyr_rfx %define cname koi8-r %define origname koi8-1 %define _fontsdir %_datadir/fonts/bitmap Name: fonts-bitmap-%fname-%cname Version: 1.1 Release: alt17 License: distributable Group: System/Fonts/X11 bitmap URL: http://www.inp.nsk.su/~bolkhov/files/fonts/cyr-rfx/00index.ru.html Summary: Cyrillic bitmap fonts for the X Window System in koi8-r encoding Source: cyr-rfx-%origname-%version.bdfs.tar.bz2 Source1: Makefile.fonts-koi8-r BuildArch: noarch PreReq: fontconfig >= 2.4.2 Obsoletes: cyr_rfx-koi8-1 XFree86-cyr_rfx-fonts-koi8-1 XFree86-%fname-fonts-%cname Requires: fonts-bitmap-%fname-%cname-misc = %EVR Requires: fonts-bitmap-%fname-%cname-75dpi = %EVR # Automatically added by buildreq on Wed Oct 01 2003 BuildRequires: xorg-font-utils xorg-font-encodings %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 koi8-r encoding - misc part Conflicts: fonts-bitmap-%fname-%cname < 1.1-alt15 %description -n fonts-bitmap-%fname-%cname-misc Collection of cyrillic raster fonts for X Window System in koi8-r encoding by D. Bolkhovityanov, misc part. %package -n fonts-bitmap-%fname-%cname-75dpi Group: System/Fonts/X11 bitmap Summary: Cyrillic bitmap fonts in koi8-r encoding - 75dpi part Conflicts: fonts-bitmap-%fname-%cname < 1.1-alt15 %description -n fonts-bitmap-%fname-%cname-75dpi Collection of cyrillic raster fonts for X Window System in koi8-r encoding by D. Bolkhovityanov, 75dpi part. %prep %setup -q -n %origname cd 75dpi sed -i 's/-Adobe/-rfx/g' *.bdf sed -i 's/\"Adobe/\"rfx/g' *.bdf sed -i 's/koi8-1/koi8-r/g' *.bdf sed -i 's/\"-adobe-/\"-rfx-/g' fonts.alias sed -i 's/ -b\&h-lucida-/ -rfx-serene-/g' fonts.alias sed -i 's/ -b\&h-lucidatypewriter-/ -rfx-serenetypewriter-/g' fonts.alias echo 'variable -*-helvetica-bold-r-normal-*-*-120-*-*-*-*-koi8-r' >> fonts.alias cd - cd misc sed -i 's/-Adobe/-rfx/g' *.bdf sed -i 's/\"Adobe/\"rfx/g' *.bdf sed -i 's/koi8-1/koi8-r/g' *.bdf grep -v helvetica-bold-r-normal fonts.alias > fonts.alias.0 mv fonts.alias.0 fonts.alias cd - cp %SOURCE1 ./Makefile subst 's,koi8-1,koi8-r,g' */fonts.alias %build make %install mkdir -p %buildroot%_fontsdir/%fname-%cname make FONTDIR=%buildroot%_fontsdir/%fname-%cname install for n in 75dpi misc; do mkfontdir -e /usr/share/X11/fonts/encodings %buildroot%_fontsdir/%fname-%cname/$n; done %if_with xfs mkdir -p %buildroot%_sysconfdir/X11/fontpath.d ln -s ../../..%_fontsdir/%fname-%cname/misc \ %buildroot%_sysconfdir/X11/fontpath.d/bitmap-%fname-%cname-misc:unscaled:pri=10 ln -s ../../..%_fontsdir/%fname-%cname/75dpi \ %buildroot%_sysconfdir/X11/fontpath.d/bitmap-%fname-%cname-75dpi:unscaled:pri=10 %endif %files %doc doc/* %files -n fonts-bitmap-%fname-%cname-misc %if_with xfs %_sysconfdir/X11/fontpath.d/*misc* %endif %dir %_fontsdir/%fname-%cname %_fontsdir/%fname-%cname/misc %files -n fonts-bitmap-%fname-%cname-75dpi %if_with xfs %_sysconfdir/X11/fontpath.d/*75dpi* %endif %dir %_fontsdir/%fname-%cname %_fontsdir/%fname-%cname/75dpi %changelog * Sat Jan 19 2019 Igor Vlasenko <viy@altlinux.ru> 1.1-alt17 - added encodings.dir * Sat Jul 07 2018 Igor Vlasenko <viy@altlinux.ru> 1.1-alt16 - restored X fontpath.d support * Tue Jul 03 2018 Igor Vlasenko <viy@altlinux.ru> 1.1-alt15 - split on misc and 75dpi subpackages to avoid fonconfig conflict for times and helvetica * Wed Aug 24 2011 Igor Vlasenko <viy@altlinux.ru> 1.1-alt14 - dropped %%post/un according to Fonts Policy * Wed Jun 01 2011 Igor Vlasenko <viy@altlinux.ru> 1.1-alt13 - properly fixed b&h aliases. * Mon May 30 2011 Igor Vlasenko <viy@altlinux.ru> 1.1-alt12 - found and fixed b&h aliases * Mon May 30 2011 Igor Vlasenko <viy@altlinux.ru> 1.1-alt11 - use real fonts in fonts.alias (closes: 13430) * Mon Sep 03 2007 Valery Inozemtsev <shrek@altlinux.ru> 1.1-alt10 - fixed %%post - added update fonconfig cache in %%postun * Thu Aug 30 2007 Valery Inozemtsev <shrek@altlinux.ru> 1.1-alt9 - rebuild with fonts policy - used %_sysconfdir/X11/fontpath.d, adieu chkfontpath * Wed Nov 03 2004 ALT QA Team Robot <qa-robot@altlinux.org> 1.1-alt8.1 - Fixed build with new mkfontdir. * Thu Oct 21 2004 Stanislav Ievlev <inger@altlinux.org> 1.1-alt8 - remove old requires * Wed Oct 01 2003 Stanislav Ievlev <inger@altlinux.ru> 1.1-alt7 - fix build in hasher * Sun Nov 10 2002 Stanislav Ievlev <inger@altlinux.ru> 1.1-alt6 - rebuild * Wed Apr 17 2002 Stanislav Ievlev <inger@altlinux.ru> 1.1-alt5 - fixed sources names * Tue Apr 16 2002 AEN <aen@logic.ru> 1.1-alt4 - back to alt2 * Tue Apr 16 2002 AEN <aen@logic.ru> 1.1-alt3 - CHARSET_ENCODING changed to "r" * Tue Apr 16 2002 AEN <aen@logic.ru> 1.1-alt2 - "unscaled" added to font path * Mon Nov 19 2001 AEN <aen@logic.ru> 1.1-alt1 - new name - s/koi8-1/koi8-r/ * Sun Feb 18 2001 AEN <aen@logic.ru> - source global i18n in %post * Wed Jan 10 2001 AEN <aen@logic.ru> - restored simple aliases for misc * 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 |