- Update to 5.2:

ISO conversion mode supports same DOS code pages as SunOS dos2unix does:
      CP437 (US), CP850 (Western European), CP860 (Portuguese),
      CP863 (French Canadian), and CP865 (Nordic). 
    ISO conversion mode supports Windows code page CP1252 (Western).
    SunOS compatible options -ascii, -iso, -7, -437, -850, -860, -863, and -865.
    Active code page detection for ISO mode.
    Fixed ISO conversion of non-breaking space (NBSP).
    Treat ASCII Form Feed control characters as valid text.
    Update manual pages.
    Don't include generated documentation files in Unix source package.
- Suffix for HTML pages is .html not .htm

OBS-URL: https://build.opensuse.org/package/show/Base:System/dos2unix?expand=0&rev=27
This commit is contained in:
Philipp Thomas 2011-02-03 17:56:34 +00:00 committed by Git OBS Bridge
parent aebcf6422e
commit 3b536f4d98
5 changed files with 46 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ad17baa702b429ba94c09c8bbb7cfdfed8a4bc5f467f32798498b6596bc38107
size 48676

3
dos2unix-5.2.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:03ae3f10826dcfc3f40c577b12a5aa7c97e17cbed73f49ca5c0225b6e5bbd302
size 34580

View File

@ -0,0 +1,22 @@
Index: Makefile
===================================================================
--- Makefile.orig 2011-01-31 22:06:08.000000000 +0100
+++ Makefile 2011-02-03 18:45:16.548761128 +0100
@@ -77,7 +77,7 @@ ifdef ENABLE_NLS
MOFILES = $(DOS2UNIX_MOFILES) $(UNIX2DOS_MOFILES)
endif
-DOCFILES = $(PACKAGE).txt $(PACKAGE).ps $(PACKAGE).pdf $(PACKAGE).htm
+DOCFILES = $(PACKAGE).txt $(PACKAGE).ps $(PACKAGE).pdf $(PACKAGE).html
INSTALL_OBJS_DOC = README.txt NEWS.txt ChangeLog.txt COPYING.txt TODO.txt BUGS.txt $(DOCFILES)
#PODFILES = man/man1/dos2unix.pod $(wildcard man/*/man1/dos2unix.pod)
@@ -249,7 +249,7 @@ $(UNIX2DOS_POT) : unix2dos.c
%.pdf: %.ps
ps2pdf $< $@
-%.htm : man/man1/%.pod
+%.html : man/man1/%.pod
pod2html --title="$(PACKAGE) $(DOS2UNIX_VERSION) - DOS/MAC to UNIX and vice versa text file format converter" $< > $@
install: all

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Thu Feb 3 18:03:40 CET 2011 - pth@suse.de
- Update to 5.2:
ISO conversion mode supports same DOS code pages as SunOS dos2unix does:
CP437 (US), CP850 (Western European), CP860 (Portuguese),
CP863 (French Canadian), and CP865 (Nordic).
ISO conversion mode supports Windows code page CP1252 (Western).
SunOS compatible options -ascii, -iso, -7, -437, -850, -860, -863, and -865.
Active code page detection for ISO mode.
Fixed ISO conversion of non-breaking space (NBSP).
Treat ASCII Form Feed control characters as valid text.
Update manual pages.
Don't include generated documentation files in Unix source package.
- Suffix for HTML pages is .html not .htm
-------------------------------------------------------------------
Fri Jan 14 20:08:59 UTC 2011 - coolo@novell.com

View File

@ -18,14 +18,15 @@
Name: dos2unix
BuildRequires: xz
BuildRequires: xz ghostscript-library
Summary: Text converters to and from DOS/MAC to UNIX
Version: 5.1.1
Release: 4
Version: 5.2
Release: 1
Group: Productivity/Text/Convertors
License: BSD3c
Url: http://www.xs4all.nl/~waterlan/#DOS2UNIX
Source: %{name}-%{version}.tar.xz
Patch0: dos2unix-correct_ending.patch
Provides: unix2dos = %{version}
Obsoletes: unix2dos < %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -39,6 +40,7 @@ format to DOS format and unix2dos converts from UNIX to MAC format.
%prep
%setup -q
%patch0
find . -type f | xargs chmod -x
%build