Search
SailfishOS Open Build Service
>
Projects
>
home:notmart
:
Mer_Extras
:
Adaptation:Archos-gen9
:
pvr
>
tofrodos
> tofrodos.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File tofrodos.spec of Package tofrodos
Summary: DOS/UNIX text file conversion tool Name: tofrodos Version: 1.7.8 Release: 1 License: GPLv2 Group: Applications/Text Source0: http://tofrodos.sourceforge.net/download/%{name}-%{version}.tar.gz URL: http://www.thefreecountry.com/tofrodos/ %description DOS text files traditionally have CR/LF (carriage return/line feed) pairs as their new line delimiters while Unix text files traditionally have LFs (line feeds) to terminate each line. tofrodos comprises two programs, "fromdos" and "todos", which convert text files to and from these formats. Use "fromdos" to convert DOS text files to the Unix format, and "todos" to convert Unix text files to the DOS format. %prep %setup -q -n %{name} %build make -C src \ CFLAGS="%{optflags} -c" \ LDFLAGS="%{optflags}" \ %{?debug:DEBUG=1} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} install -m 0755 src/fromdos $RPM_BUILD_ROOT%{_bindir} install -m 0644 src/fromdos.1 $RPM_BUILD_ROOT%{_mandir}/man1 ln -sf fromdos $RPM_BUILD_ROOT%{_bindir}/todos %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc readme.txt tofrodos.html %{_bindir}/fromdos %{_bindir}/todos %{_mandir}/man1/fromdos.1* %changelog