auto-import groff-1.18-4 from groff-1.18-4.src.rpm
This commit is contained in:
parent
a36376b4be
commit
1c07627a0b
23
groff.spec
23
groff.spec
@ -4,7 +4,7 @@
|
|||||||
Summary: A document formatting system.
|
Summary: A document formatting system.
|
||||||
Name: groff
|
Name: groff
|
||||||
Version: 1.18
|
Version: 1.18
|
||||||
Release: 3
|
Release: 4
|
||||||
Copyright: GPL
|
Copyright: GPL
|
||||||
Group: Applications/Publishing
|
Group: Applications/Publishing
|
||||||
Source0: ftp://ftp.gnu.org/gnu/groff/groff-%{version}.tar.gz
|
Source0: ftp://ftp.gnu.org/gnu/groff/groff-%{version}.tar.gz
|
||||||
@ -79,7 +79,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
PATH=$PATH:%{_prefix}/X11R6/bin
|
PATH=$PATH:%{_prefix}/X11R6/bin
|
||||||
mkdir -p ${RPM_BUILD_ROOT}%{_prefix} ${RPM_BUILD_ROOT}%{_infodir}
|
mkdir -p ${RPM_BUILD_ROOT}%{_prefix} ${RPM_BUILD_ROOT}%{_infodir}
|
||||||
%makeinstall manroot=${RPM_BUILD_ROOT}/%{_mandir}
|
%makeinstall manroot=${RPM_BUILD_ROOT}/%{_mandir}
|
||||||
install -m 644 doc/groff.info* ${RPM_BUILD_ROOT}/%{_infodir}
|
#install -m 644 doc/groff.info* ${RPM_BUILD_ROOT}/%{_infodir}
|
||||||
cd src/xditview
|
cd src/xditview
|
||||||
%makeinstall DESTDIR=$RPM_BUILD_ROOT
|
%makeinstall DESTDIR=$RPM_BUILD_ROOT
|
||||||
cd ../..
|
cd ../..
|
||||||
@ -111,10 +111,10 @@ ln -s soelim.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1/zsoelim.1.gz
|
|||||||
ln -s tbl.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1/gtbl.1.gz
|
ln -s tbl.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1/gtbl.1.gz
|
||||||
ln -s troff.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1/gtroff.1.gz
|
ln -s troff.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1/gtroff.1.gz
|
||||||
|
|
||||||
mkdir -p ${RPM_BUILD_ROOT}/usr/share/printconf/mf_rules
|
#mkdir -p ${RPM_BUILD_ROOT}/usr/share/printconf/mf_rules
|
||||||
cp %{SOURCE1} ${RPM_BUILD_ROOT}/usr/share/printconf/mf_rules/
|
#cp %{SOURCE1} ${RPM_BUILD_ROOT}/usr/share/printconf/mf_rules/
|
||||||
mkdir -p ${RPM_BUILD_ROOT}/usr/share/printconf/tests
|
#mkdir -p ${RPM_BUILD_ROOT}/usr/share/printconf/tests
|
||||||
cp %{SOURCE5} ${RPM_BUILD_ROOT}/usr/share/printconf/tests/
|
#cp %{SOURCE5} ${RPM_BUILD_ROOT}/usr/share/printconf/tests/
|
||||||
|
|
||||||
find ${RPM_BUILD_ROOT}%{_prefix}/bin ${RPM_BUILD_ROOT}%{_mandir} -type f -o -type l | \
|
find ${RPM_BUILD_ROOT}%{_prefix}/bin ${RPM_BUILD_ROOT}%{_mandir} -type f -o -type l | \
|
||||||
grep -v afmtodit | grep -v grog | grep -v mdoc.samples |\
|
grep -v afmtodit | grep -v grog | grep -v mdoc.samples |\
|
||||||
@ -129,19 +129,19 @@ ln -sf doc.tmac $RPM_BUILD_ROOT/usr/share/groff/%version/tmac/docj.tmac
|
|||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/install-info %{_infodir}/groff.info.gz %{_infodir}/dir
|
/sbin/install-info %{_infodir}/groff.gz %{_infodir}/dir
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ $1 = 0 ]; then
|
if [ $1 = 0 ]; then
|
||||||
/sbin/install-info --delete %{_infodir}/groff.info.gz %{_infodir}/dir
|
/sbin/install-info --delete %{_infodir}/groff.gz %{_infodir}/dir
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%files -f groff-files
|
%files -f groff-files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc BUG-REPORT NEWS PROBLEMS README README.A4 TODO VERSION
|
%doc BUG-REPORT NEWS PROBLEMS README README.A4 TODO VERSION
|
||||||
%{_prefix}/share/groff
|
%{_prefix}/share/groff
|
||||||
%{_infodir}/groff.info*
|
%{_infodir}/groff*
|
||||||
#/usr/share/printconf/tests/*
|
#/usr/share/printconf/tests/*
|
||||||
#/usr/share/printconf/mf_rules/*
|
#/usr/share/printconf/mf_rules/*
|
||||||
|
|
||||||
@ -161,8 +161,9 @@ fi
|
|||||||
#/etc/X11/app-defaults/GXditview
|
#/etc/X11/app-defaults/GXditview
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com>
|
* Sun Aug 11 2002 Florian La Roche <Florian.LaRoche@redhat.de>
|
||||||
- rebuilt with gcc-3.2 (we hope)
|
- use info files as installed by groff package
|
||||||
|
- completely disable older printconf stuff
|
||||||
|
|
||||||
* Thu Aug 8 2002 Yukihiro Nakai <ynakai@redhat.com>
|
* Thu Aug 8 2002 Yukihiro Nakai <ynakai@redhat.com>
|
||||||
- link docj.tmac to doc.tmac #57560
|
- link docj.tmac to doc.tmac #57560
|
||||||
|
Loading…
Reference in New Issue
Block a user