dos2unix-vl.spec 6.1 KB

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