]> git.pld-linux.org Git - packages/picocom.git/blob - picocom.spec
- initial - nice minicom replacement...
[packages/picocom.git] / picocom.spec
1 # TODO:
2 # - build documentation, don't take the included ones
3 # - desktop and icon (maybe directly from minicom?)
4 Summary:        TTY mode communications package ala Telix
5 Summary(de):    TTY-Modus-Kommunikationspaket (ähnlich Telix)
6 Summary(es):    Paquete de comunicaciones modo texto a la Telix
7 Summary(fi):    Tietoliikenneohjelma, kuten Telix
8 Summary(fr):    Package de communication en mode terminal à la Telix
9 Summary(pl):    Program komunikacyjny (podobny do Telix-a)
10 Summary(pt_BR): Pacote de comunicações modo texto a la Telix
11 Summary(ru):    ëÏÍÍÕÎÉËÁÃÉÏÎÎÙÊ ÐÁËÅÔ ÔÉÐÁ Telix ÄÌÑ ÔÅËÓÔÏ×ÏÇÏ ÒÅÖÉÍÁ
12 Summary(tr):    Telix benzeri, TTY kipi iletiþim paketi
13 Summary(uk):    ëÏÍÕΦËÁæÊÎÉÊ ÐÁËÅÔ ÔÉÐÕ Telix ÄÌÑ ÔÅËÓÔÏ×ÏÇÏ ÒÅÖÉÍÕ
14 Summary(zh_CN): Ò»¸öÎı¾½çÃæµÄµ÷ÊÔ½âµ÷Æ÷¿ØÖÆÆ÷ºÍÖÕ¶ËÄ£ÄâÆ÷¡£
15 Name:           picocom
16 Version:        1.4
17 Release:        0.1
18 License:        GPL v2+
19 Group:          Applications/Communications
20 Source0:        http://efault.net/npat/hacks/picocom/dist/%{name}-%{version}.tar.gz
21 # Source0-md5:  08fcc5f6bb9e7676a2569386d5ea9f70
22 #Source1:       %{name}.desktop
23 #Source2:       %{name}.png
24 URL:            http://efault.net/npat/hacks/picocom/
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 As its name suggests, picocom is a minimal dumb-terminal emulation
29 program. It is, in principle, very much like minicom, only it's pico
30 instead of mini! It was designed to serve as a simple, manual, modem
31 configuration, testing, and debugging tool. It has also served (quite
32 well) as a low-tech "terminal-window" to allow operator intervention
33 in PPP connection scripts (something like the ms-windows "open
34 terminal window before / after dialing" feature). It could also prove
35 useful in many other similar tasks. It is ideal for embedded systems
36 since its memory footprint is minimal (less than 20K, when stripped).
37 Apart from being a handy little tool, picocom source distribution
38 includes a simple, easy to use, and thoroughly documented
39 terminal-management library, which could serve other projects as well.
40 This library hides the termios(3) calls, and provides a less complex
41 and safer (though certainly less feature-rich) interface.
42
43 %prep
44 %setup -q
45
46 %build
47 %{__make} \
48         CC="%{__cc}" \
49         CFLAGS="%{rpmcflags} -Wall" \
50         LDFLAGS=""
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man8} \
55         $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
56
57 install picocom pcxm pczm pcasc pcym $RPM_BUILD_ROOT%{_bindir}
58 install picocom.8 $RPM_BUILD_ROOT%{_mandir}/man8
59
60 #install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
61 #install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc CHANGES CONTRIBUTORS NEWS README *.html *.ps
69 %attr(755,root,root) %{_bindir}/*
70 #%{_desktopdir}/*.desktop
71 #%{_pixmapsdir}/*
72 %{_mandir}/man8/*.8*
This page took 0.053655 seconds and 3 git commands to generate.