2010-08-18 10:40:15 +00:00
|
|
|
Summary: Text file format converters
|
2004-09-09 04:19:07 +00:00
|
|
|
Name: dos2unix
|
2010-08-19 16:46:11 +00:00
|
|
|
Version: 5.1.1
|
2010-01-22 10:41:31 +00:00
|
|
|
Release: 1%{?dist}
|
2004-09-09 04:19:07 +00:00
|
|
|
Group: Applications/Text
|
2008-04-14 16:15:41 +00:00
|
|
|
License: BSD
|
2010-08-18 10:40:15 +00:00
|
|
|
URL: http://www.xs4all.nl/~waterlan/dos2unix.html
|
2010-01-22 10:41:31 +00:00
|
|
|
Source: http://www.xs4all.nl/~waterlan/dos2unix/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: gettext
|
2010-08-18 10:40:15 +00:00
|
|
|
Provides: unix2dos = %{version}-%{release}
|
|
|
|
Obsoletes: unix2dos < 5.1-1
|
2004-09-09 04:19:07 +00:00
|
|
|
|
|
|
|
%description
|
2010-08-18 10:40:15 +00:00
|
|
|
Convert text files with DOS or Mac line endings to Unix line endings and
|
|
|
|
vice versa.
|
2004-09-09 04:19:07 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2010-08-18 10:40:15 +00:00
|
|
|
rm -rf po/*/eo-x.*
|
2004-09-09 04:19:07 +00:00
|
|
|
|
|
|
|
%build
|
2007-02-06 16:40:28 +00:00
|
|
|
make CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE $(getconf LFS_CFLAGS)" \
|
|
|
|
%{?_smp_mflags}
|
2004-09-09 04:19:07 +00:00
|
|
|
|
|
|
|
%install
|
2010-08-18 10:40:15 +00:00
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
|
|
|
|
# We add doc files manually to %%doc
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_docdir}
|
|
|
|
|
2010-08-19 16:46:11 +00:00
|
|
|
%find_lang %{name} --with-man --all-name
|
2004-09-09 04:19:07 +00:00
|
|
|
|
2010-01-22 10:41:31 +00:00
|
|
|
%files -f %{name}.lang
|
2004-09-09 04:19:07 +00:00
|
|
|
%defattr(-,root,root,0755)
|
2010-08-19 16:54:51 +00:00
|
|
|
%doc dos2unix.htm ChangeLog.txt COPYING.txt
|
2010-08-18 10:40:15 +00:00
|
|
|
%doc NEWS.txt README.txt TODO.txt
|
2004-09-09 04:19:07 +00:00
|
|
|
%{_bindir}/dos2unix
|
2004-09-09 04:19:26 +00:00
|
|
|
%{_bindir}/mac2unix
|
2010-08-18 10:40:15 +00:00
|
|
|
%{_bindir}/unix2dos
|
|
|
|
%{_bindir}/unix2mac
|
|
|
|
%{_mandir}/man1/*.1*
|
2004-09-09 04:19:07 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2005-03-03 20:41:56 +00:00
|
|
|
%changelog
|
2010-08-19 16:46:11 +00:00
|
|
|
* Thu Aug 19 2010 Chen Lei <supercyper@163.com> 5.1.1-1
|
|
|
|
- Update to 5.1.1
|
|
|
|
|
2010-08-18 10:40:15 +00:00
|
|
|
* Wed Aug 18 2010 Tim Waugh <twaugh@redhat.com> 5.1-1
|
|
|
|
- Applied changes from Chen Lei (bug #592922):
|
|
|
|
* Sun Aug 15 2010 Chen Lei <supercyper1@gmail.com> 5.1-1
|
|
|
|
- 5.1.
|
|
|
|
- Update spec to match latest guidelines w.r.t buildroot tag
|
|
|
|
|
2010-01-26 09:57:27 +00:00
|
|
|
* Tue Jan 26 2010 Tim Waugh <twaugh@redhat.com> 4.1.2-1
|
|
|
|
- 4.1.2.
|
|
|
|
|
2010-01-22 10:41:31 +00:00
|
|
|
* Fri Jan 22 2010 Tim Waugh <twaugh@redhat.com> 4.1.1-1
|
|
|
|
- 4.1.1. New upstream.
|
|
|
|
|
2009-07-24 20:28:25 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-36
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-24 12:29:41 +00:00
|
|
|
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-35
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-09-24 14:57:00 +00:00
|
|
|
* Wed Sep 24 2008 Tim Waugh <twaugh@redhat.com> 3.1-34
|
|
|
|
- Moved 'make clean' to prep section and added comment about there
|
|
|
|
being no upstream (bug #225706).
|
|
|
|
|
2008-09-08 09:00:34 +00:00
|
|
|
* Mon Sep 8 2008 Tim Waugh <twaugh@redhat.com> 3.1-33
|
2008-09-08 09:17:56 +00:00
|
|
|
- Preserve file modes (bug #437465).
|
2008-09-08 09:00:34 +00:00
|
|
|
- Fixed manpage grammar (bug #460731).
|
|
|
|
|
2008-04-14 16:15:41 +00:00
|
|
|
* Mon Apr 14 2008 Tim Waugh <twaugh@redhat.com> 3.1-32
|
|
|
|
- Adjust license tag (bug #225706).
|
|
|
|
- Fix missing prototype (bug #225706).
|
|
|
|
- Install copy as symbolic links (bug #225706).
|
|
|
|
|
2008-02-13 10:56:13 +00:00
|
|
|
* Wed Feb 13 2008 Tim Waugh <twaugh@redhat.com> 3.1-31
|
|
|
|
- Rebuild for GCC 4.3.
|
|
|
|
|
2008-01-18 09:27:14 +00:00
|
|
|
* Fri Jan 18 2008 Tim Waugh <twaugh@redhat.com> 3.1-30
|
|
|
|
- Applied patch from bug #292100 to fix segfault with missing -c argument.
|
|
|
|
|
2007-08-29 14:26:20 +00:00
|
|
|
* Wed Aug 29 2007 Tim Waugh <twaugh@redhat.com> 3.1-29
|
|
|
|
- Rebuild.
|
|
|
|
|
2007-02-06 16:40:28 +00:00
|
|
|
* Tue Feb 6 2007 Tim Waugh <twaugh@redhat.com> 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).
|
2007-02-06 16:43:18 +00:00
|
|
|
- Preserve timestamps when using install (bug #225706).
|
2007-02-06 16:40:28 +00:00
|
|
|
|
2006-07-12 05:41:56 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.1-27.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-07-10 15:08:25 +00:00
|
|
|
* Mon Jul 10 2006 Tim Waugh <twaugh@redhat.com> 3.1-27
|
2006-07-10 15:00:59 +00:00
|
|
|
- Re-encoded spec file in UTF-8 (bug #197817).
|
|
|
|
|
2006-06-05 08:39:37 +00:00
|
|
|
* Mon Jun 5 2006 Tim Waugh <twaugh@redhat.com> 3.1-26
|
|
|
|
- Rebuilt.
|
|
|
|
|
2006-06-01 11:28:05 +00:00
|
|
|
* Thu Jun 1 2006 Tim Waugh <twaugh@redhat.com> 3.1-25
|
|
|
|
- Build with large file support.
|
|
|
|
|
2006-02-11 02:27:02 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.1-24.2.1
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 11:24:56 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.1-24.2
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2005-12-09 22:40:15 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-04-13 11:20:38 +00:00
|
|
|
* Wed Apr 13 2005 Tim Waugh <twaugh@redhat.com> 3.1-24
|
|
|
|
- Fixed tmppath patch (bug #150277).
|
|
|
|
|
2005-03-03 20:41:56 +00:00
|
|
|
* Thu Mar 3 2005 Mike A. Harris <mharris@redhat.com> 3.1-23
|
|
|
|
- Bump and rebuild for FC4, using gcc 4.
|
|
|
|
|
2005-02-08 18:59:33 +00:00
|
|
|
* Tue Feb 8 2005 Mike A. Harris <mharris@redhat.com> 3.1-22
|
|
|
|
- Bump and rebuild for FC4
|
|
|
|
|
2004-10-20 14:05:23 +00:00
|
|
|
* Wed Oct 20 2004 Miloslav Trmac <mitr@redhat.com> - 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)
|
|
|
|
|
2004-10-06 20:10:26 +00:00
|
|
|
* Wed Oct 6 2004 Mike A. Harris <mharris@redhat.com> 3.1-20
|
|
|
|
- Added dos2unix-3.1-manpage-update-57507.patch to fix manpage (#57507)
|
2004-10-06 20:26:17 +00:00
|
|
|
- Added dos2unix-3.1-preserve-file-modes.patch to properly preserve file
|
|
|
|
permissions (#91331,55183,112710,132145)
|
2004-10-06 20:10:26 +00:00
|
|
|
|
2004-09-26 21:20:56 +00:00
|
|
|
* Sun Sep 26 2004 Rik van Riel <riel@redhat.com> 3.1-19
|
|
|
|
- safer conversion w/ mac2unix (fix from bz #57508)
|
|
|
|
|
2004-09-09 04:20:51 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 04:20:48 +00:00
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 04:20:25 +00:00
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 04:19:41 +00:00
|
|
|
* Wed Feb 05 2003 Elliot Lee <sopwith@redhat.com> 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 <timp@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Mon Oct 7 2002 Mike A. Harris <mharris@redhat.com> 3.1-13
|
|
|
|
- All-arch rebuild
|
|
|
|
- Added BuildRequires: perl
|
|
|
|
|
2004-09-09 04:19:38 +00:00
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2004-09-09 04:19:35 +00:00
|
|
|
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2006-07-10 15:00:59 +00:00
|
|
|
* Thu Feb 28 2002 Trond Eivind Glomsrød <teg@redhat.com> 3.1-10
|
2004-09-09 04:19:26 +00:00
|
|
|
- Build in new environment
|
|
|
|
|
|
|
|
* Thu Jan 17 2002 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
|
- Fix bug #57700 (segfault)
|
|
|
|
- Add the mac2unix symlink recommended in README
|
|
|
|
- Fix compiler warnings
|
|
|
|
|
|
|
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2004-09-09 04:19:14 +00:00
|
|
|
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- Bump release + rebuild.
|
|
|
|
|
2004-09-09 04:19:07 +00:00
|
|
|
* Wed Jan 10 2001 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
|
- shut up rpmlint
|
|
|
|
|
|
|
|
* Fri Nov 17 2000 Tim Powers <timp@redhat.com>
|
|
|
|
- use mkstemp instead of mktemp. Not much needed to change.
|
|
|
|
|
|
|
|
* Thu Nov 16 2000 Tim Powers <timp@redhat.com>
|
|
|
|
- cleaned up specfile a bit
|
|
|
|
- built for 7.1
|
|
|
|
|
|
|
|
* Tue Jul 07 1999 Peter Soos <sp@osb.hu>
|
2007-02-06 16:40:28 +00:00
|
|
|
- Added Hungarian "Summary:" and "%%description"
|
2004-09-09 04:19:07 +00:00
|
|
|
- Corrected the file and directory attributes to rebuild the package
|
|
|
|
under RedHat Linux 6.0
|