From 32e247e6b0e5b6f795973a07c00815a437b93f1c Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Mar 14 2007 10:20:53 +0000 Subject: - Fix encoding of encoding.texi (bug #225235). - Make a2ps.cfg %config again, but not noreplace (bug #225235). - Added post/postun ldconfig (bug #225235). - Resolves: rhbz#225235 rhbz#225235 rhbz#225235 --- diff --git a/a2ps.spec b/a2ps.spec index 419569b..a4c7183 100644 --- a/a2ps.spec +++ b/a2ps.spec @@ -1,7 +1,7 @@ Summary: Converts text and other types of files to PostScript(TM) Name: a2ps Version: 4.13b -Release: 64%{?dist} +Release: 65%{?dist} License: GPL Group: Applications/Publishing #Source0: ftp://ftp.enst.fr/pub/unix/a2ps/%{name}-%{version}.tar.gz @@ -143,6 +143,9 @@ touch -r configure.in __timestamp_configure.in # Fixed multibyte handling (bug #212154). %patch31 -p1 -b .mb +mv doc/encoding.texi doc/encoding.texi.utf8 +iconv -f KOI-8 -t UTF-8 doc/encoding.texi.utf8 -o doc/encoding.texi + # Fix reference to a2ps binary (bug #112930). sed -i -e "s,/usr/local/bin,%{_bindir}," contrib/emacs/a2ps.el @@ -213,6 +216,7 @@ rm -f %{buildroot}%{_infodir}/dir rm -rf %{buildroot} %post +/sbin/ldconfig /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : /sbin/install-info %{_infodir}/ogonkify.info %{_infodir}/dir || : /sbin/install-info %{_infodir}/regex.info %{_infodir}/dir || : @@ -232,10 +236,12 @@ if [ $1 = 0 ]; then fi exit 0 +%postun -p /sbin/ldconfig + %files -f %{name}.lang %defattr(-,root,root,-) %dir %{_sysconfdir}/a2ps -%{_sysconfdir}/a2ps.cfg +%config %{_sysconfdir}/a2ps.cfg %config(noreplace) %{_sysconfdir}/a2ps-site.cfg %doc AUTHORS ChangeLog COPYING NEWS README TODO THANKS %{_bindir}/* @@ -259,6 +265,11 @@ exit 0 %dir %{_datadir}/a2ps %changelog +* Wed Mar 14 2007 Tim Waugh 4.13b-65 +- Fix encoding of encoding.texi (bug #225235). +- Make a2ps.cfg %%config again, but not noreplace (bug #225235). +- Added post/postun ldconfig (bug #225235). + * Mon Mar 12 2007 Tim Waugh 4.13b-64 - Renamed tarball generation script (bug #225235).