1 Summary: DOS/UNIX text file conversion tool
2 Summary(pl.UTF-8): Narzędzie do konwersji plików tekstowych między formatami DOS i UNIX
7 Group: Applications/Text
8 Source0: http://tofrodos.sourceforge.net/download/%{name}-%{version}.tar.gz
9 # Source0-md5: aaa044f9817a048e126d9eb7a7535e96
10 URL: http://www.thefreecountry.com/tofrodos/
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 DOS text files traditionally have CR/LF (carriage return/line feed)
15 pairs as their new line delimiters while Unix text files traditionally
16 have LFs (line feeds) to terminate each line.
18 tofrodos comprises two programs, "fromdos" and "todos", which convert
19 text files to and from these formats. Use "fromdos" to convert DOS
20 text files to the Unix format, and "todos" to convert Unix text files
23 %description -l pl.UTF-8
24 W systemach z rodziny DOS/Windows końce linii w plikach tekstowych
25 są tradycyjnie oznaczane przez znaki CR/LF (powrót karetki / nowa
26 linia). Wynika to z braku elementarnej obsługi drukarek w systemie
27 DOS. W systemach UNIX końce linii są oznaczane przez znaki LF.
29 tofrodos jest zestawem dwóch narzędzi "fromdos" i "todos", które
30 służą do konwersji plików tekstowych między tymi formatami.
31 Program "fromdos" służy do konwersji plików z formatu DOS-a do
32 formatu UNIX-a, natomiast "todos" służy do konwersji z formatu
33 UNIX-a do formatu DOS-a.
41 CFLAGS="%{rpmcflags} -c" \
42 LDFLAGS="%{rpmldflags}" \
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
48 install src/fromdos $RPM_BUILD_ROOT%{_bindir}
49 install src/fromdos.1 $RPM_BUILD_ROOT%{_mandir}/man1
51 ln -sf fromdos $RPM_BUILD_ROOT%{_bindir}/todos
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
58 %doc readme.txt tofrodos.html
59 %attr(755,root,root) %{_bindir}/fromdos
60 %attr(755,root,root) %{_bindir}/todos
61 %{_mandir}/man1/fromdos.1*