diff --git a/.gitignore b/.gitignore index 211d0f0..50ede10 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ -SOURCES/fonttosfnt-1.0.3.tar.bz2 SOURCES/bdftopcf-1.0.4.tar.bz2 SOURCES/font-util-1.3.0.tar.bz2 -SOURCES/mkfontscale-1.1.0.tar.bz2 +SOURCES/fonttosfnt-1.0.3.tar.bz2 SOURCES/mkfontdir-1.0.7.tar.bz2 +SOURCES/mkfontscale-1.1.0.tar.bz2 diff --git a/.xorg-x11-font-utils.metadata b/.xorg-x11-font-utils.metadata index 09c9fbd..f61a5bc 100644 --- a/.xorg-x11-font-utils.metadata +++ b/.xorg-x11-font-utils.metadata @@ -1,5 +1,5 @@ -8ef6ddfa7d010416dba251c37655a2629887db2f SOURCES/fonttosfnt-1.0.3.tar.bz2 6010f4748d30007ebfeaa8cb053ec3c2e9bbda34 SOURCES/bdftopcf-1.0.4.tar.bz2 a015f4c5a35d98af72835797293697e0eb9cd506 SOURCES/font-util-1.3.0.tar.bz2 -ba021369ae3b364ba083b9eb5e570e54b21fd583 SOURCES/mkfontscale-1.1.0.tar.bz2 +8ef6ddfa7d010416dba251c37655a2629887db2f SOURCES/fonttosfnt-1.0.3.tar.bz2 3c06dad8a5fbf7362b51fb7d6b1ab805eba40336 SOURCES/mkfontdir-1.0.7.tar.bz2 +ba021369ae3b364ba083b9eb5e570e54b21fd583 SOURCES/mkfontscale-1.1.0.tar.bz2 diff --git a/SOURCES/xorg-x11-fonts-update-dirs.1 b/SOURCES/xorg-x11-fonts-update-dirs.1 new file mode 100644 index 0000000..847f824 --- /dev/null +++ b/SOURCES/xorg-x11-fonts-update-dirs.1 @@ -0,0 +1,23 @@ +.TH XORG-X11-FONTS-UPDATE-DIRS 1 "25 July 2014" +.SH NAME +xorg-x11-fonts-update-dirs \- update X11 font directories +.SH SYNOPSIS +.B xorg-x11-fonts-update-dirs [--skip-fontscale] [--need-ttmkfdir] path +.SH DESCRIPTION +.PP +The +.B xorg-x11-fonts-* +rpm packages call +.I xorg-x11-fonts-update-dirs +during %post and %postun to update the X11 font indices. +This script may change in incompatible ways without notice and +you should not run this script manually or rely on it otherwise. +To manually update the font indices invoke +.B mkfontscale +and +.B ttmkfdir +directly as required. +.PP +.SH "SEE ALSO" +mkfontscale(1) +ttmkfdir(1) diff --git a/SPECS/xorg-x11-font-utils.spec b/SPECS/xorg-x11-font-utils.spec index 750d5ee..8591315 100644 --- a/SPECS/xorg-x11-font-utils.spec +++ b/SPECS/xorg-x11-font-utils.spec @@ -6,7 +6,7 @@ Name: xorg-x11-%{pkgname} # IMPORTANT: If package ever gets renamed to something else, remove the Epoch line! Epoch: 1 Version: 7.5 -Release: 18.1%{?dist} +Release: 20%{?dist} License: MIT Group: User Interface/X URL: http://www.x.org @@ -18,6 +18,7 @@ Source3: ftp://ftp.x.org/pub/individual/app/mkfontscale-%{mkfontscale}.tar.bz2 Source4: ftp://ftp.x.org/pub/individual/font/font-util-1.3.0.tar.bz2 # helper script used in %post for xorg-x11-fonts Source5: xorg-x11-fonts-update-dirs +Source6: xorg-x11-fonts-update-dirs.1 Patch2: mkfontscale-examine-all-encodings.patch Patch3: mkfontscale-man-page-additions.patch @@ -83,6 +84,9 @@ rm -rf $RPM_BUILD_ROOT install -m 744 %{SOURCE5} ${RPM_BUILD_ROOT}%{_bindir}/xorg-x11-fonts-update-dirs sed -i "s:@DATADIR@:%{_datadir}:" ${RPM_BUILD_ROOT}%{_bindir}/xorg-x11-fonts-update-dirs +install -d ${RPM_BUILD_ROOT}%{_mandir}/man1/ +install -m 644 -p %{SOURCE6} ${RPM_BUILD_ROOT}%{_mandir}/man1/xorg-x11-fonts-update-dirs.1 + %clean rm -rf $RPM_BUILD_ROOT @@ -107,8 +111,15 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/mkfontdir.1* %{_mandir}/man1/mkfontscale.1* %{_mandir}/man1/ucs2any.1* +%{_mandir}/man1/xorg-x11-fonts-update-dirs.1* %changelog +* Tue May 12 2015 Peter Robinson 1:7.5-20 +- rebuild + +* Wed Aug 06 2014 Peter Hutterer 1:7.5-19 +- Add a man page for xorg-x11-fonts-update-dirs (#948841) + * Wed Feb 12 2014 Adam Jackson 7.5-18.1 - Mass rebuild