Cleanup spec-file
OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/xterm-console?expand=0&rev=8
This commit is contained in:
parent
70f7bee559
commit
eacdd13c7f
@ -6,6 +6,7 @@ Tue Jan 28 12:26:32 UTC 2020 - okurz@suse.com
|
||||
https://github.com/os-autoinst/xterm_console
|
||||
* Change to noarch as there are only scripts
|
||||
* Delete old pre-SLE11 cruft
|
||||
* Cleanup spec-file (delete unused symbol; simplify)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 25 13:21:00 UTC 2018 - slindomansilla@suse.com
|
||||
|
@ -45,26 +45,20 @@ This package contains the basic X.Org terminal program.
|
||||
cp %{SOURCE1} .
|
||||
|
||||
%build
|
||||
%define xappdefs %{_datadir}/X11/app-defaults
|
||||
%define xfontsd %{_datadir}/fonts
|
||||
|
||||
if ! which bdftopcf &> /dev/null; then exit 1; fi
|
||||
|
||||
which bdftopcf &> /dev/null || exit 1
|
||||
chmod +x ./psf2bdf.pl
|
||||
for font in %{_datadir}/kbd/consolefonts/*.psfu.gz
|
||||
do
|
||||
for font in %{_datadir}/kbd/consolefonts/*.psfu.gz; do
|
||||
fontname="${font##*/}"
|
||||
fontname="${fontname%.psfu.gz}"
|
||||
gunzip -c $font | ./psf2bdf.pl | sed -e "s,FONT \+-psf-,FONT ${fontname}," > "$fontname".bdf
|
||||
done
|
||||
|
||||
for i in *.bdf
|
||||
do
|
||||
for i in *.bdf; do
|
||||
bdftopcf "$i" | gzip -9 >"${i%.bdf}.pcf.gz"
|
||||
done
|
||||
|
||||
%install
|
||||
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
install -m 755 %{SOURCE0} %{buildroot}%{_bindir}
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f8a9c7a57777d929e11f7d88989d4ada757b26991278d726f6c967c70a1df346
|
||||
oid sha256:e46efe2eaf8d79df16346b56fbdd20d7f729d4cb9442f7c96999b2ed982413cb
|
||||
size 10250
|
||||
|
@ -1,5 +1,5 @@
|
||||
name: xterm_console
|
||||
version: 1.0
|
||||
mtime: 1580216862
|
||||
commit: 31a8e5607115cd2e7713944a1360ef3614ce647a
|
||||
mtime: 1580219585
|
||||
commit: 580eaafe2972e1e642254c7fc64603a67637c388
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user