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