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