This commit is contained in:
parent
badb5eb7ba
commit
6c063f9a6e
44
groff.spec
44
groff.spec
@ -158,7 +158,44 @@ make %{?_smp_mflags}
|
||||
|
||||
%if %{with full_build}
|
||||
# remove groff basic files from bellow
|
||||
exit 1
|
||||
rm -f %{buildroot}%{_sysconfdir}/profile.d/zzz-groff.csh
|
||||
rm -f %{buildroot}%{_sysconfdir}/profile.d/zzz-groff.sh
|
||||
rm -f %{buildroot}%{_bindir}/eqn
|
||||
rm -f %{buildroot}%{_bindir}/groff
|
||||
rm -f %{buildroot}%{_bindir}/grog
|
||||
rm -f %{buildroot}%{_bindir}/grops
|
||||
rm -f %{buildroot}%{_bindir}/grotty
|
||||
rm -f %{buildroot}%{_bindir}/mmroff
|
||||
rm -f %{buildroot}%{_bindir}/neqn
|
||||
rm -f %{buildroot}%{_bindir}/nroff
|
||||
rm -f %{buildroot}%{_bindir}/pic
|
||||
rm -f %{buildroot}%{_bindir}/preconv
|
||||
rm -f %{buildroot}%{_bindir}/soelim
|
||||
rm -f %{buildroot}%{_bindir}/tbl
|
||||
rm -f %{buildroot}%{_bindir}/troff
|
||||
rm -f %{buildroot}%{_libexecdir}/groff/grog/subs.pl
|
||||
rm -f %{buildroot}%{_datadir}/groff/1.22.4/eign
|
||||
rm -rf %{buildroot}%{_datadir}/groff/1.22.4/font/devascii
|
||||
rm -rf %{buildroot}%{_datadir}/groff/1.22.4/font/devlatin1
|
||||
rm -rf %{buildroot}%{_datadir}/groff/1.22.4/font/devps
|
||||
rm -rf %{buildroot}%{_datadir}/groff/1.22.4/font/devutf8
|
||||
rm -rf %{buildroot}%{_datadir}/groff/1.22.4/pic
|
||||
rm -rf %{buildroot}%{_datadir}/groff/1.22.4/tmac
|
||||
rm -rf %{buildroot}%{_datadir}/groff/site-tmac
|
||||
rm -rf %{buildroot}%{_datadir}/groff/site-font
|
||||
rm -f %{buildroot}%{_mandir}/man1/eqn.1*
|
||||
rm -f %{buildroot}%{_mandir}/man1/groff.1*
|
||||
rm -f %{buildroot}%{_mandir}/man1/grog.1*
|
||||
rm -f %{buildroot}%{_mandir}/man1/grops.1*
|
||||
rm -f %{buildroot}%{_mandir}/man1/grotty.1*
|
||||
rm -f %{buildroot}%{_mandir}/man1/mmroff.1*
|
||||
rm -f %{buildroot}%{_mandir}/man1/neqn.1*
|
||||
rm -f %{buildroot}%{_mandir}/man1/nroff.1*
|
||||
rm -f %{buildroot}%{_mandir}/man1/pic.1*
|
||||
rm -f %{buildroot}%{_mandir}/man1/preconv.1*
|
||||
rm -f %{buildroot}%{_mandir}/man1/soelim.1*
|
||||
rm -f %{buildroot}%{_mandir}/man1/tbl.1*
|
||||
rm -f %{buildroot}%{_mandir}/man1/troff.1*
|
||||
%else
|
||||
# remove all not really wanted files (they are present in -full variant)
|
||||
rm -rf %{buildroot}%{_mandir}/man5/
|
||||
@ -178,6 +215,7 @@ rm -rf %{buildroot}%{_datadir}/%{name}/%{version}/font/devhtml
|
||||
rm -rf %{buildroot}%{_datadir}/%{name}/%{version}/font/devlbp
|
||||
rm -rf %{buildroot}%{_datadir}/%{name}/%{version}/font/devlj4
|
||||
rm -rf %{buildroot}%{_datadir}/%{name}/%{version}/font/devpdf
|
||||
rm -rf %{buildroot}%{_datadir}/%{name}/%{version}/oldfont/
|
||||
|
||||
for i in addftinfo afmtodit chem eqn2graph gdiffmk glilypond gperl gpinyin grap2graph grn grodvi groffer grolbp grolj4 gropdf hpftodit indxbib lkbib lookbib pdfmom pdfroff pfbtops pic2graph post-grohtml pre-grohtml refer roff2dvi roff2html roff2pdf roff2ps roff2text roff2x tfmtodit; do
|
||||
rm -f %{buildroot}%{_bindir}/$i
|
||||
@ -261,6 +299,7 @@ install -m 644 %{SOURCE3} %{SOURCE4} %{buildroot}/%{_sysconfdir}/profile.d/
|
||||
%exclude %{_docdir}/groff/html
|
||||
%exclude %{_docdir}/groff/examples
|
||||
%{_infodir}/groff*
|
||||
%{_mandir}/man1/*
|
||||
%{_mandir}/man5/*
|
||||
%{_mandir}/man7/*
|
||||
%exclude %{_mandir}/man1/gxditview.1*
|
||||
@ -269,10 +308,7 @@ install -m 644 %{SOURCE3} %{SOURCE4} %{buildroot}/%{_sysconfdir}/profile.d/
|
||||
%dir %{_datadir}/groff
|
||||
%{_datadir}/groff/%{version}/font
|
||||
%{_datadir}/groff/%{version}/oldfont
|
||||
%{_datadir}/groff/%{version}/pic
|
||||
%{_datadir}/groff/%{version}/tmac
|
||||
%{_datadir}/groff/current
|
||||
%{_datadir}/groff/site-tmac
|
||||
%{_libexecdir}/groff/groffer
|
||||
|
||||
%files -n groff-doc
|
||||
|
Loading…
x
Reference in New Issue
Block a user