source: projects/specs/trunk/t/tofrodos/tofrodos-vl.spec @ 8787

Revision 8787, 1.3 KB checked in by kudoh, 10 years ago (diff)

new upstream release and initial build

Line 
1Name: tofrodos
2Summary: Text file format converter for between DOS and UNIX
3Summary(ja): DOS と UNIX のテキストファイルフォーマット相互変換ツール
4Version: 1.7.13
5Release: 1%{?_dist_release}
6License: GPLv2
7Group: Applications/Text
8URL: http://www.thefreecountry.com/tofrodos/
9Source0: %{name}-%{version}.tar.gz
10BuildRoot: %{_tmppath}/%{name}-%{version}-root
11
12%description
13DOS text files traditionally have CR/LF (carriage return/line feed) pairs
14as their new line delimiters while Unix text files traditionally have
15LFs (line feeds) to terminate each line.
16
17Tofrodos comprises two programs, "fromdos" and "todos", which convert
18ASCII and Unicode UTF-8 text files to and from these formats. Use "fromdos"
19to convert DOS text files to the Unix format, and "todos" to convert Unix
20text files to the DOS format.
21
22%prep
23%setup -qn %{name}
24
25%build
26cd src/
27make %{?_smp_flags}
28
29%install
30rm -rf %{buildroot}
31
32cd 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
41rm -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.