Search
SailfishOS Open Build Service
>
Projects
>
nemo
:
devel:hw
:
ti:omap4:pandaboard
>
tofrodos
> tofrodos.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File tofrodos.spec of Package tofrodos
# # Do NOT Edit the Auto-generated Part! # Generated by: spectacle version 0.23 # # >> macros # << macros Name: tofrodos Summary: DOS/UNIX text file conversion tool Version: 1.7.9 Release: 1 Group: Applications/Text License: GPLv2 URL: http://www.thefreecountry.com/tofrodos/ Source0: http://tofrodos.sourceforge.net/download/%{name}-%{version}.tar.gz Source100: tofrodos.yaml %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}/src # >> setup # << setup %build # >> build pre make # << build pre # >> build post # << build post %install rm -rf %{buildroot} # >> install pre # << install pre # >> install post install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} install -m 0755 fromdos $RPM_BUILD_ROOT%{_bindir} install -m 0644 fromdos.1 $RPM_BUILD_ROOT%{_mandir}/man1 ln -sf fromdos $RPM_BUILD_ROOT%{_bindir}/todos # << install post %files %defattr(-,root,root,-) # >> files %{_bindir}/fromdos %{_bindir}/todos %{_mandir}/man1/fromdos.1* # << files