4d255bf
Summary: Text file format converters
cvsdist 0f2616b
Name: dos2unix
af87869
Version: 6.0.4
af87869
Release: 1%{?dist}
cvsdist 0f2616b
Group: Applications/Text
53ca4e2
License: BSD
2e06cc7
URL: http://waterlan.home.xs4all.nl/dos2unix.html
2e06cc7
Source: http://waterlan.home.xs4all.nl/dos2unix/%{name}-%{version}.tar.gz
af87869
Patch0: dos2unix-pod-encoding.patch
881add5
BuildRequires: gettext
018bd46
BuildRequires: perl-Pod-Checker
4d255bf
Provides: unix2dos = %{version}-%{release}
4d255bf
Obsoletes: unix2dos < 5.1-1
cvsdist 0f2616b
cvsdist 0f2616b
%description
4d255bf
Convert text files with DOS or Mac line endings to Unix line endings and 
4d255bf
vice versa.
cvsdist 0f2616b
cvsdist 0f2616b
%prep
cvsdist 0f2616b
%setup -q
af87869
%patch0 -p1 -b .pod-encoding
cvsdist 0f2616b
cvsdist 0f2616b
%build
42d738a
make %{?_smp_mflags}
cvsdist 0f2616b
cvsdist 0f2616b
%install
4d255bf
make DESTDIR=$RPM_BUILD_ROOT install
4d255bf
4d255bf
# We add doc files manually to %%doc
4d255bf
rm -rf $RPM_BUILD_ROOT%{_docdir}
4d255bf
Chen Lei 97d4ef1
%find_lang %{name} --with-man --all-name
cvsdist 0f2616b
881add5
%files -f %{name}.lang
cvsdist 0f2616b
%defattr(-,root,root,0755)
00580eb
%doc man/man1/dos2unix.htm  ChangeLog.txt COPYING.txt
4d255bf
%doc NEWS.txt README.txt TODO.txt
cvsdist 0f2616b
%{_bindir}/dos2unix
cvsdist bbbfe0f
%{_bindir}/mac2unix
4d255bf
%{_bindir}/unix2dos
4d255bf
%{_bindir}/unix2mac
4d255bf
%{_mandir}/man1/*.1*
cvsdist 0f2616b
cvsdist 0f2616b
%clean
cvsdist 0f2616b
rm -rf $RPM_BUILD_ROOT
cvsdist 0f2616b
cvsdist 0f2616b
%changelog
af87869
* Thu Jan  2 2014 Tim Waugh <twaugh@redhat.com> 6.0.4-1
af87869
- 6.0.4.
af87869
8a279ce
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.3-3
8a279ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
8a279ce
34d1981
* Fri Feb 22 2013 Tim Waugh <twaugh@redhat.com> 6.0.3-2
018bd46
- Build requires perl-Pod-Checker.
34d1981
- Fixed bogus changelog dates.
34d1981
7339175
* Mon Jan 28 2013 Tim Waugh <twaugh@redhat.com> 6.0.3-1
7339175
- 6.0.3.
7339175
00580eb
* Fri Sep  7 2012 Tim Waugh <twaugh@redhat.com> 6.0.2-1
00580eb
- 6.0.2.
00580eb
6a689d4
* Thu Jul 26 2012 Tim Waugh <twaugh@redhat.com> 6.0.1-1
6a689d4
- 6.0.1.
6a689d4
5ebea2c
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0-2
5ebea2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
5ebea2c
532dd9b
* Tue May  8 2012 Tim Waugh <twaugh@redhat.com> 6.0-1
532dd9b
- 6.0.
532dd9b
08369f5
* Tue Mar 13 2012 Tim Waugh <twaugh@redhat.com> 5.3.3-1
08369f5
- 5.3.3.
08369f5
2e06cc7
* Mon Jan 30 2012 Tim Waugh <twaugh@redhat.com> 5.3.2-1
2e06cc7
- 5.3.2.
2e06cc7
bd9a9d6
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2
bd9a9d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
bd9a9d6
34d1981
* Wed Aug 10 2011 Tim Waugh <twaugh@redhat.com> 5.3.1-1
0e7d223
- 5.3.1.
0e7d223
42d738a
* Fri May 20 2011 Tim Waugh <twaugh@redhat.com> 5.3-2
42d738a
- No longer requires ghostscript or groff.
42d738a
- Large file support taken care of upstream now.
42d738a
63eaf78
* Wed Apr 27 2011 Tim Waugh <twaugh@redhat.com> 5.3-1
63eaf78
- 5.3.
63eaf78
953d6a1
* Mon Apr 11 2011 Tim Waugh <twaugh@redhat.com> 5.2.1-1
953d6a1
- 5.2.1.
953d6a1
61b49ea
* Tue Feb 15 2011 Tim Waugh <twaugh@redhat.com> 5.2-3
a8d84bd
- Build requires perl (for pod2man).
a8d84bd
52eec06
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2-2
52eec06
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
52eec06
ec44f83
* Tue Feb  1 2011 Tim Waugh <twaugh@redhat.com> 5.2-1
ec44f83
- Update to 5.2.
bd7ae3d
- Build requires groff and ghostscript.
ec44f83
Chen Lei 97d4ef1
* Thu Aug 19 2010 Chen Lei <supercyper@163.com> 5.1.1-1
Chen Lei 97d4ef1
- Update to 5.1.1
Chen Lei 97d4ef1
4d255bf
* Wed Aug 18 2010 Tim Waugh <twaugh@redhat.com> 5.1-1
4d255bf
- Applied changes from Chen Lei (bug #592922):
4d255bf
  * Sun Aug 15 2010 Chen Lei <supercyper1@gmail.com> 5.1-1
4d255bf
  - 5.1.
4d255bf
  - Update spec to match latest guidelines w.r.t buildroot tag
4d255bf
2233c63
* Tue Jan 26 2010 Tim Waugh <twaugh@redhat.com> 4.1.2-1
2233c63
- 4.1.2.
2233c63
881add5
* Fri Jan 22 2010 Tim Waugh <twaugh@redhat.com> 4.1.1-1
881add5
- 4.1.1.  New upstream.
881add5
f836595
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-36
f836595
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f836595
2a383f0
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-35
2a383f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2a383f0
6bd6a9c
* Wed Sep 24 2008 Tim Waugh <twaugh@redhat.com> 3.1-34
6bd6a9c
- Moved 'make clean' to prep section and added comment about there
6bd6a9c
  being no upstream (bug #225706).
6bd6a9c
89e5715
* Mon Sep  8 2008 Tim Waugh <twaugh@redhat.com> 3.1-33
1271138
- Preserve file modes (bug #437465).
89e5715
- Fixed manpage grammar (bug #460731).
89e5715
53ca4e2
* Mon Apr 14 2008 Tim Waugh <twaugh@redhat.com> 3.1-32
53ca4e2
- Adjust license tag (bug #225706).
53ca4e2
- Fix missing prototype (bug #225706).
53ca4e2
- Install copy as symbolic links (bug #225706).
53ca4e2
e8de426
* Wed Feb 13 2008 Tim Waugh <twaugh@redhat.com> 3.1-31
e8de426
- Rebuild for GCC 4.3.
e8de426
77a01b8
* Fri Jan 18 2008 Tim Waugh <twaugh@redhat.com> 3.1-30
77a01b8
- Applied patch from bug #292100 to fix segfault with missing -c argument.
77a01b8
51ef0c4
* Wed Aug 29 2007 Tim Waugh <twaugh@redhat.com> 3.1-29
51ef0c4
- Rebuild.
51ef0c4
956121a
* Tue Feb  6 2007 Tim Waugh <twaugh@redhat.com> 3.1-28
956121a
- Fixed build root (bug #225706).
956121a
- Build with SMP flags (bug #225706).
956121a
- Use dist in release tag (bug #225706).
956121a
- Fixed macros in changelog (bug #225706).
9e6013e
- Preserve timestamps when using install (bug #225706).
956121a
b232e99
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.1-27.1
b232e99
- rebuild
b232e99
41c6ad4
* Mon Jul 10 2006 Tim Waugh <twaugh@redhat.com> 3.1-27
3d56650
- Re-encoded spec file in UTF-8 (bug #197817).
3d56650
836456d
* Mon Jun  5 2006 Tim Waugh <twaugh@redhat.com> 3.1-26
836456d
- Rebuilt.
836456d
0250594
* Thu Jun  1 2006 Tim Waugh <twaugh@redhat.com> 3.1-25
0250594
- Build with large file support.
0250594
d640699
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.1-24.2.1
d640699
- bump again for double-long bug on ppc(64)
d640699
9e83c55
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.1-24.2
9e83c55
- rebuilt for new gcc4.1 snapshot and glibc changes
9e83c55
bc4b4ba
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
bc4b4ba
- rebuilt
bc4b4ba
e1129ee
* Wed Apr 13 2005 Tim Waugh <twaugh@redhat.com> 3.1-24
e1129ee
- Fixed tmppath patch (bug #150277).
e1129ee
mharris 5d60019
* Thu Mar  3 2005 Mike A. Harris <mharris@redhat.com> 3.1-23
mharris 5d60019
- Bump and rebuild for FC4, using gcc 4.
mharris 5d60019
mharris beeecc3
* Tue Feb  8 2005 Mike A. Harris <mharris@redhat.com> 3.1-22
mharris beeecc3
- Bump and rebuild for FC4
mharris beeecc3
c230060
* Wed Oct 20 2004 Miloslav Trmac <mitr@redhat.com> - 3.1-21
c230060
- Don't just delete the original file when destination and current directory
c230060
  are on different filesystems (#65548, #123069, patch by James Antill)
c230060
- Fix return type of StripDelimiter in dos2unix-3.1-safeconv.patch (#136148)
c230060
mharris c590067
* Wed Oct  6 2004 Mike A. Harris <mharris@redhat.com> 3.1-20
mharris c590067
- Added dos2unix-3.1-manpage-update-57507.patch to fix manpage (#57507)
mharris df1bda2
- Added dos2unix-3.1-preserve-file-modes.patch to properly preserve file
mharris df1bda2
  permissions (#91331,55183,112710,132145)
mharris c590067
riel 755e19b
* Sun Sep 26 2004 Rik van Riel <riel@redhat.com> 3.1-19
riel 755e19b
- safer conversion w/ mac2unix (fix from bz #57508)
riel 755e19b
cvsdist 5dfcf9c
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 5dfcf9c
- rebuilt
cvsdist 5dfcf9c
cvsdist 49761a3
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 49761a3
- rebuilt
cvsdist 49761a3
cvsdist 5ce9dd7
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist 5ce9dd7
- rebuilt
cvsdist 5ce9dd7
cvsdist a33606b
* Wed Feb 05 2003 Elliot Lee <sopwith@redhat.com> 3.1-15
cvsdist a33606b
- Remove build dependency on perl, since perl BuildRequires: dos2unix,
cvsdist a33606b
  and there's no good reason not to just use sed here.
cvsdist a33606b
cvsdist a33606b
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist a33606b
- rebuilt
cvsdist a33606b
cvsdist a33606b
* Mon Oct  7 2002 Mike A. Harris <mharris@redhat.com> 3.1-13
cvsdist a33606b
- All-arch rebuild
cvsdist a33606b
- Added BuildRequires: perl
cvsdist a33606b
cvsdist d2908fb
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist d2908fb
- automated rebuild
cvsdist d2908fb
cvsdist 3beed4e
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist 3beed4e
- automated rebuild
cvsdist 3beed4e
3d56650
* Thu Feb 28 2002 Trond Eivind Glomsrød <teg@redhat.com> 3.1-10
cvsdist bbbfe0f
- Build in new environment
cvsdist bbbfe0f
cvsdist bbbfe0f
* Thu Jan 17 2002 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist bbbfe0f
- Fix bug #57700 (segfault)
cvsdist bbbfe0f
- Add the mac2unix symlink recommended in README
cvsdist bbbfe0f
- Fix compiler warnings
cvsdist bbbfe0f
cvsdist bbbfe0f
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
cvsdist bbbfe0f
- automated rebuild
cvsdist bbbfe0f
cvsdist 8fb2658
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
cvsdist 8fb2658
- Bump release + rebuild.
cvsdist 8fb2658
cvsdist 0f2616b
* Wed Jan 10 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 0f2616b
- shut up rpmlint
cvsdist 0f2616b
cvsdist 0f2616b
* Fri Nov 17 2000 Tim Powers <timp@redhat.com>
cvsdist 0f2616b
- use mkstemp instead of mktemp. Not much needed to change.
cvsdist 0f2616b
cvsdist 0f2616b
* Thu Nov 16 2000 Tim Powers <timp@redhat.com>
cvsdist 0f2616b
- cleaned up specfile a bit
cvsdist 0f2616b
- built for 7.1
cvsdist 0f2616b
34d1981
* Wed Jul 07 1999 Peter Soos <sp@osb.hu> 
956121a
- Added Hungarian "Summary:" and "%%description" 
cvsdist 0f2616b
- Corrected the file and directory attributes to rebuild the package 
cvsdist 0f2616b
  under RedHat Linux 6.0