diff --git a/README.md b/README.md index 6e65490..bb82d02 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,19 @@ # xfontsel +The xfontsel application provides a simple way to display the fonts known to your X server, examine samples of each, and retrieve the X Logical Font Description ("XLFD") full name for a font. + +If -pattern is not specified, all fonts with XLFD 14-part names will be selectable. +To work with only a subset of the fonts, specify -pattern followed by a partially or fully qualified font name; e.g., "-pattern *medium*" will select that subset of fonts which contain the string "medium" somewhere in their font name. +Be careful about escaping wildcard characters in your shell. + +If -print is specified on the command line the selected font specifier will be written to standard output when the quit button is activated. +Regardless of whether or not -print was specified, the font specifier may be made the PRIMARY (text) selection by activating the select button. + +The -sample option specifies the sample text to be used to display the selected font if the font is linearly indexed, overriding the default. + +The -sample16 option specifies the sample text to be used to display the selected font if the font is matrix encoded, overriding the default. + +The -sampleUCS option specifies the sample text encoded in the UTF-8 form to be used to display the selected font if the font has a CHARSET_REGISTRY of ISO10646, overriding the default. + +The -scaled option enables the ability to select scaled fonts at arbitrary pixel or point sizes. + diff --git a/xfontsel.spec b/xfontsel.spec new file mode 100644 index 0000000..19c91ad --- /dev/null +++ b/xfontsel.spec @@ -0,0 +1,68 @@ +Name: xfontsel +Version: 1.0.5 +Release: 1mamba +Summary: xfontsel - point and click selection of X11 font names +Group: Graphical Desktop/Applications/Utilities +Vendor: openmamba +Distribution: openmamba +Packager: Tiziana Ferro +URL: http://xorg.freedesktop.org/ +Source: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libX11-devel +BuildRequires: libXaw-devel +BuildRequires: libXmu-devel +BuildRequires: libXt-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +The xfontsel application provides a simple way to display the fonts known to your X server, examine samples of each, and retrieve the X Logical Font Description ("XLFD") full name for a font. + +If -pattern is not specified, all fonts with XLFD 14-part names will be selectable. +To work with only a subset of the fonts, specify -pattern followed by a partially or fully qualified font name; e.g., "-pattern *medium*" will select that subset of fonts which contain the string "medium" somewhere in their font name. +Be careful about escaping wildcard characters in your shell. + +If -print is specified on the command line the selected font specifier will be written to standard output when the quit button is activated. +Regardless of whether or not -print was specified, the font specifier may be made the PRIMARY (text) selection by activating the select button. + +The -sample option specifies the sample text to be used to display the selected font if the font is linearly indexed, overriding the default. + +The -sample16 option specifies the sample text to be used to display the selected font if the font is matrix encoded, overriding the default. + +The -sampleUCS option specifies the sample text encoded in the UTF-8 form to be used to display the selected font if the font has a CHARSET_REGISTRY of ISO10646, overriding the default. + +The -scaled option enables the ability to select scaled fonts at arbitrary pixel or point sizes. + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/%{name} +%{_datadir}/X11/app-defaults/XFontSel +%{_mandir}/man?/* +%doc COPYING ChangeLog README + +%changelog +* Thu May 23 2013 Automatic Build System 1.0.5-1mamba +- automatic version update by autodist + +* Tue Apr 24 2012 Automatic Build System 1.0.4-1mamba +- automatic version update by autodist + +* Tue Apr 26 2011 Tiziana Ferro 1.0.3-1mamba +- package created by autospec \ No newline at end of file