dos2unix-vl.spec 6.3 KB

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