1
0

Accepting request 213264 from home:tiwai:branches:M17N:fonts

- add sh/csh profiles for setting $GROFF_FONT_PATH (bnc#856842)

OBS-URL: https://build.opensuse.org/request/show/213264
OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/ghostscript-fonts-grops?expand=0&rev=4
This commit is contained in:
Takashi Iwai 2014-01-09 08:52:04 +00:00 committed by Git OBS Bridge
parent 44028eefd1
commit 37766a95b9
4 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jan 9 09:12:33 CET 2014 - tiwai@suse.de
- add sh/csh profiles for setting $GROFF_FONT_PATH (bnc#856842)
-------------------------------------------------------------------
Wed Jan 8 08:22:49 CET 2014 - tiwai@suse.de

View File

@ -25,6 +25,8 @@ Summary: Ghostscript fonts imported to groff for use with grops
License: GPL-2.0
Group: Productivity/Publishing/Troff
Source: gsalias.txt
Source1: zzz-groff-gs.sh
Source2: zzz-groff-gs.csh
BuildArch: noarch
BuildRequires: fontforge
BuildRequires: ghostscript
@ -67,10 +69,14 @@ groffver=$(readlink %{_datadir}/groff/current)
target="%{buildroot}%{_datadir}/groff/$groffver/font/gs"
install -d "${target}"
mv "-t${target}" devps
mkdir -p %{buildroot}/etc/profile.d
install -c -m 0644 %{S:1} %{buildroot}/etc/profile.d
install -c -m 0644 %{S:2} %{buildroot}/etc/profile.d
%files
%defattr(-,root,root)
%doc COPYING
%{_datadir}/*
/etc/profile.d/*
%changelog

2
zzz-groff-gs.csh Normal file
View File

@ -0,0 +1,2 @@
# this may be $LANG-dependent
setenv GROFF_FONT_PATH /usr/share/groff/current/font/gs

3
zzz-groff-gs.sh Normal file
View File

@ -0,0 +1,3 @@
# this may be $LANG-dependent
export GROFF_FONT_PATH=/usr/share/groff/current/font/gs