Accepting request 768055 from home:namtrac:branches:devel:openQA:tested

OBS-URL: https://build.opensuse.org/request/show/768055
OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/xterm-console?expand=0&rev=9
This commit is contained in:
Oliver Kurz 2020-01-28 15:27:50 +00:00 committed by Git OBS Bridge
parent eacdd13c7f
commit b9a3f1ff52

View File

@ -45,9 +45,8 @@ This package contains the basic X.Org terminal program.
cp %{SOURCE1} .
%build
%define xfontsd %{_datadir}/fonts
which bdftopcf &> /dev/null || exit 1
chmod +x ./psf2bdf.pl
for font in %{_datadir}/kbd/consolefonts/*.psfu.gz; do
fontname="${font##*/}"
fontname="${fontname%.psfu.gz}"
@ -60,16 +59,16 @@ done
%install
mkdir -p %{buildroot}%{_bindir}
install -m 755 %{SOURCE0} %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_datadir}/fonts/misc/
mkdir -p %{buildroot}%{xfontsd}/misc/
install -m 644 *.pcf.gz %{buildroot}%{xfontsd}/misc/
install -m 0755 %{SOURCE0} %{buildroot}%{_bindir}
install -m 0644 *.pcf.gz %{buildroot}%{_datadir}/fonts/misc/
%reconfigure_fonts_scriptlets
%files
%{_bindir}/xterm-console
%dir %{xfontsd}/misc
%{xfontsd}/misc/*.pcf.gz
%dir %{_datadir}/fonts/misc
%{_datadir}/fonts/misc/*.pcf.gz
%changelog