4d255bf
Summary: Text file format converters
cvsdist 0f2616b
Name: dos2unix
59dd410
Version: 7.4.2
59dd410
Release: 1%{?dist}
53ca4e2
License: BSD
2e06cc7
URL: http://waterlan.home.xs4all.nl/dos2unix.html
2e06cc7
Source: http://waterlan.home.xs4all.nl/dos2unix/%{name}-%{version}.tar.gz
8676daa
BuildRequires: gcc
881add5
BuildRequires: gettext
858b421
# perl modules, required for tests
858b421
BuildRequires: perl-Test-Harness perl-Test-Simple
19aef1d
BuildRequires: make
4d255bf
Provides: unix2dos = %{version}-%{release}
4d255bf
Obsoletes: unix2dos < 5.1-1
cvsdist 0f2616b
cvsdist 0f2616b
%description
4d255bf
Convert text files with DOS or Mac line endings to Unix line endings and 
4d255bf
vice versa.
cvsdist 0f2616b
cvsdist 0f2616b
%prep
cvsdist 0f2616b
%setup -q
cvsdist 0f2616b
cvsdist 0f2616b
%build
cb36735
make %{?_smp_mflags} LDFLAGS="%{build_ldflags}"
cvsdist 0f2616b
cvsdist 0f2616b
%install
4d255bf
make DESTDIR=$RPM_BUILD_ROOT install
4d255bf
4d255bf
# We add doc files manually to %%doc
4d255bf
rm -rf $RPM_BUILD_ROOT%{_docdir}
4d255bf
Chen Lei 97d4ef1
%find_lang %{name} --with-man --all-name
cvsdist 0f2616b
d0b739d
%check
d0b739d
make test
d0b739d
881add5
%files -f %{name}.lang
00580eb
%doc man/man1/dos2unix.htm  ChangeLog.txt COPYING.txt
4d255bf
%doc NEWS.txt README.txt TODO.txt
cvsdist 0f2616b
%{_bindir}/dos2unix
cvsdist bbbfe0f
%{_bindir}/mac2unix
4d255bf
%{_bindir}/unix2dos
4d255bf
%{_bindir}/unix2mac
4d255bf
%{_mandir}/man1/*.1*
cvsdist 0f2616b
cvsdist 0f2616b
%changelog
59dd410
* Mon Oct 12 2020 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 7.4.2-1
59dd410
- Update to 7.4.2 (#1887599)
59dd410
3fb13a4
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.1-3
3fb13a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
3fb13a4
f861fc9
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.1-2
f861fc9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
f861fc9
81ecb0d
* Tue Sep 24 2019 Tim Waugh <twaugh@redhat.com> - 7.4.1-1
81ecb0d
- Update to 7.4.1 (#1755150)
81ecb0d
9662c4a
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.0-8
9662c4a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
9662c4a
d0b739d
* Wed Mar 06 2019 Than Ngo <than@redhat.com> - 7.4.0-7
d0b739d
- Enable tests
d0b739d
fd36150
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.0-6
fd36150
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
fd36150
7afccc7
* Mon Jul 23 2018 Tim Waugh <twaugh@redhat.com> - 7.4.0-5
7afccc7
- Build requires gcc (bug #1603820).
7afccc7
d00a59a
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.0-4
d00a59a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
d00a59a
cb36735
* Tue May 08 2018 Tim Waugh <twaugh@redhat.com> - 7.4.0-3
cb36735
- Fix build flags injection (bug #1573086).
cb36735
55184ce
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.0-2
55184ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
55184ce
4f284f0
* Wed Oct 11 2017 Tim Waugh <twaugh@redhat.com> 7.4.0-1
4f284f0
- 7.4.0.
4f284f0
a500d03
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.3.5-3
a500d03
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
a500d03
fe8546c
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.3.5-2
fe8546c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
fe8546c
345da2a
* Wed Jul  5 2017 Tim Waugh <twaugh@redhat.com> 7.3.5-1
345da2a
- 7.3.5.
345da2a
Erwin Waterlander b7772c4
* Mon Apr 10 2017 Erwin Waterlander <waterlan@xs4all.nl> 7.3.4-3
Erwin Waterlander b7772c4
- Removed build requirement perl-Pod-Checker
Erwin Waterlander b7772c4
4475500
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.3.4-2
4475500
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4475500
c6edc79
* Wed May 25 2016 Tim Waugh <twaugh@redhat.com> 7.3.4-1
c6edc79
- 7.3.4.
c6edc79
7807c1d
* Mon Feb 15 2016 Tim Waugh <twaugh@redhat.com> 7.3.3-1
7807c1d
- 7.3.3 (bug #1308277).
7807c1d
69dc532
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 7.3.2-2
69dc532
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
69dc532
7807c1d
* Mon Nov 30 2015 Tim Waugh <twaugh@redhat.com> 7.3.2-1
2dc8390
- 7.3.2 (bug #1284134).
2dc8390
18c9756
* Thu Oct  1 2015 Tim Waugh <twaugh@redhat.com> 7.3.1-1
18c9756
- 7.3.1 (bug #1267773).
18c9756
2e523ad
* Mon Aug 24 2015 Tim Waugh <twaugh@redhat.com> 7.3-1
2e523ad
- 7.3.
2e523ad
7546917
* Thu Jul  2 2015 Tim Waugh <twaugh@redhat.com> 7.2.3-1
7546917
- 7.2.3 (bug #1238484).
7546917
186a8ed
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.2.2-2
186a8ed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
186a8ed
85cff6d
* Tue May 26 2015 Tim Waugh <twaugh@redhat.com> 7.2.2-1
85cff6d
- 7.2.2 (bug #1224433).
85cff6d
0570abe
* Thu Apr  2 2015 Tim Waugh <twaugh@redhat.com> 7.2.1-1
0570abe
- 7.2.1.
0570abe
b3f9b19
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 7.2-2
b3f9b19
- Rebuilt for Fedora 23 Change
b3f9b19
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
b3f9b19
7764ee5
* Wed Feb 11 2015 Tim Waugh <twaugh@redhat.com> 7.2-1
7764ee5
- 7.2.
7764ee5
e5f4812
* Tue Oct  7 2014 Tim Waugh <twaugh@redhat.com> 7.1-1
e5f4812
- 7.1.
e5f4812
f9c9d00
* Wed Sep 10 2014 Tim Waugh <twaugh@redhat.com> 7.0-1
f9c9d00
- 7.0.
f9c9d00
17c2ae8
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.6-2
17c2ae8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
17c2ae8
83d188b
* Mon Aug  4 2014 Tim Waugh <twaugh@redhat.com> 6.0.6-1
83d188b
- 6.0.6.
83d188b
0a88434
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.5-2
0a88434
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
0a88434
03f49b4
* Tue Apr 22 2014 Tim Waugh <twaugh@redhat.com> 6.0.5-1
03f49b4
- 6.0.5 (bug #1089931).
03f49b4
af87869
* Thu Jan  2 2014 Tim Waugh <twaugh@redhat.com> 6.0.4-1
af87869
- 6.0.4.
af87869
8a279ce
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.3-3
8a279ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
8a279ce
34d1981
* Fri Feb 22 2013 Tim Waugh <twaugh@redhat.com> 6.0.3-2
018bd46
- Build requires perl-Pod-Checker.
34d1981
- Fixed bogus changelog dates.
34d1981
7339175
* Mon Jan 28 2013 Tim Waugh <twaugh@redhat.com> 6.0.3-1
7339175
- 6.0.3.
7339175
00580eb
* Fri Sep  7 2012 Tim Waugh <twaugh@redhat.com> 6.0.2-1
00580eb
- 6.0.2.
00580eb
6a689d4
* Thu Jul 26 2012 Tim Waugh <twaugh@redhat.com> 6.0.1-1
6a689d4
- 6.0.1.
6a689d4
5ebea2c
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0-2
5ebea2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
5ebea2c
532dd9b
* Tue May  8 2012 Tim Waugh <twaugh@redhat.com> 6.0-1
532dd9b
- 6.0.
532dd9b
08369f5
* Tue Mar 13 2012 Tim Waugh <twaugh@redhat.com> 5.3.3-1
08369f5
- 5.3.3.
08369f5
2e06cc7
* Mon Jan 30 2012 Tim Waugh <twaugh@redhat.com> 5.3.2-1
2e06cc7
- 5.3.2.
2e06cc7
bd9a9d6
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2
bd9a9d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
bd9a9d6
34d1981
* Wed Aug 10 2011 Tim Waugh <twaugh@redhat.com> 5.3.1-1
0e7d223
- 5.3.1.
0e7d223
42d738a
* Fri May 20 2011 Tim Waugh <twaugh@redhat.com> 5.3-2
42d738a
- No longer requires ghostscript or groff.
42d738a
- Large file support taken care of upstream now.
42d738a
63eaf78
* Wed Apr 27 2011 Tim Waugh <twaugh@redhat.com> 5.3-1
63eaf78
- 5.3.
63eaf78
953d6a1
* Mon Apr 11 2011 Tim Waugh <twaugh@redhat.com> 5.2.1-1
953d6a1
- 5.2.1.
953d6a1
61b49ea
* Tue Feb 15 2011 Tim Waugh <twaugh@redhat.com> 5.2-3
a8d84bd
- Build requires perl (for pod2man).
a8d84bd
52eec06
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2-2
52eec06
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
52eec06
ec44f83
* Tue Feb  1 2011 Tim Waugh <twaugh@redhat.com> 5.2-1
ec44f83
- Update to 5.2.
bd7ae3d
- Build requires groff and ghostscript.
ec44f83
Chen Lei 97d4ef1
* Thu Aug 19 2010 Chen Lei <supercyper@163.com> 5.1.1-1
Chen Lei 97d4ef1
- Update to 5.1.1
Chen Lei 97d4ef1
4d255bf
* Wed Aug 18 2010 Tim Waugh <twaugh@redhat.com> 5.1-1
4d255bf
- Applied changes from Chen Lei (bug #592922):
4d255bf
  * Sun Aug 15 2010 Chen Lei <supercyper1@gmail.com> 5.1-1
4d255bf
  - 5.1.
4d255bf
  - Update spec to match latest guidelines w.r.t buildroot tag
4d255bf
2233c63
* Tue Jan 26 2010 Tim Waugh <twaugh@redhat.com> 4.1.2-1
2233c63
- 4.1.2.
2233c63
881add5
* Fri Jan 22 2010 Tim Waugh <twaugh@redhat.com> 4.1.1-1
881add5
- 4.1.1.  New upstream.
881add5
f836595
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-36
f836595
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f836595
2a383f0
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-35
2a383f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2a383f0
6bd6a9c
* Wed Sep 24 2008 Tim Waugh <twaugh@redhat.com> 3.1-34
6bd6a9c
- Moved 'make clean' to prep section and added comment about there
6bd6a9c
  being no upstream (bug #225706).
6bd6a9c
89e5715
* Mon Sep  8 2008 Tim Waugh <twaugh@redhat.com> 3.1-33
1271138
- Preserve file modes (bug #437465).
89e5715
- Fixed manpage grammar (bug #460731).
89e5715
53ca4e2
* Mon Apr 14 2008 Tim Waugh <twaugh@redhat.com> 3.1-32
53ca4e2
- Adjust license tag (bug #225706).
53ca4e2
- Fix missing prototype (bug #225706).
53ca4e2
- Install copy as symbolic links (bug #225706).
53ca4e2
e8de426
* Wed Feb 13 2008 Tim Waugh <twaugh@redhat.com> 3.1-31
e8de426
- Rebuild for GCC 4.3.
e8de426
77a01b8
* Fri Jan 18 2008 Tim Waugh <twaugh@redhat.com> 3.1-30
77a01b8
- Applied patch from bug #292100 to fix segfault with missing -c argument.
77a01b8
51ef0c4
* Wed Aug 29 2007 Tim Waugh <twaugh@redhat.com> 3.1-29
51ef0c4
- Rebuild.
51ef0c4
956121a
* Tue Feb  6 2007 Tim Waugh <twaugh@redhat.com> 3.1-28
956121a
- Fixed build root (bug #225706).
956121a
- Build with SMP flags (bug #225706).
956121a
- Use dist in release tag (bug #225706).
956121a
- Fixed macros in changelog (bug #225706).
9e6013e
- Preserve timestamps when using install (bug #225706).
956121a
b232e99
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.1-27.1
b232e99
- rebuild
b232e99
41c6ad4
* Mon Jul 10 2006 Tim Waugh <twaugh@redhat.com> 3.1-27
3d56650
- Re-encoded spec file in UTF-8 (bug #197817).
3d56650
836456d
* Mon Jun  5 2006 Tim Waugh <twaugh@redhat.com> 3.1-26
836456d
- Rebuilt.
836456d
0250594
* Thu Jun  1 2006 Tim Waugh <twaugh@redhat.com> 3.1-25
0250594
- Build with large file support.
0250594
d640699
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.1-24.2.1
d640699
- bump again for double-long bug on ppc(64)
d640699
9e83c55
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.1-24.2
9e83c55
- rebuilt for new gcc4.1 snapshot and glibc changes
9e83c55
bc4b4ba
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
bc4b4ba
- rebuilt
bc4b4ba
e1129ee
* Wed Apr 13 2005 Tim Waugh <twaugh@redhat.com> 3.1-24
e1129ee
- Fixed tmppath patch (bug #150277).
e1129ee
mharris 5d60019
* Thu Mar  3 2005 Mike A. Harris <mharris@redhat.com> 3.1-23
mharris 5d60019
- Bump and rebuild for FC4, using gcc 4.
mharris 5d60019
mharris beeecc3
* Tue Feb  8 2005 Mike A. Harris <mharris@redhat.com> 3.1-22
mharris beeecc3
- Bump and rebuild for FC4
mharris beeecc3
c230060
* Wed Oct 20 2004 Miloslav Trmac <mitr@redhat.com> - 3.1-21
c230060
- Don't just delete the original file when destination and current directory
c230060
  are on different filesystems (#65548, #123069, patch by James Antill)
c230060
- Fix return type of StripDelimiter in dos2unix-3.1-safeconv.patch (#136148)
c230060
mharris c590067
* Wed Oct  6 2004 Mike A. Harris <mharris@redhat.com> 3.1-20
mharris c590067
- Added dos2unix-3.1-manpage-update-57507.patch to fix manpage (#57507)
mharris df1bda2
- Added dos2unix-3.1-preserve-file-modes.patch to properly preserve file
mharris df1bda2
  permissions (#91331,55183,112710,132145)
mharris c590067
riel 755e19b
* Sun Sep 26 2004 Rik van Riel <riel@redhat.com> 3.1-19
riel 755e19b
- safer conversion w/ mac2unix (fix from bz #57508)
riel 755e19b
cvsdist 5dfcf9c
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 5dfcf9c
- rebuilt
cvsdist 5dfcf9c
cvsdist 49761a3
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 49761a3
- rebuilt
cvsdist 49761a3
cvsdist 5ce9dd7
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist 5ce9dd7
- rebuilt
cvsdist 5ce9dd7
cvsdist a33606b
* Wed Feb 05 2003 Elliot Lee <sopwith@redhat.com> 3.1-15
cvsdist a33606b
- Remove build dependency on perl, since perl BuildRequires: dos2unix,
cvsdist a33606b
  and there's no good reason not to just use sed here.
cvsdist a33606b
cvsdist a33606b
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist a33606b
- rebuilt
cvsdist a33606b
cvsdist a33606b
* Mon Oct  7 2002 Mike A. Harris <mharris@redhat.com> 3.1-13
cvsdist a33606b
- All-arch rebuild
cvsdist a33606b
- Added BuildRequires: perl
cvsdist a33606b
cvsdist d2908fb
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist d2908fb
- automated rebuild
cvsdist d2908fb
cvsdist 3beed4e
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist 3beed4e
- automated rebuild
cvsdist 3beed4e
3d56650
* Thu Feb 28 2002 Trond Eivind Glomsrød <teg@redhat.com> 3.1-10
cvsdist bbbfe0f
- Build in new environment
cvsdist bbbfe0f
cvsdist bbbfe0f
* Thu Jan 17 2002 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist bbbfe0f
- Fix bug #57700 (segfault)
cvsdist bbbfe0f
- Add the mac2unix symlink recommended in README
cvsdist bbbfe0f
- Fix compiler warnings
cvsdist bbbfe0f
cvsdist bbbfe0f
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
cvsdist bbbfe0f
- automated rebuild
cvsdist bbbfe0f
cvsdist 8fb2658
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
cvsdist 8fb2658
- Bump release + rebuild.
cvsdist 8fb2658
cvsdist 0f2616b
* Wed Jan 10 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 0f2616b
- shut up rpmlint
cvsdist 0f2616b
cvsdist 0f2616b
* Fri Nov 17 2000 Tim Powers <timp@redhat.com>
cvsdist 0f2616b
- use mkstemp instead of mktemp. Not much needed to change.
cvsdist 0f2616b
cvsdist 0f2616b
* Thu Nov 16 2000 Tim Powers <timp@redhat.com>
cvsdist 0f2616b
- cleaned up specfile a bit
cvsdist 0f2616b
- built for 7.1
cvsdist 0f2616b
34d1981
* Wed Jul 07 1999 Peter Soos <sp@osb.hu> 
956121a
- Added Hungarian "Summary:" and "%%description" 
cvsdist 0f2616b
- Corrected the file and directory attributes to rebuild the package 
cvsdist 0f2616b
  under RedHat Linux 6.0