0fc56a
Summary: Text file format converters
0fc56a
Name: dos2unix
0fc56a
Version: 7.4.0
0fc56a
Release: 3%{?dist}
0fc56a
Group: Applications/Text
0fc56a
License: BSD
0fc56a
URL: http://waterlan.home.xs4all.nl/dos2unix.html
0fc56a
Source: http://waterlan.home.xs4all.nl/dos2unix/%{name}-%{version}.tar.gz
0fc56a
Patch0: dos2unix-7.4.0-annocheck.patch
0fc56a
BuildRequires: gettext
0fc56a
Provides: unix2dos = %{version}-%{release}
0fc56a
Obsoletes: unix2dos < 5.1-1
0fc56a
0fc56a
%description
0fc56a
Convert text files with DOS or Mac line endings to Unix line endings and 
0fc56a
vice versa.
0fc56a
0fc56a
%prep
0fc56a
%setup -q
0fc56a
%patch0 -p1 -b .annocheck
0fc56a
0fc56a
%build
0fc56a
export CC=gcc
0fc56a
make %{?_smp_mflags}
0fc56a
0fc56a
%install
0fc56a
make DESTDIR=$RPM_BUILD_ROOT install
0fc56a
0fc56a
# We add doc files manually to %%doc
0fc56a
rm -rf $RPM_BUILD_ROOT%{_docdir}
0fc56a
0fc56a
%find_lang %{name} --with-man --all-name
0fc56a
0fc56a
%files -f %{name}.lang
0fc56a
%defattr(-,root,root,0755)
0fc56a
%doc man/man1/dos2unix.htm  ChangeLog.txt COPYING.txt
0fc56a
%doc NEWS.txt README.txt TODO.txt
0fc56a
%{_bindir}/dos2unix
0fc56a
%{_bindir}/mac2unix
0fc56a
%{_bindir}/unix2dos
0fc56a
%{_bindir}/unix2mac
0fc56a
%{_mandir}/man1/*.1*
0fc56a
0fc56a
%clean
0fc56a
rm -rf $RPM_BUILD_ROOT
0fc56a
0fc56a
%changelog
0fc56a
* Wed Sep 12 2018 Than Ngo <than@redhat.com> - 7.4.0-3
0fc56a
- Fixed bz#1624104, annocheck distro flag failures in dos2unix
0fc56a
0fc56a
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.0-2
0fc56a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
0fc56a
0fc56a
* Wed Oct 11 2017 Tim Waugh <twaugh@redhat.com> 7.4.0-1
0fc56a
- 7.4.0.
0fc56a
0fc56a
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.3.5-3
0fc56a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
0fc56a
0fc56a
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.3.5-2
0fc56a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
0fc56a
0fc56a
* Wed Jul  5 2017 Tim Waugh <twaugh@redhat.com> 7.3.5-1
0fc56a
- 7.3.5.
0fc56a
0fc56a
* Mon Apr 10 2017 Erwin Waterlander <waterlan@xs4all.nl> 7.3.4-3
0fc56a
- Removed build requirement perl-Pod-Checker
0fc56a
0fc56a
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.3.4-2
0fc56a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
0fc56a
0fc56a
* Wed May 25 2016 Tim Waugh <twaugh@redhat.com> 7.3.4-1
0fc56a
- 7.3.4.
0fc56a
0fc56a
* Mon Feb 15 2016 Tim Waugh <twaugh@redhat.com> 7.3.3-1
0fc56a
- 7.3.3 (bug #1308277).
0fc56a
0fc56a
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 7.3.2-2
0fc56a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
0fc56a
0fc56a
* Mon Nov 30 2015 Tim Waugh <twaugh@redhat.com> 7.3.2-1
0fc56a
- 7.3.2 (bug #1284134).
0fc56a
0fc56a
* Thu Oct  1 2015 Tim Waugh <twaugh@redhat.com> 7.3.1-1
0fc56a
- 7.3.1 (bug #1267773).
0fc56a
0fc56a
* Mon Aug 24 2015 Tim Waugh <twaugh@redhat.com> 7.3-1
0fc56a
- 7.3.
0fc56a
0fc56a
* Thu Jul  2 2015 Tim Waugh <twaugh@redhat.com> 7.2.3-1
0fc56a
- 7.2.3 (bug #1238484).
0fc56a
0fc56a
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.2.2-2
0fc56a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0fc56a
0fc56a
* Tue May 26 2015 Tim Waugh <twaugh@redhat.com> 7.2.2-1
0fc56a
- 7.2.2 (bug #1224433).
0fc56a
0fc56a
* Thu Apr  2 2015 Tim Waugh <twaugh@redhat.com> 7.2.1-1
0fc56a
- 7.2.1.
0fc56a
0fc56a
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 7.2-2
0fc56a
- Rebuilt for Fedora 23 Change
0fc56a
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
0fc56a
0fc56a
* Wed Feb 11 2015 Tim Waugh <twaugh@redhat.com> 7.2-1
0fc56a
- 7.2.
0fc56a
0fc56a
* Tue Oct  7 2014 Tim Waugh <twaugh@redhat.com> 7.1-1
0fc56a
- 7.1.
0fc56a
0fc56a
* Wed Sep 10 2014 Tim Waugh <twaugh@redhat.com> 7.0-1
0fc56a
- 7.0.
0fc56a
0fc56a
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.6-2
0fc56a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
0fc56a
0fc56a
* Mon Aug  4 2014 Tim Waugh <twaugh@redhat.com> 6.0.6-1
0fc56a
- 6.0.6.
0fc56a
0fc56a
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.5-2
0fc56a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
0fc56a
0fc56a
* Tue Apr 22 2014 Tim Waugh <twaugh@redhat.com> 6.0.5-1
0fc56a
- 6.0.5 (bug #1089931).
0fc56a
0fc56a
* Thu Jan  2 2014 Tim Waugh <twaugh@redhat.com> 6.0.4-1
0fc56a
- 6.0.4.
0fc56a
0fc56a
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.3-3
0fc56a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
0fc56a
0fc56a
* Fri Feb 22 2013 Tim Waugh <twaugh@redhat.com> 6.0.3-2
0fc56a
- Build requires perl-Pod-Checker.
0fc56a
- Fixed bogus changelog dates.
0fc56a
0fc56a
* Mon Jan 28 2013 Tim Waugh <twaugh@redhat.com> 6.0.3-1
0fc56a
- 6.0.3.
0fc56a
0fc56a
* Fri Sep  7 2012 Tim Waugh <twaugh@redhat.com> 6.0.2-1
0fc56a
- 6.0.2.
0fc56a
0fc56a
* Thu Jul 26 2012 Tim Waugh <twaugh@redhat.com> 6.0.1-1
0fc56a
- 6.0.1.
0fc56a
0fc56a
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0-2
0fc56a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0fc56a
0fc56a
* Tue May  8 2012 Tim Waugh <twaugh@redhat.com> 6.0-1
0fc56a
- 6.0.
0fc56a
0fc56a
* Tue Mar 13 2012 Tim Waugh <twaugh@redhat.com> 5.3.3-1
0fc56a
- 5.3.3.
0fc56a
0fc56a
* Mon Jan 30 2012 Tim Waugh <twaugh@redhat.com> 5.3.2-1
0fc56a
- 5.3.2.
0fc56a
0fc56a
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2
0fc56a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0fc56a
0fc56a
* Wed Aug 10 2011 Tim Waugh <twaugh@redhat.com> 5.3.1-1
0fc56a
- 5.3.1.
0fc56a
0fc56a
* Fri May 20 2011 Tim Waugh <twaugh@redhat.com> 5.3-2
0fc56a
- No longer requires ghostscript or groff.
0fc56a
- Large file support taken care of upstream now.
0fc56a
0fc56a
* Wed Apr 27 2011 Tim Waugh <twaugh@redhat.com> 5.3-1
0fc56a
- 5.3.
0fc56a
0fc56a
* Mon Apr 11 2011 Tim Waugh <twaugh@redhat.com> 5.2.1-1
0fc56a
- 5.2.1.
0fc56a
0fc56a
* Tue Feb 15 2011 Tim Waugh <twaugh@redhat.com> 5.2-3
0fc56a
- Build requires perl (for pod2man).
0fc56a
0fc56a
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2-2
0fc56a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0fc56a
0fc56a
* Tue Feb  1 2011 Tim Waugh <twaugh@redhat.com> 5.2-1
0fc56a
- Update to 5.2.
0fc56a
- Build requires groff and ghostscript.
0fc56a
0fc56a
* Thu Aug 19 2010 Chen Lei <supercyper@163.com> 5.1.1-1
0fc56a
- Update to 5.1.1
0fc56a
0fc56a
* Wed Aug 18 2010 Tim Waugh <twaugh@redhat.com> 5.1-1
0fc56a
- Applied changes from Chen Lei (bug #592922):
0fc56a
  * Sun Aug 15 2010 Chen Lei <supercyper1@gmail.com> 5.1-1
0fc56a
  - 5.1.
0fc56a
  - Update spec to match latest guidelines w.r.t buildroot tag
0fc56a
0fc56a
* Tue Jan 26 2010 Tim Waugh <twaugh@redhat.com> 4.1.2-1
0fc56a
- 4.1.2.
0fc56a
0fc56a
* Fri Jan 22 2010 Tim Waugh <twaugh@redhat.com> 4.1.1-1
0fc56a
- 4.1.1.  New upstream.
0fc56a
0fc56a
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-36
0fc56a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
0fc56a
0fc56a
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-35
0fc56a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
0fc56a
0fc56a
* Wed Sep 24 2008 Tim Waugh <twaugh@redhat.com> 3.1-34
0fc56a
- Moved 'make clean' to prep section and added comment about there
0fc56a
  being no upstream (bug #225706).
0fc56a
0fc56a
* Mon Sep  8 2008 Tim Waugh <twaugh@redhat.com> 3.1-33
0fc56a
- Preserve file modes (bug #437465).
0fc56a
- Fixed manpage grammar (bug #460731).
0fc56a
0fc56a
* Mon Apr 14 2008 Tim Waugh <twaugh@redhat.com> 3.1-32
0fc56a
- Adjust license tag (bug #225706).
0fc56a
- Fix missing prototype (bug #225706).
0fc56a
- Install copy as symbolic links (bug #225706).
0fc56a
0fc56a
* Wed Feb 13 2008 Tim Waugh <twaugh@redhat.com> 3.1-31
0fc56a
- Rebuild for GCC 4.3.
0fc56a
0fc56a
* Fri Jan 18 2008 Tim Waugh <twaugh@redhat.com> 3.1-30
0fc56a
- Applied patch from bug #292100 to fix segfault with missing -c argument.
0fc56a
0fc56a
* Wed Aug 29 2007 Tim Waugh <twaugh@redhat.com> 3.1-29
0fc56a
- Rebuild.
0fc56a
0fc56a
* Tue Feb  6 2007 Tim Waugh <twaugh@redhat.com> 3.1-28
0fc56a
- Fixed build root (bug #225706).
0fc56a
- Build with SMP flags (bug #225706).
0fc56a
- Use dist in release tag (bug #225706).
0fc56a
- Fixed macros in changelog (bug #225706).
0fc56a
- Preserve timestamps when using install (bug #225706).
0fc56a
0fc56a
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.1-27.1
0fc56a
- rebuild
0fc56a
0fc56a
* Mon Jul 10 2006 Tim Waugh <twaugh@redhat.com> 3.1-27
0fc56a
- Re-encoded spec file in UTF-8 (bug #197817).
0fc56a
0fc56a
* Mon Jun  5 2006 Tim Waugh <twaugh@redhat.com> 3.1-26
0fc56a
- Rebuilt.
0fc56a
0fc56a
* Thu Jun  1 2006 Tim Waugh <twaugh@redhat.com> 3.1-25
0fc56a
- Build with large file support.
0fc56a
0fc56a
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.1-24.2.1
0fc56a
- bump again for double-long bug on ppc(64)
0fc56a
0fc56a
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.1-24.2
0fc56a
- rebuilt for new gcc4.1 snapshot and glibc changes
0fc56a
0fc56a
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
0fc56a
- rebuilt
0fc56a
0fc56a
* Wed Apr 13 2005 Tim Waugh <twaugh@redhat.com> 3.1-24
0fc56a
- Fixed tmppath patch (bug #150277).
0fc56a
0fc56a
* Thu Mar  3 2005 Mike A. Harris <mharris@redhat.com> 3.1-23
0fc56a
- Bump and rebuild for FC4, using gcc 4.
0fc56a
0fc56a
* Tue Feb  8 2005 Mike A. Harris <mharris@redhat.com> 3.1-22
0fc56a
- Bump and rebuild for FC4
0fc56a
0fc56a
* Wed Oct 20 2004 Miloslav Trmac <mitr@redhat.com> - 3.1-21
0fc56a
- Don't just delete the original file when destination and current directory
0fc56a
  are on different filesystems (#65548, #123069, patch by James Antill)
0fc56a
- Fix return type of StripDelimiter in dos2unix-3.1-safeconv.patch (#136148)
0fc56a
0fc56a
* Wed Oct  6 2004 Mike A. Harris <mharris@redhat.com> 3.1-20
0fc56a
- Added dos2unix-3.1-manpage-update-57507.patch to fix manpage (#57507)
0fc56a
- Added dos2unix-3.1-preserve-file-modes.patch to properly preserve file
0fc56a
  permissions (#91331,55183,112710,132145)
0fc56a
0fc56a
* Sun Sep 26 2004 Rik van Riel <riel@redhat.com> 3.1-19
0fc56a
- safer conversion w/ mac2unix (fix from bz #57508)
0fc56a
0fc56a
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
0fc56a
- rebuilt
0fc56a
0fc56a
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
0fc56a
- rebuilt
0fc56a
0fc56a
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
0fc56a
- rebuilt
0fc56a
0fc56a
* Wed Feb 05 2003 Elliot Lee <sopwith@redhat.com> 3.1-15
0fc56a
- Remove build dependency on perl, since perl BuildRequires: dos2unix,
0fc56a
  and there's no good reason not to just use sed here.
0fc56a
0fc56a
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
0fc56a
- rebuilt
0fc56a
0fc56a
* Mon Oct  7 2002 Mike A. Harris <mharris@redhat.com> 3.1-13
0fc56a
- All-arch rebuild
0fc56a
- Added BuildRequires: perl
0fc56a
0fc56a
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
0fc56a
- automated rebuild
0fc56a
0fc56a
* Thu May 23 2002 Tim Powers <timp@redhat.com>
0fc56a
- automated rebuild
0fc56a
0fc56a
* Thu Feb 28 2002 Trond Eivind Glomsrød <teg@redhat.com> 3.1-10
0fc56a
- Build in new environment
0fc56a
0fc56a
* Thu Jan 17 2002 Bernhard Rosenkraenzer <bero@redhat.com>
0fc56a
- Fix bug #57700 (segfault)
0fc56a
- Add the mac2unix symlink recommended in README
0fc56a
- Fix compiler warnings
0fc56a
0fc56a
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
0fc56a
- automated rebuild
0fc56a
0fc56a
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
0fc56a
- Bump release + rebuild.
0fc56a
0fc56a
* Wed Jan 10 2001 Bernhard Rosenkraenzer <bero@redhat.com>
0fc56a
- shut up rpmlint
0fc56a
0fc56a
* Fri Nov 17 2000 Tim Powers <timp@redhat.com>
0fc56a
- use mkstemp instead of mktemp. Not much needed to change.
0fc56a
0fc56a
* Thu Nov 16 2000 Tim Powers <timp@redhat.com>
0fc56a
- cleaned up specfile a bit
0fc56a
- built for 7.1
0fc56a
0fc56a
* Wed Jul 07 1999 Peter Soos <sp@osb.hu> 
0fc56a
- Added Hungarian "Summary:" and "%%description" 
0fc56a
- Corrected the file and directory attributes to rebuild the package 
0fc56a
  under RedHat Linux 6.0