dos2unix-vl.spec 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. Name: dos2unix
  2. Summary: Text file format converters
  3. Summary(ja): テキストファイルのフォーマット変換ツール
  4. Version: 7.5.2
  5. Release: 1%{?_dist_release}
  6. Group: Applications/Text
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: BSD
  10. URL: https://waterlan.home.xs4all.nl/dos2unix.html
  11. Source0: https://waterlan.home.xs4all.nl/dos2unix/%{name}-%{version}.tar.gz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: gettext
  14. BuildRequires: perl
  15. Provides: unix2dos = %{version}-%{release}
  16. Obsoletes: unix2dos < 5.1-1
  17. %description
  18. Convert text files with DOS or Mac line endings to Unix line endings and
  19. vice versa.
  20. %description -l ja
  21. テキストファイル中の行末記号(LF)を DOS/Mac と Unix との間で
  22. 相互に変換するためのツールです.
  23. %debug_package
  24. %prep
  25. %setup -q
  26. rm -rf po/*/eo-x.*
  27. %build
  28. %make_build CFLAGS="%{optflags} -D_LARGEFILE_SOURCE $(getconf LFS_CFLAGS)" LDFLAGS="%{build_ldflags}" prefix=%{_prefix}
  29. %install
  30. %make_install prefix=%{_prefix}
  31. # We add doc files manually to %%doc
  32. rm -rf %{buildroot}%{_docdir}
  33. %find_lang %{name} --with-man --all-name
  34. %check
  35. make test
  36. %files -f %{name}.lang
  37. %license COPYING.txt
  38. %doc ChangeLog.txt NEWS.txt README.txt TODO.txt
  39. %{_bindir}/dos2unix
  40. %{_bindir}/mac2unix
  41. %{_bindir}/unix2dos
  42. %{_bindir}/unix2mac
  43. %{_mandir}/man1/*.1*
  44. %changelog
  45. * Sun Jun 15 2025 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 7.5.2-1
  46. - new upstream release.
  47. * Fri May 01 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 7.4.1-1
  48. - new upstream release.
  49. * Wed Mar 21 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 5.3.3-1
  50. - updated to 5.3.3
  51. * Sat Sep 4 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.1.1-2
  52. - Initial build for Vine Linux
  53. * Thu Aug 19 2010 Chen Lei <supercyper@163.com> 5.1.1-1
  54. - Update to 5.1.1
  55. * Wed Aug 18 2010 Tim Waugh <twaugh@redhat.com> 5.1-1
  56. - Applied changes from Chen Lei (bug #592922):
  57. * Sun Aug 15 2010 Chen Lei <supercyper1@gmail.com> 5.1-1
  58. - 5.1.
  59. - Update spec to match latest guidelines w.r.t buildroot tag
  60. * Tue Jan 26 2010 Tim Waugh <twaugh@redhat.com> 4.1.2-1
  61. - 4.1.2.
  62. * Fri Jan 22 2010 Tim Waugh <twaugh@redhat.com> 4.1.1-1
  63. - 4.1.1. New upstream.
  64. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-36
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  66. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-35
  67. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  68. * Wed Sep 24 2008 Tim Waugh <twaugh@redhat.com> 3.1-34
  69. - Moved 'make clean' to prep section and added comment about there
  70. being no upstream (bug #225706).
  71. * Mon Sep 8 2008 Tim Waugh <twaugh@redhat.com> 3.1-33
  72. - Preserve file modes (bug #437465).
  73. - Fixed manpage grammar (bug #460731).
  74. * Mon Apr 14 2008 Tim Waugh <twaugh@redhat.com> 3.1-32
  75. - Adjust license tag (bug #225706).
  76. - Fix missing prototype (bug #225706).
  77. - Install copy as symbolic links (bug #225706).
  78. * Wed Feb 13 2008 Tim Waugh <twaugh@redhat.com> 3.1-31
  79. - Rebuild for GCC 4.3.
  80. * Fri Jan 18 2008 Tim Waugh <twaugh@redhat.com> 3.1-30
  81. - Applied patch from bug #292100 to fix segfault with missing -c argument.
  82. * Wed Aug 29 2007 Tim Waugh <twaugh@redhat.com> 3.1-29
  83. - Rebuild.
  84. * Tue Feb 6 2007 Tim Waugh <twaugh@redhat.com> 3.1-28
  85. - Fixed build root (bug #225706).
  86. - Build with SMP flags (bug #225706).
  87. - Use dist in release tag (bug #225706).
  88. - Fixed macros in changelog (bug #225706).
  89. - Preserve timestamps when using install (bug #225706).
  90. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.1-27.1
  91. - rebuild
  92. * Mon Jul 10 2006 Tim Waugh <twaugh@redhat.com> 3.1-27
  93. - Re-encoded spec file in UTF-8 (bug #197817).
  94. * Mon Jun 5 2006 Tim Waugh <twaugh@redhat.com> 3.1-26
  95. - Rebuilt.
  96. * Thu Jun 1 2006 Tim Waugh <twaugh@redhat.com> 3.1-25
  97. - Build with large file support.
  98. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.1-24.2.1
  99. - bump again for double-long bug on ppc(64)
  100. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.1-24.2
  101. - rebuilt for new gcc4.1 snapshot and glibc changes
  102. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  103. - rebuilt
  104. * Wed Apr 13 2005 Tim Waugh <twaugh@redhat.com> 3.1-24
  105. - Fixed tmppath patch (bug #150277).
  106. * Thu Mar 3 2005 Mike A. Harris <mharris@redhat.com> 3.1-23
  107. - Bump and rebuild for FC4, using gcc 4.
  108. * Tue Feb 8 2005 Mike A. Harris <mharris@redhat.com> 3.1-22
  109. - Bump and rebuild for FC4
  110. * Wed Oct 20 2004 Miloslav Trmac <mitr@redhat.com> - 3.1-21
  111. - Don't just delete the original file when destination and current directory
  112. are on different filesystems (#65548, #123069, patch by James Antill)
  113. - Fix return type of StripDelimiter in dos2unix-3.1-safeconv.patch (#136148)
  114. * Wed Oct 6 2004 Mike A. Harris <mharris@redhat.com> 3.1-20
  115. - Added dos2unix-3.1-manpage-update-57507.patch to fix manpage (#57507)
  116. - Added dos2unix-3.1-preserve-file-modes.patch to properly preserve file
  117. permissions (#91331,55183,112710,132145)
  118. * Sun Sep 26 2004 Rik van Riel <riel@redhat.com> 3.1-19
  119. - safer conversion w/ mac2unix (fix from bz #57508)
  120. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  121. - rebuilt
  122. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  123. - rebuilt
  124. * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
  125. - rebuilt
  126. * Wed Feb 05 2003 Elliot Lee <sopwith@redhat.com> 3.1-15
  127. - Remove build dependency on perl, since perl BuildRequires: dos2unix,
  128. and there's no good reason not to just use sed here.
  129. * Wed Jan 22 2003 Tim Powers <timp@redhat.com>
  130. - rebuilt
  131. * Mon Oct 7 2002 Mike A. Harris <mharris@redhat.com> 3.1-13
  132. - All-arch rebuild
  133. - Added BuildRequires: perl
  134. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  135. - automated rebuild
  136. * Thu May 23 2002 Tim Powers <timp@redhat.com>
  137. - automated rebuild
  138. * Thu Feb 28 2002 Trond Eivind Glomsrød <teg@redhat.com> 3.1-10
  139. - Build in new environment
  140. * Thu Jan 17 2002 Bernhard Rosenkraenzer <bero@redhat.com>
  141. - Fix bug #57700 (segfault)
  142. - Add the mac2unix symlink recommended in README
  143. - Fix compiler warnings
  144. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  145. - automated rebuild
  146. * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
  147. - Bump release + rebuild.
  148. * Wed Jan 10 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  149. - shut up rpmlint
  150. * Fri Nov 17 2000 Tim Powers <timp@redhat.com>
  151. - use mkstemp instead of mktemp. Not much needed to change.
  152. * Thu Nov 16 2000 Tim Powers <timp@redhat.com>
  153. - cleaned up specfile a bit
  154. - built for 7.1
  155. * Wed Jul 07 1999 Peter Soos <sp@osb.hu>
  156. - Added Hungarian "Summary:" and "%%description"
  157. - Corrected the file and directory attributes to rebuild the package
  158. under RedHat Linux 6.0