Пакет fontconfig: 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 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 | Name: fontconfig Version: 2.13.1 Release: alt1 Summary: Font configuration and customization library and utilities Group: System/Configuration/Other License: MIT Url: http://fontconfig.org/ Packager: Valery Inozemtsev <shrek@altlinux.ru> Source: %name-%version.tar Source1: fontconfig-firsttime Source2: fontconfig.filetrigger # FC Patch1: fontconfig-sleep-less.patch # ALT Patch11: alt-symbols-map.patch Patch12: alt-config.patch Patch13: alt-fc-conf.patch Patch14: alt-disable-postscript-aliases.patch Provides: lib%name = %version Obsoletes: lib%name < %version BuildRequires(pre): rpm-build-ubt BuildRequires: docbook-utils elinks gperf libexpat-devel libfreetype-devel libuuid-devel BuildRequires: python2.7(urllib2) python2.7(lxml) python2.7(six) python2.7(distutils) %description Fontconfig is designed to locate fonts within the system and select them according to requirements specified by applications. %package devel Summary: Development files for font configuration and customization library Group: Development/C Requires: %name = %version-%release %description devel This package includes the fontconfig header files and developer documentation required for development of fontconfig-based software. %define docdir %_docdir/%name %prep %setup -q %patch1 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p1 %patch14 -p1 %autoreconf %build %configure \ --disable-static \ --with-baseconfigdir=%_sysconfdir/fonts \ --with-default-fonts=%_datadir/fonts \ --with-cache-dir=%_var/cache/%name \ --docdir=%docdir \ --with-default-hinting=full \ # %make PDF_FILES= %install %make DESTDIR=%buildroot PDF_FILES= install install -pm644 AUTHORS README %buildroot%docdir/ > %buildroot%_sysconfdir/fonts/local.conf install -Dp -m755 %SOURCE1 %buildroot%_sysconfdir/firsttime.d/%name install -Dp -m755 %SOURCE2 %buildroot%_rpmlibdir/%name.filetrigger for f in $(ls %buildroot%_datadir/%name/conf.avail/1*.conf | sed -ne 's|\(.*/\)\(.*conf\)|\2|p'); do ln -sf ../../../%_datadir/%name/conf.avail/$f %buildroot%_sysconfdir/fonts/conf.d/$f done # add compatibility symlinks find %buildroot/%_datadir/%name/conf.avail/ -type f -name \*.conf | sed -e 's|^.*/||' | \ while read CONF ; do ln -s `relative %_datadir/%name/conf.avail/$CONF %_sysconfdir/fonts/conf.avail/$CONF` %buildroot/%_sysconfdir/fonts/conf.avail/$CONF done find %buildroot/%_sysconfdir/fonts/conf.avail/ -type f -name \*.conf | sed -e 's|^.*/||' | \ while read CONF ; do ln -s `relative %_sysconfdir/fonts/conf.avail/$CONF %_datadir/%name/conf.avail/$CONF` %buildroot/%_datadir/%name/conf.avail/$CONF done %post [ -n "$DURING_INSTALL" ] || %_sysconfdir/firsttime.d/%name ||: %triggerin -- %name < 2.10.91-alt2 find %_datadir/fonts -depth -type f -name fonts.cache-1 -delete find %_var/cache/%name -depth -type f -name \*.cache-\[123\] -delete %triggerpostun -- %name < 2.10.0-alt1 find -L %_sysconfdir/fonts/conf.d -type l -delete %files %_sysconfdir/firsttime.d/%name %dir %_sysconfdir/fonts %dir %_sysconfdir/fonts/conf.d %dir %_sysconfdir/fonts/conf.avail %config %_sysconfdir/fonts/fonts.conf %config(noreplace) %_sysconfdir/fonts/conf.avail/*.conf %_sysconfdir/fonts/conf.d/README %_sysconfdir/fonts/conf.d/[2-9]*.conf %config(noreplace) %_sysconfdir/fonts/conf.d/10-antialias.conf %config(noreplace) %_sysconfdir/fonts/conf.d/10-hinting.conf %config(noreplace) %_sysconfdir/fonts/conf.d/10-hinting-full.conf %config(noreplace) %_sysconfdir/fonts/conf.d/10-sub-pixel-rgb.conf %config(noreplace) %_sysconfdir/fonts/conf.d/11-lcdfilter-default.conf %ghost %_sysconfdir/fonts/conf.d/10-autohint.conf %ghost %_sysconfdir/fonts/conf.d/10-no-antialias.conf %ghost %_sysconfdir/fonts/conf.d/10-no-sub-pixel.conf %ghost %_sysconfdir/fonts/conf.d/10-scale-bitmap-fonts.conf %ghost %_sysconfdir/fonts/conf.d/10-hinting-slight.conf %ghost %_sysconfdir/fonts/conf.d/10-hinting-medium.conf %ghost %_sysconfdir/fonts/conf.d/10-hinting-none.conf %ghost %_sysconfdir/fonts/conf.d/10-sub-pixel-bgr.conf %ghost %_sysconfdir/fonts/conf.d/10-sub-pixel-vbgr.conf %ghost %_sysconfdir/fonts/conf.d/10-sub-pixel-vrgb.conf %ghost %_sysconfdir/fonts/conf.d/10-unhinted.conf %ghost %_sysconfdir/fonts/conf.d/11-lcdfilter-legacy.conf %ghost %_sysconfdir/fonts/conf.d/11-lcdfilter-light.conf %ghost %_sysconfdir/fonts/conf.d/11-lcdfilter-none.conf %ghost %config(missingok,noreplace) %_sysconfdir/fonts/local.conf %_bindir/fc-* %_libdir/*.so.* %_rpmlibdir/%name.filetrigger %_datadir/%name %_datadir/xml/%name %_man1dir/* %_man5dir/* %dir %_var/cache/%name %docdir %exclude %docdir/%name-devel* %files devel %_libdir/*.so %_pkgconfigdir/*.pc %_includedir/* %_man3dir/* %dir %docdir %docdir/%name-devel* %changelog * Wed Oct 31 2018 Sergey V Turchin <zerg@altlinux.org> 2.13.1-alt1 - new version * Thu Sep 21 2017 Sergey V Turchin <zerg@altlinux.org> 2.12.6-alt1%ubt - new version * Thu Aug 10 2017 Sergey V Turchin <zerg@altlinux.org> 2.12.4-alt1%ubt - new version * Wed Apr 12 2017 Sergey V Turchin <zerg@altlinux.org> 2.12.1-alt2%ubt - add fixes for new glibc and gperf * Fri Aug 12 2016 Sergey V Turchin <zerg@altlinux.org> 2.12.1-alt1 - new version * Tue Nov 10 2015 Sergey V Turchin <zerg@altlinux.org> 2.11.1-alt4 - increase priority of alt-post-user.conf (ALT#31462) * Mon Aug 11 2014 Sergey V Turchin <zerg@altlinux.org> 2.11.1-alt2.M70P.1 - built for M70P * Wed Jul 23 2014 Sergey V Turchin <zerg@altlinux.org> 2.11.1-alt3 - sync patches with FC * Thu Jul 10 2014 Sergey V Turchin <zerg@altlinux.org> 2.11.1-alt2 - by default turn on antialias lcdfilter-default hinting style-full sub-pixel-rgb - by default decrease ms fonts priority * Wed Mar 26 2014 Sergey V Turchin <zerg@altlinux.org> 2.11.1-alt0.M70P.1 - built for M70P * Wed Mar 26 2014 Sergey V Turchin <zerg@altlinux.org> 2.11.1-alt1 - new version * Wed Mar 12 2014 Sergey V Turchin <zerg@altlinux.org> 2.11.0-alt4 - don't fail post-script with broken freetype * Thu Feb 06 2014 Sergey V Turchin <zerg@altlinux.org> 2.11.0-alt2.M70P.1 - built for M70P * Thu Feb 06 2014 Sergey V Turchin <zerg@altlinux.org> 2.11.0-alt3 - disable only Nimbus fonts for PostScript aliases (ALT#26768) * Mon Nov 11 2013 Sergey V Turchin <zerg@altlinux.org> 2.11.0-alt1.M70P.1 - built for M70P * Mon Nov 11 2013 Sergey V Turchin <zerg@altlinux.org> 2.11.0-alt2 - add patch from FC to decrease sleep in fc-cache * Wed Oct 23 2013 Sergey V Turchin <zerg@altlinux.org> 2.11.0-alt0.M70P.1 - built for M70P * Thu Oct 17 2013 Sergey V Turchin <zerg@altlinux.org> 2.11.0-alt1 - new version * Thu Oct 17 2013 Sergey V Turchin <zerg@altlinux.org> 2.10.95-alt3 - fix apply patch for ALT#26768 * Mon Sep 23 2013 Sergey V Turchin <zerg@altlinux.org> 2.10.95-alt2 - disable PostScript aliases by default (ALT#26768) * Fri Sep 13 2013 Sergey V Turchin <zerg@altlinux.org> 2.10.95-alt1 - 2.11 RC5 * Thu Jun 20 2013 Sergey V Turchin <zerg@altlinux.org> 2.10.93-alt2 - update own configs according upstream config changes * Fri May 31 2013 Sergey V Turchin <zerg@altlinux.org> 2.10.93-alt1 - 2.11 RC3 * Mon May 06 2013 Sergey V Turchin <zerg@altlinux.org> 2.10.92-alt1 - 2.11 RC2 * Tue Apr 30 2013 Sergey V Turchin <zerg@altlinux.org> 2.10.91-alt7 - non't use assign instead of append for sub-pixel rendering because configs was fixed * Thu Mar 28 2013 Sergey V Turchin <zerg@altlinux.org> 2.10.91-alt6 - add upstream fix against broken sort order with FcFontSort() * Wed Mar 27 2013 Sergey V Turchin <zerg@altlinux.org> 2.10.91-alt5 - add upstream fix against broken 10-autohint.conf and 10-unhinted.conf (ALT#28620) * Tue Mar 19 2013 Sergey V Turchin <zerg@altlinux.org> 2.10.91-alt4 - use assign instead of append for sub-pixel rendering default config to return fine fonts look * Wed Feb 20 2013 Sergey V Turchin <zerg@altlinux.org> 2.10.91-alt3 - add compatibility config symlinks (ALT #28555) * Wed Feb 13 2013 Valery Inozemtsev <shrek@altlinux.ru> 2.10.91-alt2 - updated to master git.72b0480 * Fri Jan 11 2013 Valery Inozemtsev <shrek@altlinux.ru> 2.10.91-alt1 - 2.11 RC1 * Wed Nov 28 2012 Valery Inozemtsev <shrek@altlinux.ru> 2.10.2-alt1 - 2.10.2 * Wed Jul 18 2012 Valery Inozemtsev <shrek@altlinux.ru> 2.10.0-alt1 - 2.10.0 * Wed Mar 28 2012 Valery Inozemtsev <shrek@altlinux.ru> 2.9.0-alt2 - updated to master git.fe6ba5e * Mon Mar 12 2012 Valery Inozemtsev <shrek@altlinux.ru> 2.9.0-alt1 - 2.9.0 * Sat Dec 03 2011 Dmitry V. Levin <ldv@altlinux.org> 2.8.0-alt9 - Fixed build, updated build dependencies. - Fixed %name-devel dependencies. - Fixed packaging of documentation. - Cleaned up specfile. * Wed Aug 17 2011 Valery Inozemtsev <shrek@altlinux.ru> 2.8.0-alt8 - updated fontconfig.filetrigger (closes #25992) * Thu Jul 14 2011 Valery Inozemtsev <shrek@altlinux.ru> 2.8.0-alt7 - added fontconfig.filetrigger (closes #25862) * Thu Feb 10 2011 Alexey Tourbin <at@altlinux.ru> 2.8.0-alt6 - rebuilt for debuginfo - disabled symbol versioning * Thu Oct 21 2010 Valery Inozemtsev <shrek@altlinux.ru> 2.8.0-alt5 - rebuild * Thu Dec 17 2009 Valery Inozemtsev <shrek@altlinux.ru> 2.8.0-alt4 - prefer DejaVu before Liberation (closes: #22539) * Thu Dec 17 2009 Valery Inozemtsev <shrek@altlinux.ru> 2.8.0-alt3 - configs: + drop win fonts + added Droid * Sun Dec 13 2009 Valery Inozemtsev <shrek@altlinux.ru> 2.8.0-alt2 - prefer Liberation before Dejavu * Thu Nov 19 2009 Valery Inozemtsev <shrek@altlinux.ru> 2.8.0-alt1 - 2.8.0 * Mon Nov 09 2009 Valery Inozemtsev <shrek@altlinux.ru> 2.7.3-alt1 - 2.7.3 * Tue Sep 01 2009 Valery Inozemtsev <shrek@altlinux.ru> 2.7.2-alt1 - 2.7.2 * Wed Aug 26 2009 Valery Inozemtsev <shrek@altlinux.ru> 2.7.1-alt2 - fixed bug in FcLangSetContains * Tue Jul 28 2009 Valery Inozemtsev <shrek@altlinux.ru> 2.7.1-alt1 - 2.7.1 * Wed Jun 24 2009 Valery Inozemtsev <shrek@altlinux.ru> 2.7.0-alt1 - 2.7.0 * Tue Jan 06 2009 Valery Inozemtsev <shrek@altlinux.ru> 2.6.0-alt3 - fc-conf: added lcdfilter settings * Sat Nov 22 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.6.0-alt2 - removed obsolete %%post_ldconfig/%%postun_ldconfig calls * Sun Jun 01 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.6.0-alt1 - 2.6 release * Sun May 25 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.5.93-alt1 - 2.6 RC3 * Sun May 04 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.5.92-alt1 - 2.6 RC2 * Thu Jan 10 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.5.91-alt1 - 2.6 RC1 * Thu Dec 13 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.5.0-alt2 - FcOpNotContains should use strstr, not strcmp on strings * Wed Nov 14 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.5.0-alt1 - 2.5.0 - introduced FC_2.5 ABI interface for new functions in libfontconfig.so.1 * Tue Nov 06 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.4.92-alt1 - 2.5 RC2 * Fri Oct 26 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.4.91-alt1 - 2.5 RC1 * Tue Aug 07 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.4.2-alt3 - added fc-conf utility, see fc-conf --help * Mon Aug 06 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.4.2-alt2 - added fontconfig-2.4.2-git-FcDirCacheUnlink-bug11756.patch: + Free temporary string in FcDirCacheUnlink * Thu Aug 02 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.4.2-alt1 - 2.4.2 - introduced FC_2.4 ABI interface for new functions in libfontconfig.so.1 - remove deprecated /usr/X11R6/lib/X11/fonts - set default fonts dir to %%_datadir/fonts - updated build dependencies * Tue May 22 2007 Sergey V Turchin <zerg at altlinux dot org> 2.3.2-alt10 - update font aliases; thanks shrek@alt * Fri May 18 2007 Sergey V Turchin <zerg at altlinux dot org> 2.3.2-alt9 - add font aliases for DejaVu fonts * Mon Apr 16 2007 ALT QA Team Robot <qa-robot@altlinux.org> 2.3.2-alt8.0 - Automated rebuild. * Mon May 15 2006 Sergey V Turchin <zerg at altlinux dot org> 2.3.2-alt8 - add patch to don't use freetype internals * Mon Mar 20 2006 Sergey V Turchin <zerg at altlinux dot org> 2.3.2-alt7 - add entire %%_datadir/fonts/bitmap * Fri Dec 30 2005 Sergey V Turchin <zerg at altlinux dot org> 2.3.2-alt6 - add %%_datadir/fonts/bitmap/terminus * Fri Dec 16 2005 Sergey V Turchin <zerg at altlinux dot org> 2.3.2-alt5 - add /usr/share/fonts/otf to search paths * Tue Dec 13 2005 Sergey V Turchin <zerg at altlinux dot org> 2.3.2-alt4 - remove /usr/X11R6/lib/X11/fonts/urw-ttf from search paths - add /usr/share/fonts/bitmap/misc,/usr/share/fonts/ttf,/usr/share/fonts/type1 to search paths * Sat Sep 10 2005 Alexey Tourbin <at@altlinux.ru> 2.3.2-alt3 - NMU: introduced FC_2.3 ABI interface for new functions in libfontconfig.so.1 * Fri Aug 05 2005 Sergey V Turchin <zerg at altlinux dot org> 2.3.2-alt2 - add Misc Fixed to monospace alias * Thu Jun 02 2005 Sergey V Turchin <zerg at altlinux dot org> 2.3.2-alt1 - new version - merge configuration/patches from SuSE * Fri Mar 18 2005 Sergey V Turchin <zerg at altlinux dot org> 2.3.0-alt1 - new version * Thu Oct 21 2004 Sergey V Turchin <zerg at altlinux dot org> 2.2.3-alt1 - new version * Thu Jun 17 2004 Sergey V Turchin <zerg at altlinux dot org> 2.2.2-alt4 - remove /usr/X11R6/lib/X11/fonts/Type1 from fonts.conf * Thu Jun 17 2004 Sergey V Turchin <zerg at altlinux dot org> 2.2.2-alt3 - fix %%post * Tue May 25 2004 Sergey V Turchin <zerg at altlinux dot org> 2.2.2-alt2 - prefer XLinSans before Numbus - prefer MS Fonts before Fixed * Thu May 20 2004 Sergey V Turchin <zerg at altlinux dot org> 2.2.2-alt1 - new version - merge configuration scheme from SuSE * Mon Feb 09 2004 Sergey V Turchin <zerg at altlinux dot org> 2.2.1-alt5 - fix path to ms-fonts-ttf * Tue Dec 02 2003 Dmitry V. Levin <ldv@altlinux.org> 2.2.1-alt4 - Ignore .fulldir entries from earlier versions 'dircache' fix (RH). - Don't read from/write to NULL cache files (RH). - Do not package .la files. * Thu Oct 30 2003 AEN <aen@altlinux.ru> 2.2.1-alt3 - XLinSans is preferable Sans now * Wed Jul 16 2003 AEN <aen@altlinux.ru> 2.2.1-alt2 - old fonts.conf restored * Wed Jun 18 2003 AEN <aen@altlinux.ru> 2.2.1-alt1 - 2.2.1 - mhz patches & spec * Wed Jun 11 2003 Mikhail Zabaluev <mhz@altlinux.ru> 2.2.0-alt0.1 - New version - Patch3 gone upstream - Use default config with known-good preconfigured paths - Disabled doc build broken too badly - Cleaned up filelist - Optional devel-static subpackage * Sat Apr 12 2003 AEN <aen@altlinux.ru> 2.1-alt2 - dircahce patch from RH * Fri Feb 28 2003 AEN <aen@altlinux.ru> 2.1-alt1 - new version * Fri Jan 17 2003 AEN <aen@altlinux.ru> 2.0-alt12 - desplitting * Sun Jan 05 2003 AEN <aen@altlinux.ru> 2.0-alt11 - lib%name required %name * Wed Nov 20 2002 AEN <aen@altlinux.ru> 2.0-alt10 - path to jdk-fonts added to fonts.conf * Wed Nov 20 2002 Mikhail Zabaluev <mhz@altlinux.ru> 2.0-alt9.1mhz - libification (again) - remove src/fclang.o to rebuild just it instead of all-out make clean * Wed Nov 13 2002 AEN <aen@altlinux.ru> 2.0-alt9 - build fixed * Tue Oct 15 2002 AEN <aen@altlinux.ru> 2.0-alt8 - XLinSans & CourierCyr added to fonts.conf * Fri Oct 11 2002 AEN <aen@altlinux.ru> 2.0-alt7 - fonts.conf changed again * Thu Oct 10 2002 AEN <aen@altlinux.ru> 2.0-alt6 - ru.orth fix - lang.h build * Tue Oct 08 2002 AEN <aen@altlinux.ru> 2.0-alt5 - gww-ttf removed from fonts.conf * Fri Oct 04 2002 AEN <aen@altlinux.ru> 2.0-alt4 - fonts.conf fixed * Fri Oct 04 2002 AEN <aen@altlinux.ru> 2.0-alt3 - patches & %post from RH * Mon Sep 23 2002 AEN <aen@altlinux.ru> 2.0-alt2 - %files fixed * Wed Sep 18 2002 AEN <aen@altlinux.ru> 2.0-alt1 - release * Tue Jul 02 2002 AEN <aen@logic.ru> 0.0.1-alt1 - first build for Sisyphus - config patch (alt specific) * Tue Jun 18 2002 Owen Taylor <otaylor@redhat.com> - Fix crash from FcObjectSetAdd * Tue Jun 11 2002 Owen Taylor <otaylor@redhat.com> - make fonts.conf %%config, not %%config(noreplace) - Another try at the CJK aliases - Add some CJK fonts to the config - Prefer Luxi Mono to Nimbus Mono * Mon Jun 10 2002 Owen Taylor <otaylor@redhat.com> - New upstream version - Fix matching for bitmap fonts * Mon Jun 3 2002 Owen Taylor <otaylor@redhat.com> - New version, new upstream mega-tarball * Tue May 28 2002 Owen Taylor <otaylor@redhat.com> - Fix problem with FcConfigSort * Fri May 24 2002 Owen Taylor <otaylor@redhat.com> - Initial specfile |