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:
parent
e013354e58
commit
87c06d081b
@ -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
|
Wed Jan 8 08:22:49 CET 2014 - tiwai@suse.de
|
||||||
|
|
||||||
|
@ -25,6 +25,8 @@ Summary: Ghostscript fonts imported to groff for use with grops
|
|||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: Productivity/Publishing/Troff
|
Group: Productivity/Publishing/Troff
|
||||||
Source: gsalias.txt
|
Source: gsalias.txt
|
||||||
|
Source1: zzz-groff-gs.sh
|
||||||
|
Source2: zzz-groff-gs.csh
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: fontforge
|
BuildRequires: fontforge
|
||||||
BuildRequires: ghostscript
|
BuildRequires: ghostscript
|
||||||
@ -67,10 +69,14 @@ groffver=$(readlink %{_datadir}/groff/current)
|
|||||||
target="%{buildroot}%{_datadir}/groff/$groffver/font/gs"
|
target="%{buildroot}%{_datadir}/groff/$groffver/font/gs"
|
||||||
install -d "${target}"
|
install -d "${target}"
|
||||||
mv "-t${target}" devps
|
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
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
%{_datadir}/*
|
%{_datadir}/*
|
||||||
|
/etc/profile.d/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
2
zzz-groff-gs.csh
Normal file
2
zzz-groff-gs.csh
Normal 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
3
zzz-groff-gs.sh
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# this may be $LANG-dependent
|
||||||
|
export GROFF_FONT_PATH=/usr/share/groff/current/font/gs
|
||||||
|
|
Loading…
Reference in New Issue
Block a user