Add a man page for xorg-x11-fonts-update-dirs
This commit is contained in:
parent
c1d5137551
commit
e0bebcd34d
@ -6,7 +6,7 @@ Name: xorg-x11-%{pkgname}
|
|||||||
# IMPORTANT: If package ever gets renamed to something else, remove the Epoch line!
|
# IMPORTANT: If package ever gets renamed to something else, remove the Epoch line!
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 7.5
|
Version: 7.5
|
||||||
Release: 20%{?dist}
|
Release: 21%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: User Interface/X
|
Group: User Interface/X
|
||||||
URL: http://www.x.org
|
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
|
Source4: ftp://ftp.x.org/pub/individual/font/font-util-1.3.0.tar.bz2
|
||||||
# helper script used in %post for xorg-x11-fonts
|
# helper script used in %post for xorg-x11-fonts
|
||||||
Source5: xorg-x11-fonts-update-dirs
|
Source5: xorg-x11-fonts-update-dirs
|
||||||
|
Source6: xorg-x11-fonts-update-dirs.1
|
||||||
|
|
||||||
Patch2: mkfontscale-examine-all-encodings.patch
|
Patch2: mkfontscale-examine-all-encodings.patch
|
||||||
Patch3: mkfontscale-man-page-additions.patch
|
Patch3: mkfontscale-man-page-additions.patch
|
||||||
@ -88,6 +89,9 @@ ln -s ../X11/fonts $RPM_BUILD_ROOT%{_datadir}/fonts/X11
|
|||||||
install -m 744 %{SOURCE5} ${RPM_BUILD_ROOT}%{_bindir}/xorg-x11-fonts-update-dirs
|
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
|
sed -i "s:@DATADIR@:%{_datadir}:" ${RPM_BUILD_ROOT}%{_bindir}/xorg-x11-fonts-update-dirs
|
||||||
|
|
||||||
|
install -d ${RPM_BUILD_ROOT}%{_mandir}/man1/
|
||||||
|
install -m 744 -p %{SOURCE6} ${RPM_BUILD_ROOT}%{_mandir}/man1/xorg-x11-fonts-update-dirs.1
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README-* COPYING-bdftopcf COPYING-[c-z]*
|
%doc README-* COPYING-bdftopcf COPYING-[c-z]*
|
||||||
%{_bindir}/bdftopcf
|
%{_bindir}/bdftopcf
|
||||||
@ -110,8 +114,12 @@ sed -i "s:@DATADIR@:%{_datadir}:" ${RPM_BUILD_ROOT}%{_bindir}/xorg-x11-fonts-upd
|
|||||||
%{_mandir}/man1/mkfontdir.1*
|
%{_mandir}/man1/mkfontdir.1*
|
||||||
%{_mandir}/man1/mkfontscale.1*
|
%{_mandir}/man1/mkfontscale.1*
|
||||||
%{_mandir}/man1/ucs2any.1*
|
%{_mandir}/man1/ucs2any.1*
|
||||||
|
%{_mandir}/man1/xorg-x11-fonts-update-dirs.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 25 2014 Peter Hutterer <peter.hutterer@redhat.com> 1:7.5-21
|
||||||
|
- Add a man page for xorg-x11-fonts-update-dirs
|
||||||
|
|
||||||
* Sat Jul 19 2014 Hans de Goede <hdegoede@redhat.com> - 1:7.5-20
|
* Sat Jul 19 2014 Hans de Goede <hdegoede@redhat.com> - 1:7.5-20
|
||||||
- Add a /usr/share/fonts/X11 symlink to usr/share/X11/fonts (rhbz#1046341)
|
- Add a /usr/share/fonts/X11 symlink to usr/share/X11/fonts (rhbz#1046341)
|
||||||
|
|
||||||
|
23
xorg-x11-fonts-update-dirs.1
Normal file
23
xorg-x11-fonts-update-dirs.1
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user