Revision 8787,
1.3 KB
checked in by kudoh, 10 years ago
(diff) |
new upstream release and initial build
|
Rev | Line | |
---|
[8787] | 1 | Name: tofrodos |
---|
| 2 | Summary: Text file format converter for between DOS and UNIX |
---|
| 3 | Summary(ja): DOS と UNIX のテキストファイルフォーマット相互変換ツール |
---|
| 4 | Version: 1.7.13 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
| 6 | License: GPLv2 |
---|
| 7 | Group: Applications/Text |
---|
| 8 | URL: http://www.thefreecountry.com/tofrodos/ |
---|
| 9 | Source0: %{name}-%{version}.tar.gz |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 11 | |
---|
| 12 | %description |
---|
| 13 | DOS text files traditionally have CR/LF (carriage return/line feed) pairs |
---|
| 14 | as their new line delimiters while Unix text files traditionally have |
---|
| 15 | LFs (line feeds) to terminate each line. |
---|
| 16 | |
---|
| 17 | Tofrodos comprises two programs, "fromdos" and "todos", which convert |
---|
| 18 | ASCII and Unicode UTF-8 text files to and from these formats. Use "fromdos" |
---|
| 19 | to convert DOS text files to the Unix format, and "todos" to convert Unix |
---|
| 20 | text files to the DOS format. |
---|
| 21 | |
---|
| 22 | %prep |
---|
| 23 | %setup -qn %{name} |
---|
| 24 | |
---|
| 25 | %build |
---|
| 26 | cd src/ |
---|
| 27 | make %{?_smp_flags} |
---|
| 28 | |
---|
| 29 | %install |
---|
| 30 | rm -rf %{buildroot} |
---|
| 31 | |
---|
| 32 | cd src |
---|
| 33 | %__install -m 755 -d %{buildroot}%{_bindir} |
---|
| 34 | %__install -m 755 -d %{buildroot}%{_mandir}/man1 |
---|
| 35 | |
---|
| 36 | %__mv fromdos %{buildroot}%{_bindir}/fromdos |
---|
| 37 | %__mv todos %{buildroot}%{_bindir}/todos |
---|
| 38 | %__install -m 755 fromdos.1 %{buildroot}%{_mandir}/man1/ |
---|
| 39 | |
---|
| 40 | %clean |
---|
| 41 | rm -rf %{buildroot} |
---|
| 42 | |
---|
| 43 | %files |
---|
| 44 | %doc COPYING readme.txt |
---|
| 45 | %{_bindir}/* |
---|
| 46 | %{_mandir}/man1/fromdos.1.gz |
---|
| 47 | |
---|
| 48 | %changelog |
---|
| 49 | * Sat Jul 12 2014 Toshiharu Kudoh <kudoh@vinelinux.org> - 1.7.13-1 |
---|
| 50 | - initial build for VineSeed |
---|
Note: See
TracBrowser
for help on using the repository browser.