auto-import changelog data from a2ps-4.13b-13.src.rpm
Wed Feb 28 2001 SATO Satoru <ssato@redhat.com>
- bunzip2-ed all patches except eucjp
Thu Feb 22 2001 SATO Satoru <ssato@redhat.com>
- support Japanese
- bzip2-ed all patches
- replace macros (%makeinstall, %configure) with traditional commands to
avoid some troubles those macros caused.
Tue Feb 20 2001 Trond Eivind Glomsrd <teg@redhat.com>
- Using letter is as weird as oz, fl. oz, Fahrenheit, lb etc. Add a patch
for using the glibc media type for giving US letter for en_US (only
locale with this paper), and A4 for everyone else.
Tue Feb 20 2001 Tim Powers <timp@redhat.com>
- changed default medium back to letter (bug 27794)
Mon Feb 19 2001 Trond Eivind Glomsrd <teg@redhat.com>
- langify
- use %{_tmppath}
Mon Feb 12 2001 Tim Waugh <twaugh@redhat.com>
- Fix tmpfile security patch so that it actually _works_ (bug #27155).
Sun Jan 21 2001 Tim Waugh <twaugh@redhat.com>
- New-style prereq line.
- %post script requires fileutils (mv) and sh-utils (true). This should fix
bug #24251).
Mon Jan 08 2001 Trond Eivind Glomsrd <teg@redhat.com>
- Add /usr/bin/emacs to BuildRequires
- A4
- specify use of GNU Emacs for building
Fri Jan 05 2001 Preston Brown <pbrown@redhat.com>
- security patch for tmpfile creation from Olaf Kirch <okir@lst.de>
Mon Dec 11 2000 Preston Brown <pbrown@redhat.com>
- obsoleted old a2ps-i18n package (it was tiny) and included those fonts
directly here.
Thu Dec 07 2000 Tim Powers <timp@redhat.com>
- built for dist-7.1
Mon Aug 07 2000 Tim Powers <timp@redhat.com>
- update to 4.13b to fix some bugs, thanks to czar@acm.org for giving me a
heads up on this (bug #15679)
Mon Jul 24 2000 Prospector <prospector@redhat.com>
- rebuilt
Mon Jul 10 2000 Tim Powers <timp@redhat.com>
- rebuilt
Fri Jun 23 2000 Tim Powers <timp@redhat.com>
- info pages weren't getting gzipped.
- stdout & stderror redirected to /dev/null in post section
Mon Jun 19 2000 Tim Powers <timp@redhat.com>
- fixed bug 12451 which was a stupid mistake by me.
- quiet the post section
- added patches from michal@ellpspace.math.ualberta.ca and did some spec
file magic he suggested as well.
Fri Jun 02 2000 Tim Powers <timp@redhat.com>
- fixed bug 5876, was not setting the paper size to Letter again :(
- man pages and info pages to /usr/share, FHS compliant.
- used macros wherever possible
Wed May 31 2000 Tim Powers <timp@rehat.com>
- fixed bug #11078, now requires psutils
Wed Apr 26 2000 Tim Powers <timp@redhat.com>
- updated to 4.13
- compress man pages
Thu Feb 10 2000 Tim Powers <timp@redhat.com>
- gzip man pages
- strip binaries
Mon Jan 24 2000 Tim Powers <timp@redhat.com>
- had to be more specific since the i18n stuff was removed from the
package. There is a new a2ps-i18n package which treats the
/usr/share/a2ps/afm/fonts.map file as a config file
Wed Oct 27 1999 Tim Powers <timp@redhat.com>
- added the --with-medium=Letter option to the configure process
Thu Aug 05 1999 Tim Powers <timp@redhat.com>
- fixed problems with missing dirs as reported in bug 3822
- built for powertools
Tue Jul 06 1999 Tim Powers <timp@redhat.com>
- rebuilt for powertools 6.1
Wed May 12 1999 Bill Nottingham <notting@redhat.com>
- add a2ps-site.cfg
Mon Apr 26 1999 Preston Brown <pbrown@redhat.com>
- update to 4.12 for Powertools 6.0
Sat Oct 24 1998 Jeff Johnson <jbj@redhat.com>
- narrower range of %files splats.
- install info correctly.
- new description/summary text.
Tue Oct 06 1998 Michael Maher <mike@redhat.com>
- updated source
Sat Jul 04 1998 Michael Maher <mike@redhat.com>
- built package
This commit is contained in:
parent
c2125344bb
commit
67cda08ce5
8 changed files with 531 additions and 0 deletions
40
a2ps-4.13-autoenc.patch
Normal file
40
a2ps-4.13-autoenc.patch
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
--- a2ps-4.13.rh/src/main.c Fri Feb 23 17:39:02 2001
|
||||
+++ a2ps-4.13.euc/src/main.c Fri Feb 23 23:07:40 2001
|
||||
@@ -31,6 +31,8 @@
|
||||
/* */
|
||||
/************************************************************************/
|
||||
#include <assert.h>
|
||||
+#include <string.h>
|
||||
+#include <locale.h>
|
||||
|
||||
#include "a2ps.h"
|
||||
#include "argmatch.h"
|
||||
@@ -925,6 +927,7 @@
|
||||
main (int argc, char *argv[])
|
||||
{
|
||||
int argn;
|
||||
+ char *locale;
|
||||
|
||||
/* Architecture specific initialization. */
|
||||
#ifdef __EMX__
|
||||
@@ -947,6 +950,9 @@
|
||||
setlocale (LC_CTYPE, "");
|
||||
setlocale (LC_PAPER, "");
|
||||
|
||||
+ locale = setlocale (LC_ALL, "");
|
||||
+ /* fprintf(stderr, "locale : %s\n", locale); */
|
||||
+
|
||||
bindtextdomain (PACKAGE, LOCALEDIR);
|
||||
textdomain (PACKAGE);
|
||||
|
||||
@@ -1013,6 +1019,10 @@
|
||||
yet read sheets. */
|
||||
sheets_map = sheets_map_new ();
|
||||
style_sheets = new_style_sheets ();
|
||||
+
|
||||
+ /* Process special case: Japanese Document */
|
||||
+ if (! strncmp (locale, "ja", 2) )
|
||||
+ job->requested_encoding_name = xstrdup ("euc-jp");
|
||||
|
||||
/* Process the command line options. */
|
||||
argn = a2ps_handle_options (job, argc, argv);
|
||||
18
a2ps-4.13-conf.patch
Normal file
18
a2ps-4.13-conf.patch
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
--- a2ps-4.13/configure.config Wed Feb 9 09:32:31 2000
|
||||
+++ a2ps-4.13/configure Thu Apr 27 19:56:05 2000
|
||||
@@ -8433,9 +8433,13 @@
|
||||
echo "configure:8434: checking for PostScript fonts path" 1>&5
|
||||
# Try to find some PostScript fonts.
|
||||
# Find out if ghostscript is installed
|
||||
+# for ac_dir in /usr/local/ghostscript/fonts \
|
||||
+# /usr/local/share/ghostscript/fonts;
|
||||
ac_psfont_path=
|
||||
-for ac_dir in /usr/local/ghostscript/fonts \
|
||||
- /usr/local/share/ghostscript/fonts;
|
||||
+for ac_dir in /usr/share/fonts/default/Type1 \
|
||||
+ /usr/share/fonts/default/ghostscript \
|
||||
+ /usr/share/fonts/afms/adobe \
|
||||
+ /usr/share/fonts/ISO8859-2/Type1/afm ;
|
||||
do
|
||||
if test "cd $ac_dir 2>/dev/null && echo *.afm"; then
|
||||
ac_psfont_path="$ac_psfont_path:$ac_dir";
|
||||
23
a2ps-4.13-etc.patch
Normal file
23
a2ps-4.13-etc.patch
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
--- a2ps-4.13/etc/Makefile.in.etc Wed Feb 9 09:32:55 2000
|
||||
+++ a2ps-4.13/etc/Makefile.in Thu Apr 27 22:45:03 2000
|
||||
@@ -297,7 +297,9 @@
|
||||
|
||||
# Building the correct a2ps.cfg
|
||||
a2ps.cfg: a2ps_cfg Makefile
|
||||
- sed "s!@libpath@!$(libpath)!" a2ps_cfg > a2ps.cfg
|
||||
+ sed -e "s!@libpath@!$(libpath)!" \
|
||||
+ -e "s!@apppath@!$(PSFONT_PATH)!" \
|
||||
+ a2ps_cfg > a2ps.cfg
|
||||
|
||||
# Building a time stamp to know the version.
|
||||
README: README.in Makefile
|
||||
--- a2ps-4.13/etc/a2ps_cfg.in.etc Tue Feb 8 03:24:03 2000
|
||||
+++ a2ps-4.13/etc/a2ps_cfg.in Thu Apr 27 20:49:04 2000
|
||||
@@ -73,6 +73,7 @@
|
||||
# It may be useful to extend it so that a2ps can see some
|
||||
# TeX or X11 resources: it likes AFM files and PF[AB] files.
|
||||
#AppendLibraryPath: foo
|
||||
+AppendLibraryPath: @apppath@
|
||||
|
||||
|
||||
#################################################################
|
||||
73
a2ps-4.13-flex.patch
Normal file
73
a2ps-4.13-flex.patch
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
--- a2ps-4.13/lib/Makefile.in.flex Wed Feb 9 09:33:01 2000
|
||||
+++ a2ps-4.13/lib/Makefile.in Thu Apr 27 19:00:20 2000
|
||||
@@ -100,7 +100,7 @@
|
||||
INTLDEPS = @INTLDEPS@
|
||||
INTLLIBS = @INTLLIBS@
|
||||
INTLOBJS = @INTLOBJS@
|
||||
-LEX = @LEX@
|
||||
+LEX = @LEX@ -CFe
|
||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
--- a2ps-4.13/lib/fonts.l.flex Wed Dec 15 18:27:01 1999
|
||||
+++ a2ps-4.13/lib/fonts.l Thu Apr 27 19:00:20 2000
|
||||
@@ -178,7 +178,7 @@
|
||||
|
||||
%}
|
||||
|
||||
-%option yylineno
|
||||
+/* %option yylineno */
|
||||
%option prefix="afm"
|
||||
%option outfile="lex.yy.c"
|
||||
|
||||
@@ -524,7 +524,7 @@
|
||||
const char * filename;
|
||||
FILE * stream;
|
||||
|
||||
- yylineno = 0;
|
||||
+ /* yylineno = 0; */
|
||||
|
||||
/* Find its AFM file: first resolve its font file name */
|
||||
filename = fonts_map_resolve_alias (job->fonts_map, font->key);
|
||||
--- a2ps-4.13/src/Makefile.in.flex Wed Feb 9 09:34:18 2000
|
||||
+++ a2ps-4.13/src/Makefile.in Thu Apr 27 19:00:20 2000
|
||||
@@ -100,7 +100,7 @@
|
||||
INTLDEPS = @INTLDEPS@
|
||||
INTLLIBS = @INTLLIBS@
|
||||
INTLOBJS = @INTLOBJS@
|
||||
-LEX = @LEX@
|
||||
+LEX = @LEX@ -CFe
|
||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
@@ -154,7 +154,7 @@
|
||||
BUILT_SOURCES = parsessh.h
|
||||
|
||||
YFLAGS = -dtv
|
||||
-LEX = @LEX@
|
||||
+LEX = @LEX@ -CFe
|
||||
# I don't really understand why I have to put srcdir here, but
|
||||
# it is needed for yacc and lex files (seems related to #line, but
|
||||
# I really don't understand why)...
|
||||
--- a2ps-4.13/src/lexps.l.flex Mon Feb 7 17:05:43 2000
|
||||
+++ a2ps-4.13/src/lexps.l Thu Apr 27 19:00:20 2000
|
||||
@@ -35,7 +35,7 @@
|
||||
void pslex_initialize PARAMS ((void));
|
||||
%}
|
||||
|
||||
-%option yylineno
|
||||
+/* %option yylineno */
|
||||
%option prefix="ps"
|
||||
%option outfile="lex.yy.c"
|
||||
|
||||
--- a2ps-4.13/Makefile.in.flex Wed Feb 9 09:32:25 2000
|
||||
+++ a2ps-4.13/Makefile.in Thu Apr 27 19:00:20 2000
|
||||
@@ -100,7 +100,7 @@
|
||||
INTLDEPS = @INTLDEPS@
|
||||
INTLLIBS = @INTLLIBS@
|
||||
INTLOBJS = @INTLOBJS@
|
||||
-LEX = @LEX@
|
||||
+LEX = @LEX@ -CFe
|
||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
57
a2ps-4.13-glibcpaper.patch
Normal file
57
a2ps-4.13-glibcpaper.patch
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
--- a2ps-4.13/lib/jobs.c.glibcpaper Sat Jan 15 18:15:07 2000
|
||||
+++ a2ps-4.13/lib/jobs.c Tue Feb 20 18:44:48 2001
|
||||
@@ -138,6 +138,7 @@
|
||||
setlocale (LC_MESSAGES, "");
|
||||
#endif
|
||||
setlocale (LC_CTYPE, "");
|
||||
+ setlocale (LC_PAPER, "");
|
||||
|
||||
bindtextdomain (PACKAGE, LOCALEDIR);
|
||||
textdomain (PACKAGE);
|
||||
--- a2ps-4.13/lib/options.c.glibcpaper Tue Aug 31 13:42:41 1999
|
||||
+++ a2ps-4.13/lib/options.c Tue Feb 20 18:44:48 2001
|
||||
@@ -54,6 +54,8 @@
|
||||
#include "argv.h"
|
||||
#include "quotearg.h"
|
||||
#include "filalign.h"
|
||||
+#include <locale.h>
|
||||
+#include <langinfo.h>
|
||||
|
||||
#define MAN_LINES 66 /* no lines for a man */
|
||||
extern char *program_name;
|
||||
@@ -281,7 +283,8 @@
|
||||
struct opt_optarg *opt_optarg_head = NULL;
|
||||
struct opt_optarg *opt_optarg = NULL;
|
||||
int res;
|
||||
-
|
||||
+ unsigned int paper_height=0;
|
||||
+
|
||||
/* Reset optind so that getopt is reinitialized. */
|
||||
optind = 0;
|
||||
|
||||
@@ -545,7 +548,14 @@
|
||||
break;
|
||||
|
||||
case 'M': /* select a medium */
|
||||
- xstrcpy (job->medium_request, optarg);
|
||||
+ if(strcasecmp("_glibc",optarg)==0){
|
||||
+ paper_height = ((union { char *string; unsigned int word; })nl_langinfo(_NL_PAPER_HEIGHT)).word;
|
||||
+ if(paper_height==279) /* US Letter */
|
||||
+ strcpy(optarg,"letter");
|
||||
+ else /* Everyone else */
|
||||
+ strcpy(optarg,"a4");
|
||||
+ }
|
||||
+ xstrcpy (job->medium_request, optarg);
|
||||
break;
|
||||
|
||||
case 'n': /* n copies */
|
||||
--- a2ps-4.13/src/main.c.glibcpaper Wed Jan 26 19:29:15 2000
|
||||
+++ a2ps-4.13/src/main.c Tue Feb 20 18:45:18 2001
|
||||
@@ -945,6 +945,7 @@
|
||||
setlocale (LC_MESSAGES, "");
|
||||
#endif
|
||||
setlocale (LC_CTYPE, "");
|
||||
+ setlocale (LC_PAPER, "");
|
||||
|
||||
bindtextdomain (PACKAGE, LOCALEDIR);
|
||||
textdomain (PACKAGE);
|
||||
65
a2ps-4.13-security.patch
Normal file
65
a2ps-4.13-security.patch
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
--- a2ps-4.13/lib/routines.c.security Sat Oct 16 05:46:37 1999
|
||||
+++ a2ps-4.13/lib/routines.c Mon Feb 12 17:45:15 2001
|
||||
@@ -242,3 +242,50 @@
|
||||
/* Don't complain if you can't unlink. Who cares of a tmp file? */
|
||||
unlink (filename);
|
||||
}
|
||||
+
|
||||
+/*
|
||||
+ * Securely generate a temp file, and make sure it gets
|
||||
+ * deleted upon exit.
|
||||
+ */
|
||||
+static char ** tempfiles;
|
||||
+static unsigned ntempfiles;
|
||||
+
|
||||
+static void
|
||||
+cleanup_tempfiles()
|
||||
+{
|
||||
+ while (ntempfiles--)
|
||||
+ unlink(tempfiles[ntempfiles]);
|
||||
+}
|
||||
+
|
||||
+char *
|
||||
+safe_tempnam(const char *pfx)
|
||||
+{
|
||||
+ char *dirname, *filename;
|
||||
+ int fd;
|
||||
+
|
||||
+ if (!(dirname = getenv("TMPDIR")))
|
||||
+ dirname = "/tmp";
|
||||
+
|
||||
+ tempfiles = (char **) realloc(tempfiles,
|
||||
+ (ntempfiles+1) * sizeof(char *));
|
||||
+ if (tempfiles == NULL)
|
||||
+ return NULL;
|
||||
+
|
||||
+ filename = malloc(strlen(dirname) + strlen(pfx) + sizeof("/XXXXXX"));
|
||||
+ if (!filename)
|
||||
+ return NULL;
|
||||
+
|
||||
+ sprintf(filename, "%s/%sXXXXXX", dirname, pfx);
|
||||
+
|
||||
+ if ((fd = mkstemp(filename)) < 0) {
|
||||
+ free(filename);
|
||||
+ return NULL;
|
||||
+ }
|
||||
+ close(fd);
|
||||
+
|
||||
+ if (ntempfiles == 0)
|
||||
+ atexit(cleanup_tempfiles);
|
||||
+ tempfiles[ntempfiles++] = filename;
|
||||
+
|
||||
+ return filename;
|
||||
+}
|
||||
--- a2ps-4.13/lib/routines.h.security Mon Oct 18 21:24:41 1999
|
||||
+++ a2ps-4.13/lib/routines.h Mon Feb 12 17:39:30 2001
|
||||
@@ -255,7 +255,8 @@
|
||||
/* If _STR_ is not defined, give it a tempname in _TMPDIR_ */
|
||||
#define tempname_ensure(Str) \
|
||||
do { \
|
||||
- (Str) = (Str) ? (Str) : tempnam (NULL, "a2_"); \
|
||||
+ (Str) = (Str) ? (Str) : safe_tempnam("a2_"); \
|
||||
} while (0)
|
||||
+char * safe_tempnam(const char *);
|
||||
|
||||
#endif
|
||||
252
a2ps.spec
Normal file
252
a2ps.spec
Normal file
|
|
@ -0,0 +1,252 @@
|
|||
%define ver 4.13b
|
||||
%define rel 13
|
||||
|
||||
Summary: Converts text and other types of files to PostScript(TM).
|
||||
Name: a2ps
|
||||
Version: %{ver}
|
||||
Release: %{rel}
|
||||
Copyright: GPL
|
||||
Group: Applications/Publishing
|
||||
Source: ftp://ftp.enst.fr/pub/unix/a2ps/%{name}-%{version}.tar.gz
|
||||
Source1: ftp://ftp.enst.fr/pub/unix/a2ps/i18n-fonts-0.1.tar.gz
|
||||
Patch0: a2ps-4.13-conf.patch
|
||||
Patch1: a2ps-4.13-etc.patch
|
||||
Patch2: a2ps-4.13-flex.patch
|
||||
Patch3: a2ps-4.13-security.patch
|
||||
Patch4: a2ps-4.13-glibcpaper.patch
|
||||
# EUC-JP support
|
||||
Patch10: a2ps-4.13-eucjp.patch.bz2
|
||||
Patch11: a2ps-4.13-autoenc.patch
|
||||
Requires: fileutils sh-utils info
|
||||
Buildrequires: /usr/bin/emacs
|
||||
Url: http://www.inf.enst.fr/~demaille/a2ps/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
Requires: psutils
|
||||
Obsoletes: a2ps-i18n
|
||||
|
||||
%description
|
||||
The a2ps filter converts text and other types of files to PostScript(TM).
|
||||
A2ps has pretty-printing capabilities and includes support for a wide
|
||||
number of programming languages, encodings (ISO Latins, Cyrillic, etc.),
|
||||
and medias.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-4.13 -a 1
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1 -b .security
|
||||
%patch4 -p1 -b .glibcpaper
|
||||
|
||||
%patch10 -p1 -b .euc
|
||||
%patch11 -p1 -b .ae
|
||||
|
||||
%build
|
||||
touch `find $PWD`
|
||||
EMACS=emacs ./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--infodir=/usr/share/info \
|
||||
--mandir=/usr/share/man \
|
||||
--with-medium=_glibc \
|
||||
--enable-kanji
|
||||
|
||||
# Remove prebuilt info files to force regeneration at build time
|
||||
find . -name "*.info*" -exec rm -f {} \;
|
||||
# force rebuilding scanners by flex - patched or not
|
||||
find src lib -name '*.l' -exec touch {} \;
|
||||
# these scanners use 'lineno' - incompatible with -CFe flex flags
|
||||
(
|
||||
cd src
|
||||
/bin/sh ../auxdir/ylwrap "flex" sheets-map.l lex.yy.c sheets-map.c --
|
||||
/bin/sh ../auxdir/ylwrap "flex" lexssh.l lex.yy.c lexssh.c --
|
||||
cd ../lib
|
||||
/bin/sh ../auxdir/ylwrap "flex" lexppd.l lex.yy.c lexppd.c --
|
||||
)
|
||||
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
|
||||
mkdir -p %{buildroot}/usr/share/a2ps/{afm,fonts}
|
||||
pushd i18n-fonts-0.1/afm
|
||||
install -m 0644 *.afm %{buildroot}/usr/share/a2ps/afm
|
||||
pushd ../fonts
|
||||
install -m 0644 *.pfb %{buildroot}/usr/share/a2ps/fonts
|
||||
popd
|
||||
popd
|
||||
|
||||
### FIXME ###
|
||||
inst()
|
||||
{
|
||||
mkdir -p %{buildroot}%{_datadir}/emacs/site-lisp/
|
||||
for f in contrib/emacs/*.el; do \
|
||||
install -m 0644 $f %{buildroot}%{_datadir}/emacs/site-lisp/ ; done
|
||||
}
|
||||
|
||||
gzip $RPM_BUILD_ROOT%{_infodir}/* || :
|
||||
|
||||
%find_lang %name
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
/sbin/install-info %{_infodir}/a2ps.info.gz %{_infodir}/dir
|
||||
/sbin/install-info %{_infodir}/ogonkify.info.gz %{_infodir}/dir
|
||||
/sbin/install-info %{_infodir}/regex.info.gz %{_infodir}/dir
|
||||
(cd %{_datadir}/a2ps/afm;
|
||||
./make_fonts_map.sh > /dev/null 2>&1 || /bin/true
|
||||
if [ -f fonts.map.new ]; then
|
||||
mv fonts.map.new fonts.map
|
||||
fi
|
||||
)
|
||||
|
||||
%preun
|
||||
if [ $1 = 0 ]; then
|
||||
/sbin/install-info --delete %{_infodir}/a2ps.info.gz %{_infodir}/dir
|
||||
/sbin/install-info --delete %{_infodir}/ogonkify.info.gz %{_infodir}/dir
|
||||
/sbin/install-info --delete %{_infodir}/regex.info.gz %{_infodir}/dir
|
||||
fi
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%config (noreplace) %{_sysconfdir}/a2ps.cfg
|
||||
%config(noreplace) %{_sysconfdir}/a2ps-site.cfg
|
||||
%doc AUTHORS ChangeLog COPYING NEWS README TODO THANKS
|
||||
%{_bindir}/*
|
||||
%{_libdir}/*
|
||||
%{_includedir}/*
|
||||
%{_infodir}/a2ps.info*
|
||||
%{_infodir}/ogonkify.info*
|
||||
%{_infodir}/regex.info*
|
||||
%{_mandir}/*/*
|
||||
%config %{_datadir}/a2ps/afm/fonts.map
|
||||
%{_datadir}/a2ps/afm/*.afm
|
||||
%{_datadir}/a2ps/afm/make_fonts_map.sh
|
||||
%{_datadir}/a2ps/README
|
||||
%{_datadir}/a2ps/encoding
|
||||
%{_datadir}/a2ps/fonts
|
||||
%{_datadir}/a2ps/ppd
|
||||
%{_datadir}/a2ps/ps
|
||||
%{_datadir}/a2ps/sheets
|
||||
%{_datadir}/ogonkify/
|
||||
%{_datadir}/emacs/site-lisp/*
|
||||
%dir %{_datadir}/a2ps/afm
|
||||
%dir %{_datadir}/a2ps
|
||||
|
||||
%changelog
|
||||
* Thu Feb 28 2001 SATO Satoru <ssato@redhat.com>
|
||||
- bunzip2-ed all patches except eucjp
|
||||
|
||||
* Thu Feb 22 2001 SATO Satoru <ssato@redhat.com>
|
||||
- support Japanese
|
||||
- bzip2-ed all patches
|
||||
- replace macros (%%makeinstall, %%configure) with traditional
|
||||
commands to avoid some troubles those macros caused.
|
||||
|
||||
* Tue Feb 20 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
||||
- Using letter is as weird as oz, fl. oz, Fahrenheit, lb etc.
|
||||
Add a patch for using the glibc media type for giving US
|
||||
letter for en_US (only locale with this paper), and A4
|
||||
for everyone else.
|
||||
|
||||
* Tue Feb 20 2001 Tim Powers <timp@redhat.com>
|
||||
- changed default medium back to letter (bug 27794)
|
||||
|
||||
* Mon Feb 19 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
||||
- langify
|
||||
- use %%{_tmppath}
|
||||
|
||||
* Mon Feb 12 2001 Tim Waugh <twaugh@redhat.com>
|
||||
- Fix tmpfile security patch so that it actually _works_ (bug #27155).
|
||||
|
||||
* Sun Jan 21 2001 Tim Waugh <twaugh@redhat.com>
|
||||
- New-style prereq line.
|
||||
- %%post script requires fileutils (mv) and sh-utils (true). This
|
||||
should fix bug #24251).
|
||||
|
||||
* Mon Jan 08 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
||||
- Add /usr/bin/emacs to BuildRequires
|
||||
- A4
|
||||
- specify use of GNU Emacs for building
|
||||
|
||||
* Fri Jan 05 2001 Preston Brown <pbrown@redhat.com>
|
||||
- security patch for tmpfile creation from Olaf Kirch <okir@lst.de>
|
||||
|
||||
* Mon Dec 11 2000 Preston Brown <pbrown@redhat.com>
|
||||
- obsoleted old a2ps-i18n package (it was tiny) and included those fonts
|
||||
directly here.
|
||||
|
||||
* Thu Dec 7 2000 Tim Powers <timp@redhat.com>
|
||||
- built for dist-7.1
|
||||
|
||||
* Mon Aug 07 2000 Tim Powers <timp@redhat.com>
|
||||
- update to 4.13b to fix some bugs, thanks to czar@acm.org for giving me a
|
||||
heads up on this (bug #15679)
|
||||
|
||||
* Mon Jul 24 2000 Prospector <prospector@redhat.com>
|
||||
- rebuilt
|
||||
|
||||
* Mon Jul 10 2000 Tim Powers <timp@redhat.com>
|
||||
- rebuilt
|
||||
|
||||
* Fri Jun 23 2000 Tim Powers <timp@redhat.com>
|
||||
- info pages weren't getting gzipped.
|
||||
- stdout & stderror redirected to /dev/null in post section
|
||||
|
||||
* Mon Jun 19 2000 Tim Powers <timp@redhat.com>
|
||||
- fixed bug 12451 which was a stupid mistake by me.
|
||||
- quiet the post section
|
||||
- added patches from michal@ellpspace.math.ualberta.ca and did some spec file
|
||||
magic he suggested as well.
|
||||
|
||||
* Fri Jun 2 2000 Tim Powers <timp@redhat.com>
|
||||
- fixed bug 5876, was not setting the paper size to Letter again :(
|
||||
- man pages and info pages to /usr/share, FHS compliant.
|
||||
- used macros wherever possible
|
||||
|
||||
* Wed May 31 2000 Tim Powers <timp@rehat.com>
|
||||
- fixed bug #11078, now requires psutils
|
||||
|
||||
* Wed Apr 26 2000 Tim Powers <timp@redhat.com>
|
||||
- updated to 4.13
|
||||
- compress man pages
|
||||
|
||||
* Thu Feb 10 2000 Tim Powers <timp@redhat.com>
|
||||
- gzip man pages
|
||||
- strip binaries
|
||||
|
||||
* Mon Jan 24 2000 Tim Powers <timp@redhat.com>
|
||||
- had to be more specific since the i18n stuff was removed from the package.
|
||||
There is a new a2ps-i18n package which treats the
|
||||
/usr/share/a2ps/afm/fonts.map file as a config file
|
||||
|
||||
* Wed Oct 27 1999 Tim Powers <timp@redhat.com>
|
||||
- added the --with-medium=Letter option to the configure process
|
||||
|
||||
* Thu Aug 5 1999 Tim Powers <timp@redhat.com>
|
||||
- fixed problems with missing dirs as reported in bug 3822
|
||||
- built for powertools
|
||||
|
||||
* Tue Jul 6 1999 Tim Powers <timp@redhat.com>
|
||||
- rebuilt for powertools 6.1
|
||||
|
||||
* Wed May 12 1999 Bill Nottingham <notting@redhat.com>
|
||||
- add a2ps-site.cfg
|
||||
|
||||
* Mon Apr 26 1999 Preston Brown <pbrown@redhat.com>
|
||||
- update to 4.12 for Powertools 6.0
|
||||
|
||||
* Sat Oct 24 1998 Jeff Johnson <jbj@redhat.com>
|
||||
- narrower range of %files splats.
|
||||
- install info correctly.
|
||||
- new description/summary text.
|
||||
|
||||
* Tue Oct 06 1998 Michael Maher <mike@redhat.com>
|
||||
- updated source
|
||||
|
||||
* Sat Jul 04 1998 Michael Maher <mike@redhat.com>
|
||||
- built package
|
||||
3
sources
3
sources
|
|
@ -0,0 +1,3 @@
|
|||
8e6a684611da92c9de2a42e7803aa8f0 a2ps-4.13-eucjp.patch.bz2
|
||||
0c8e0c31b08c14f7a7198ce967eb3281 a2ps-4.13b.tar.gz
|
||||
fee1456d0e6e94af4fc5b5a1bb9687b7 i18n-fonts-0.1.tar.gz
|
||||
Loading…
Add table
Add a link
Reference in a new issue