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