1 |
blino |
700 |
Summary: Converts DOS-style EOLs to UNIX-style EOLs and vice versa |
2 |
|
|
Name: dos2unix |
3 |
|
|
Version: 1.0.3 |
4 |
|
|
Release: %mkrel 4 |
5 |
|
|
License: GPLv2+ |
6 |
|
|
Group: Text tools |
7 |
|
|
URL: http://www.megaloman.com/~hany/software/hd2u/ |
8 |
|
|
Source0: http://hany.sk/~hany/_data/hd2u/hd2u-%{version}.tgz |
9 |
|
|
Source1: http://hany.sk/~hany/_data/hd2u/hd2u-%{version}.tgz.sig |
10 |
|
|
BuildRequires: popt-devel |
11 |
|
|
BuildRoot: %{_tmppath}/%{name}-root |
12 |
|
|
|
13 |
|
|
%description |
14 |
|
|
hd2u is "Hany's Dos2Unix converter". It provides 'dos2unix'. |
15 |
|
|
|
16 |
|
|
'dos2unix' is filter used to convert DOS-style EOLs to UNIX-style |
17 |
|
|
EOLs and vice versa (EOL - End Of Line character). |
18 |
|
|
|
19 |
|
|
%prep |
20 |
|
|
%setup -q -n hd2u-%{version} |
21 |
|
|
|
22 |
|
|
%build |
23 |
|
|
%configure2_5x |
24 |
|
|
%make |
25 |
|
|
|
26 |
|
|
%install |
27 |
|
|
rm -rf %{buildroot} |
28 |
|
|
|
29 |
|
|
install -m755 dos2unix -D %{buildroot}%{_bindir}/dos2unix |
30 |
|
|
|
31 |
|
|
%clean |
32 |
|
|
rm -rf %{buildroot} |
33 |
|
|
|
34 |
|
|
%files |
35 |
|
|
%defattr(-,root,root) |
36 |
|
|
%doc AUTHORS CREDITS ChangeLog NEWS README TODO |
37 |
|
|
%{_bindir}/dos2unix |
38 |
|
|
|
39 |
|
|
|