5 Summary: Text converters to and from DOS/MAC to UNIX
6 Url: http://waterlan.home.xs4all.nl/dos2unix.html
7 Group: Productivity/Text/Convertors
8 Source: http://waterlan.home.xs4all.nl/dos2unix/dos2unix-%{version}.tar.gz
9 Source1001: dos2unix.manifest
10 BuildRequires: gettext-tools
11 Provides: unix2dos = %{version}
12 Obsoletes: unix2dos < %{version}
13 BuildRoot: %{_tmppath}/%{name}-%{version}-build
16 Dos2unix is used to convert plain text from DOS (CR/LF) format. Mac2unix
17 converts plain text from MAC (CR) format to UNIX format (LF).
19 Unix2dos converts plain text files from UNIX
20 format to DOS format and unix2dos converts from UNIX to MAC format.
25 #find . -type f | xargs chmod -x
29 make %{?_smp_mflags} CC="gcc" HTMLEXT="html"
33 %make_install docdir=%{_defaultdocdir}/%{name}
34 %{find_lang} dos2unix --all-name --with-man
36 %files -f dos2unix.lang
37 %manifest %{name}.manifest
38 %defattr(-,root,root,0755)
39 %doc /usr/share/doc/%{name}-%{version}
44 %doc %{_mandir}/*/dos2unix.1*
45 %doc %{_mandir}/*/mac2unix.1*
46 %doc %{_mandir}/*/unix2mac.1*
47 %doc %{_mandir}/*/unix2dos.1*
48 %doc %lang(nl) %dir %{_mandir}/nl