From 561eb357d9ac29514cc254568b66130b3cdb0acc Mon Sep 17 00:00:00 2001 From: cvsdist Date: Sep 09 2004 02:52:29 +0000 Subject: auto-import changelog data from a2ps-4.13b-28.src.rpm Wed Jan 22 2003 Tim Powers - rebuilt Thu Jan 09 2003 Tim Waugh 4.13b-27 - Add Korean resource file (bug #81421). Tue Jan 07 2003 Jeff Johnson 4.13b-26 - don't include -debuginfo files in package. Wed Nov 20 2002 Tim Powers - rebuild on all arches - remove lingering files from the buildroot that we aren't shipping - pass %{_libdir} and %{_datadir} to configure so that we are lib64'ized - fix bad perms on some files --- diff --git a/a2ps-4.13-euckr.patch b/a2ps-4.13-euckr.patch new file mode 100644 index 0000000..639ab77 --- /dev/null +++ b/a2ps-4.13-euckr.patch @@ -0,0 +1,144 @@ +--- a2ps-4.13/encoding/Makefile.am.orig 2003-01-09 17:45:41.000000000 +0900 ++++ a2ps-4.13/encoding/Makefile.am 2003-01-09 17:45:50.000000000 +0900 +@@ -16,7 +16,7 @@ + minor_encodings = \ + ms-cp1250.edf hp.edf mac.edf ibm-cp437.edf ibm-cp850.edf iso2.edf \ + iso3.edf iso4.edf iso5.edf iso7.edf iso9.edf iso10.edf iso13.edf \ +-iso15.edf koi8.edf euc-jp.edf ++iso15.edf koi8.edf euc-jp.edf euc-kr.edf + + if EXTENSIONS + encodings_DATA = encoding.map $(major_encodings) $(minor_encodings) +--- a2ps-4.13/encoding/Makefile.in.orig 2003-01-09 17:46:09.000000000 +0900 ++++ a2ps-4.13/encoding/Makefile.in 2003-01-09 17:46:14.000000000 +0900 +@@ -141,7 +141,7 @@ + minor_encodings = \ + ms-cp1250.edf hp.edf mac.edf ibm-cp437.edf ibm-cp850.edf iso2.edf \ + iso3.edf iso4.edf iso5.edf iso7.edf iso9.edf iso10.edf iso13.edf \ +-iso15.edf koi8.edf euc-jp.edf ++iso15.edf koi8.edf euc-jp.edf euc-kr.edf + + @EXTENSIONS_TRUE@encodings_DATA = @EXTENSIONS_TRUE@encoding.map $(major_encodings) $(minor_encodings) + @EXTENSIONS_FALSE@encodings_DATA = @EXTENSIONS_FALSE@encoding.map $(major_encodings) +--- a2ps-4.13/encoding/euc-kr.edf.orig 2003-01-09 17:46:22.000000000 +0900 ++++ a2ps-4.13/encoding/euc-kr.edf 2003-01-09 17:47:34.000000000 +0900 +@@ -0,0 +1,104 @@ ++# Description of the EUC-KR encoding ++# Copyright (c) 1988, 89, 90, 91, 92, 93 Miguel Santana ++# Copyright (c) 1995, 96, 97, 98 Akim Demaille, Miguel Santana ++# Copyright (c) 2003 Red Hat Inc. ++# ++ ++# ++# This file is part of a2ps. ++# ++# This program is free software; you can redistribute it and/or modify ++# it under the terms of the GNU General Public License as published by ++# the Free Software Foundation; either version 2, or (at your option) ++# any later version. ++# ++# This program is distributed in the hope that it will be useful, ++# but WITHOUT ANY WARRANTY; without even the implied warranty of ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++# GNU General Public License for more details. ++# ++# You should have received a copy of the GNU General Public License ++# along with this program; see the file COPYING. If not, write to ++# the Free Software Foundation, 59 Temple Place - Suite 330, ++# Boston, MA 02111-1307, USA. ++# ++ ++# ++# This file is derived from euc-jp.edf. ++# Just font is renamed. ++# The bug should go into our bugilla. http://bugzilla.redhat.com/ ++# ++ ++Name: EUC-KR ++ ++Documentation ++EUC-KR is Korean charset. ++EndDocumentation ++ ++# If there is an unknown font requested, use Courier ++Default: Courier ++ ++# Automatic spell checking :) ++Substitute: Times Times-Roman ++Substitute: Helvetica-Italic Helvetica-Oblique ++Substitute: Helvetica-BoldItalic Helvetica-BoldOblique ++ ++ ++# SlantFont for Korean font ++# new font source font value ++SlantFont: Baekmuk-Gulim--KSC-EUC-H-Italic Baekmuk-Gulim--KSC-EUC-H 0.2 ++SlantFont: Baekmuk-Dotum--KSC-EUC-H-Italic Baekmuk-Dotum--KSC-EUC-H 0.2 ++ ++# Compose font for Korean EUC code ++# target font additional font width size rate ++DefaultComposite: Baekmuk-Gulim--KSC-EUC-H 1.0 1.1 ++ ++# 1:2 fixed ++#DefaultComposite: Baekmuk-Gulim--KSC-EUC-H 1.0 0.8333 ++ ++# 1:1 fixed ++#DefaultComposite: Baekmuk-Gulim--KSC-EUC-H 1.0 1.6666 ++ ++Composite: Helvetica Baekmuk-Dotum--KSC-EUC-H 1.0 1.1 ++Composite: Helvetica-Oblique Baekmuk-Dotum--KSC-EUC-H-Italic 1.0 1.1 ++Composite: Helvetica-Bold Baekmuk-Dotum--KSC-EUC-H 1.0 1.1 ++Composite: Helvetica-BoldOblique Baekmuk-Dotum--KSC-EUC-H-Italic 1.0 1.1 ++ ++Composite: Courier-Oblique Baekmuk-Gulim--KSC-EUC-H-Italic 1.0 1.1 ++Composite: Courier-Bold Baekmuk-Dotum--KSC-EUC-H 1.0 1.1 ++Composite: Courier-BoldOblique Baekmuk-Dotum--KSC-EUC-H-Italic 1.0 1.1 ++Composite: Times-Bold Baekmuk-Dotum--KSC-EUC-H 1.0 1.1 ++ ++Vector: ++.notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef ++.notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef ++.notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef ++.notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef ++space exclam quotedbl numbersign dollar percent ampersand quoteright ++parenleft parenright asterisk plus comma minus period slash ++zero one two three four five six seven ++eight nine colon semicolon less equal greater question ++at A B C D E F G ++H I J K L M N O ++P Q R S T U V W ++X Y Z bracketleft backslash bracketright asciicircum underscore ++quoteleft a b c d e f g ++h i j k l m n o ++p q r s t u v w ++x y z braceleft bar braceright asciitilde .notdef ++.notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef ++.notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef ++.notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef ++.notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef ++space exclamdown cent sterling currency yen brokenbar section ++dieresis copyright ordfeminine guillemotleft logicalnot hyphen registered macron ++degree plusminus twosuperior threesuperior acute mu paragraph bullet ++cedilla onesuperior ordmasculine guillemotright onequarter onehalf threequarters questiondown ++Agrave Aacute Acircumflex Atilde Adieresis Aring AE Ccedilla ++Egrave Eacute Ecircumflex Edieresis Igrave Iacute Icircumflex Idieresis ++Eth Ntilde Ograve Oacute Ocircumflex Otilde Odieresis multiply ++Oslash Ugrave Uacute Ucircumflex Udieresis Yacute Thorn germandbls ++agrave aacute acircumflex atilde adieresis aring ae ccedilla ++egrave eacute ecircumflex edieresis igrave iacute icircumflex idieresis ++eth ntilde ograve oacute ocircumflex otilde odieresis divide ++oslash ugrave uacute ucircumflex udieresis yacute thorn ydieresis +--- a2ps-4.13/encoding/encoding.map.orig 2003-01-09 17:46:50.000000000 +0900 ++++ a2ps-4.13/encoding/encoding.map 2003-01-09 17:46:57.000000000 +0900 +@@ -100,6 +100,12 @@ + ja euc-jp + jp euc-jp + ++euc-kr euc-kr ++euc-kr euc-kr ++korean euc-kr ++ko euc-kr ++kr euc-kr ++ + ######################################################################## + # Some architectures specific char sets + ######################################################################## diff --git a/a2ps.spec b/a2ps.spec index 7295d32..4e277fc 100644 --- a/a2ps.spec +++ b/a2ps.spec @@ -1,5 +1,5 @@ %define ver 4.13b -%define rel 24 +%define rel 28 Summary: Converts text and other types of files to PostScript(TM). Name: a2ps @@ -23,6 +23,7 @@ Patch13: a2ps-4.13b-numeric.patch Patch14: a2ps-4.13b-encoding.patch Patch15: a2ps-4.13b-tilde.patch Patch16: a2ps-4.13b-rm.patch +Patch17: a2ps-4.13-euckr.patch Requires: fileutils sh-utils info Buildrequires: /usr/bin/emacs Url: http://www.inf.enst.fr/~demaille/a2ps/ @@ -62,15 +63,22 @@ and medias. # Prevent configure from going interactive (bug #70333). %patch16 -p1 -b .rm +# Add Korean resource file (bug #81421). +%patch17 -p1 -b .euckr + libtoolize --copy --force %build +chmod 644 {po/ja.po,encoding/euc-jp.edf,README.eucJP}.euc +chmod 644 encoding/euc-kr.edf.euckr touch `find $PWD` EMACS=emacs ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ + --prefix=%{_prefix} \ + --libdir=%{_libdir} \ + --sysconfdir=%{_sysconfdir} \ + --infodir=%{_infodir} \ + --mandir=%{_mandir} \ + --datadir=%{_datadir} \ --with-medium=_glibc \ --enable-kanji @@ -93,11 +101,11 @@ make rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install -mkdir -p %{buildroot}/usr/share/a2ps/{afm,fonts} +mkdir -p %{buildroot}%{_datadir}/a2ps/{afm,fonts} pushd i18n-fonts-0.1/afm -install -m 0644 *.afm %{buildroot}/usr/share/a2ps/afm +install -m 0644 *.afm %{buildroot}%{_datadir}/a2ps/afm pushd ../fonts -install -m 0644 *.pfb %{buildroot}/usr/share/a2ps/fonts +install -m 0644 *.pfb %{buildroot}%{_datadir}/a2ps/fonts popd popd @@ -109,6 +117,7 @@ for f in contrib/emacs/*.el; do \ install -m 0644 $f %{buildroot}%{_datadir}/emacs/site-lisp/ ; done } +rm -f $RPM_BUILD_ROOT%{_infodir}/dir gzip $RPM_BUILD_ROOT%{_infodir}/* || : %find_lang %name @@ -140,7 +149,8 @@ fi %config(noreplace) %{_sysconfdir}/a2ps-site.cfg %doc AUTHORS ChangeLog COPYING NEWS README TODO THANKS %{_bindir}/* -%{_libdir}/* +%{_libdir}/*.a +%{_libdir}/*.la %{_includedir}/* %{_infodir}/a2ps.info* %{_infodir}/ogonkify.info* @@ -161,6 +171,21 @@ fi %dir %{_datadir}/a2ps %changelog +* Wed Jan 22 2003 Tim Powers +- rebuilt + +* Thu Jan 9 2003 Tim Waugh 4.13b-27 +- Add Korean resource file (bug #81421). + +* Tue Jan 7 2003 Jeff Johnson 4.13b-26 +- don't include -debuginfo files in package. + +* Wed Nov 20 2002 Tim Powers +- rebuild on all arches +- remove lingering files from the buildroot that we aren't shipping +- pass %%{_libdir} and %%{_datadir} to configure so that we are lib64'ized +- fix bad perms on some files + * Mon Aug 5 2002 Tim Waugh 4.13b-24 - Prevent configure from going interactive (bug #70333). - Try to cope with UTF-8 a little bit (bug #70057).