Package fonts-bitmap-cyr_rfx-iso10646-0400: 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 | %def_with xfs %define fname cyr_rfx %define cname iso10646-0400 %define origname iso10646-0400 %define _fontsdir %_datadir/fonts/bitmap Name: fonts-bitmap-%fname-%cname Version: 1.1 Release: alt12 License: distributable Group: System/Fonts/X11 bitmap Summary: Cyrillic bitmap fonts for the X Window System in unicode encoding URL: http://www.inp.nsk.su/~bolkhov/files/fonts/cyr-rfx/00index.ru.html Source: cyr-rfx-%origname-%version.bdfs.tar.bz2 Source1: Makefile.fonts-iso10646 BuildArch: noarch PreReq: fontconfig >= 2.4.2 Obsoletes: 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 %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 unicode encoding - misc part Conflicts: fonts-bitmap-%fname-%cname < 1.1-alt11 %description -n fonts-bitmap-%fname-%cname-misc Collection of cyrillic raster fonts for X Window System in unicode encoding by D. Bolkhovityanov, misc part. %package -n fonts-bitmap-%fname-%cname-75dpi Group: System/Fonts/X11 bitmap Summary: Cyrillic bitmap fonts in unicode encoding - 75dpi part Conflicts: fonts-bitmap-%fname-%cname < 1.1-alt11 %description -n fonts-bitmap-%fname-%cname-75dpi Collection of cyrillic raster fonts for X Window System in unicode 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/\"-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 cd - cd misc sed -i 's/-Adobe/-rfx/g' *.bdf sed -i 's/\"Adobe/\"rfx/g' *.bdf cd - cp %SOURCE1 ./Makefile # no need... rm -f */fonts.alias %build make %install mkdir -p %buildroot%_fontsdir/%fname-%cname make FONTDIR=%buildroot%_fontsdir/%fname-%cname install mkfontdir %buildroot%_fontsdir/%fname-%cname/misc mkfontdir %buildroot%_fontsdir/%fname-%cname/75dpi %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=20 ln -s ../../..%_fontsdir/%fname-%cname/75dpi \ %buildroot%_sysconfdir/X11/fontpath.d/bitmap-%fname-%cname-75dpi:unscaled:pri=20 %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 Jul 07 2018 Igor Vlasenko <viy@altlinux.ru> 1.1-alt12 - restored X fontpath.d support * Tue Jul 03 2018 Igor Vlasenko <viy@altlinux.ru> 1.1-alt11 - 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-alt10 - dropped %%post/un according to Fonts Policy * Wed Jun 01 2011 Igor Vlasenko <viy@altlinux.ru> 1.1-alt9 - fixed bugs in default fonts.alias, just in case * Mon May 30 2011 Igor Vlasenko <viy@altlinux.ru> 1.1-alt8 - added URL, cleaned up spec * Thu Sep 06 2007 Valery Inozemtsev <shrek@altlinux.ru> 1.1-alt7 - lower priority * Mon Sep 03 2007 Valery Inozemtsev <shrek@altlinux.ru> 1.1-alt6 - fixed %%post - added update fonconfig cache in %%postun * Thu Aug 30 2007 Valery Inozemtsev <shrek@altlinux.ru> 1.1-alt5 - 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-alt4.1 - Fixed build with new mkfontdir. * Thu Oct 21 2004 Stanislav Ievlev <inger@altlinux.org> 1.1-alt4 - remove old requires * Wed Oct 01 2003 Stanislav Ievlev <inger@altlinux.ru> 1.1-alt3 - fix building in hasher * Sun Nov 10 2002 Stanislav Ievlev <inger@altlinux.ru> 1.1-alt2 - rebuild * Wed Sep 18 2002 Alexey Dyachenko <alexd@altlinux.ru> 1.1-alt1 - first version - copy spec from cyr_rfx koi8-r package |