]> git.pld-linux.org Git - packages/enscript.git/commitdiff
- updated ac_fixes,am_fixes,mail,debian patches
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 9 May 2003 16:41:41 +0000 (16:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- removed obsolete ac25x patch, added info patch
- release 0.9 - builds, not tested

Changed files:
    enscript-ac25x.patch -> 1.2
    enscript-info.patch -> 1.1
    enscript.spec -> 1.33

enscript-ac25x.patch [deleted file]
enscript-info.patch [new file with mode: 0644]
enscript.spec

diff --git a/enscript-ac25x.patch b/enscript-ac25x.patch
deleted file mode 100644 (file)
index 006f7af..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
---- enscript-1.6.2/configure.in.orig   Wed Mar 20 20:34:01 2002
-+++ enscript-1.6.2/configure.in        Wed Mar 20 20:39:28 2002
-@@ -25,16 +25,16 @@
- dnl Check some functions.
- AC_CHECK_FUNCS(strchr)
- AC_CHECK_FUNC(strerror, AC_DEFINE(HAVE_STRERROR), [
--  LIBOBJS="$LIBOBJS strerror.o"
-+  AC_LIBOBJ([strerror])
- ])
- AC_CHECK_FUNC(memmove, AC_DEFINE(HAVE_MEMMOVE), [
--  LIBOBJS="$LIBOBJS memmove.o"
-+  AC_LIBOBJ([memmove])
- ])
- AC_CHECK_FUNC(memcpy, AC_DEFINE(HAVE_MEMCPY), [
--  LIBOBJS="$LIBOBJS memcpy.o"
-+  AC_LIBOBJ([memcpy])
- ])
- AC_CHECK_FUNC(strtoul, AC_DEFINE(HAVE_STRTOUL), [
--  LIBOBJS="$LIBOBJS strtoul.o"
-+  AC_LIBOBJ([strtoul])
- ])
- AC_CHECK_FUNC(getcwd, AC_DEFINE(HAVE_GETCWD), [
diff --git a/enscript-info.patch b/enscript-info.patch
new file mode 100644 (file)
index 0000000..bdda1e4
--- /dev/null
@@ -0,0 +1,14 @@
+--- enscript-1.6.4/docs/enscript.texi.orig     2003-03-05 08:26:18.000000000 +0100
++++ enscript-1.6.4/docs/enscript.texi  2003-05-09 08:13:39.000000000 +0200
+@@ -7,9 +7,9 @@
+ @include version.texi
+-@dircategory Utilities
++@dircategory Text Processing Tools:
+ @direntry
+-* Enscript: (enscript).                   GNU Enscript
++* Enscript: (enscript).                       GNU Enscript
+ @end direntry
+ @c Combine function and variable indexes to the Concept index.
index e7da33235decfff6cccf30407232bd644e30ddb0..68fe2641943a9b025474b16bb7460e5eddd3a2b8 100644 (file)
@@ -4,7 +4,7 @@ Summary(pl):    Konwertuje czyste ASCII do PostScriptu
 Summary(pt_BR):        Converte texto ASCII para postscript
 Name:          enscript
 Version:       1.6.4
-Release:       0.1
+Release:       0.9
 License:       GPL
 Group:         Applications/Publishing
 Source0:       http://www.iki.fi/mtr/genscript/%{name}-%{version}.tar.gz
@@ -12,9 +12,9 @@ Patch0:               %{name}-ac_fixes.patch
 Patch1:                %{name}-am_fixes.patch
 Patch2:                %{name}-mail.patch
 Patch3:                %{name}-debian.patch
-Patch4:                %{name}-ac25x.patch
+Patch4:                %{name}-info.patch
 URL:           http://www.iki.fi/mtr/genscript/
-BuildRequires: autoconf >= 2.50
+BuildRequires: autoconf >= 2.57
 BuildRequires: automake
 BuildRequires: gettext-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -44,11 +44,11 @@ p
 
 %prep
 %setup -q
-#%patch0 -p1
-#%patch1 -p1
-#%patch2 -p1
-#%patch3 -p1
-#%patch4 -p1
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
 
 %build
 rm -rf missing
@@ -74,9 +74,15 @@ ln -sf enscript $RPM_BUILD_ROOT%{_bindir}/nenscript
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+
+%postun
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README README.ESCAPES THANKS TODO FAQ.html
+%doc AUTHORS ChangeLog NEWS README README.ESCAPES THANKS TODO docs/FAQ.html
 %config(noreplace) %{_sysconfdir}/enscript.cfg
 %attr(755,root,root) %{_bindir}/diffpp
 %attr(755,root,root) %{_bindir}/sliceprint
@@ -87,3 +93,4 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/over
 %{_datadir}/enscript
 %{_mandir}/man1/*
+%{_infodir}/*.info*
This page took 0.086462 seconds and 4 git commands to generate.