Changed files:
STonX.spec -> 1.15
BuildRequires: rpmbuild(macros) >= 1.268
%{?with_svga:BuildRequires: svgalib-devel}
BuildRequires: unzip
BuildRequires: rpmbuild(macros) >= 1.268
%{?with_svga:BuildRequires: svgalib-devel}
BuildRequires: unzip
+Requires(post,postun): fontpostinst
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
rm -rf $RPM_BUILD_ROOT
%post
rm -rf $RPM_BUILD_ROOT
%post
-if [ -x /usr/X11R6/bin/mkfontdir ]; then
- (cd /usr/share/fonts/misc; /usr/X11R6/bin/mkfontdir)
-fi
-%service -q xfs reload
-if [ -x /usr/X11R6/bin/mkfontdir ]; then
- (cd /usr/share/fonts/misc; /usr/X11R6/bin/mkfontdir)
-fi
-%service -q xfs reload
%files
%defattr(644,root,root,755)
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/STonX/stonx
%{_libdir}/STonX/*.img
%{_libdir}/STonX/Keysyms
%attr(755,root,root) %{_libdir}/STonX/stonx
%{_libdir}/STonX/*.img
%{_libdir}/STonX/Keysyms
+%{_fontsdir}/misc/*.pcf.gz