Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37761918
en ru br
ALT Linux repos
S:2.8-alt1
5.0: 2.3-alt4.cvs.20081130
4.1: 2.3-alt1.cvs.20080202
4.0: 2.2.cvs.16042007-alt1
3.0: 2.1-alt1

Group :: Communications
RPM: minicom

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: minicom
Version: 2.2.cvs.16042007
Release: alt1

Group: Communications
Summary: A text-menu-driven modem control and terminal emulation program
License: GPL
Url: http://alioth.debian.org/projects/minicom/

Packager: Vladimir V Kamarzin <vvk at altlinux.ru>

#Icon: %name.xpm


Summary(ru_RU.KOI8-R): ëÏÎÓÏÌØÎÁÑ ÐÒÏÇÒÁÍÍÁ ÄÌÑ ÕÐÒÁ×ÌÅÎÉÑ ÍÏÄÅÍÏÍ É ÜÍÕÌÑÃÉÉ ÔÅÒÍÉÎÁÌÁ
Summary(de): TTY-Modus-Kommunikationspaket (ähnlich Telix)
Summary(fi_FI): Tietoliikenneohjelma, kuten Telix
Summary(fr): Package de communication en mode terminal à la Telix
Summary(pl): Program komunikacyjny (podobny do Telix-a)
Summary(tr): Telix benzeri, TTY kipi iletiþim paketi

Source: %name-%version.tar
Source1: %name.sh
Source2: %name.csh
Source3: %name.menu
Source4: %name.admin
Source5: %name.admin.ru
Source6: %name.xpm
Source7: %name-xstart.sh
Source8: %name-2.1-ru.po
Source9: %name.FAQ-koi8-r

# Patch against unescaped shell

Patch10: debian/patches/bug199924.diff

Patch100: %name-%version-%release.patch

# Without this dependency it would be difficult to find the package with file-transfer tools

Requires: rzsz

# added because autopoint requires it. crap.

BuildRequires: cvs

%define my_lockdir /var/lock/serial
%define my_group uucp

# The access to serial ports should be controlled through '%my_group'

# group. It is provided by the new setup pkg.
# We need it before this package (minicom) is installed in order
# to set right permissions on files.
# Also, we need the place to create lockfiles. It should be
# provided by te new FS pkg.
PreReq: %my_lockdir

# I add the specialization of the BuildRequires:

BuildRequires: bison libtinfo-devel

%description
Minicom is a simple modem control and terminal emulation program
that resembles MS-DOS Telix somewhat.  It is driven by text-based menus,
has a dialing directory, full ANSI and VT100 emulation, an (external)
scripting language, and other features.

Minicom should be installed if you need a simple modem control program
or terminal emulator. It can be used for remote access (in a terminal)
and to test and configure your modem.

%description -l ru_RU.KOI8-R
Minicom -- ÜÔÏ ÐÒÏÓÔÁÑ ÐÒÏÇÒÁÍÍÁ ÄÌÑ ÕÐÒÁ×ÌÅÎÉÑ ÍÏÄÅÍÏÍ É ÜÍÕÌÑÃÉÉ ÔÅÒÍÉÎÁÌÁ,
ÉÍÅÀÝÁÑ ÔÅËÓÔÏ×ÙÅ ÍÅÎÀ. ÷ Minicom ÅÓÔØ "ÔÅÌÅÆÏÎÎÁÑ ËÎÉÇÁ", ÐÏÌÎÁÑ
ÜÍÕÌÑÃÉÑ ÔÅÒÍÉÎÁÌÏ× ANSI É VT100, ×ÎÅÛÎÉÊ ÑÚÙË ÄÌÑ ÎÁÐÉÓÁÎÉÑ
ÓËÒÉÐÔÏ×-ÓÃÅÎÁÒÉÅ× É ÐÒ.

õÓÔÁÎÏ×ÉÔØ %name ÓÔÏÉÔ, ÅÓÌÉ ÷ÁÍ ÎÕÖÎÁ ÐÒÏÓÔÁÑ ÐÒÏÇÒÁÍÍÁ ÄÌÑ ÕÐÒÁ×ÌÅÎÉÑ
ÍÏÄÅÍÏÍ ÉÌÉ ÜÍÕÌÑÔÏÒ ÔÅÒÍÉÎÁÌÁ. ïÎÁ ÍÏÖÅÔ ÂÙÔØ ÉÓÐÏÌØÚÏ×ÁÎÁ ÄÌÑ ÕÄÁÌÅÎÎÏÇÏ
ÄÏÓÔÕÐÁ (× ÔÅÒÍÉÎÁÌÅ) ÉÌÉ ÄÌÑ ÎÁÓÔÒÏÊËÉ É ÔÅÓÔÉÒÏ×ÁÎÉÑ ÍÏÄÅÍÁ.

%description -l de
Minicom ist ein Kommunikationsprogramm, das Ähnlichkeiten mit Telix
unter MSDOS aufweist. Es enthält ein Wählverzeichnis, Farbe,
vollständige ANSI- und VT100-Emulation, eine (externe) Scriptsprache usw.

%description -l fi_FI
Minicom on MSDOS-Telixiä jossain määrin muistuttava
tietoliikenneohjelma.
Ohjelmassa on mm. puhelinluettelo, värit, ANSI- ja VT100-emulaatiot
ja ulkoinen script-kieli.

%description -l fr
Minicom est un programme de communication ressemblant à Telix sous
MSDOS. Il possède un répertoire de numérotation, un affichage en
couleurs,
des émulations ANSI et VT100, un langage de script externe...

%description -l pl
Minicom jest programem komunikacyjnym, przypominaj±cym DOSowy program
Telix. Posiada ksi±¿kê telefoniczn±, emulacjê terminali ANSI i VT100,
zewnêtrzny jêzyk skryptowy, obs³ugê kolorów i wiele innych zalet.

%description -l tr
Minicom, MSDOS Telix programýna benzeyen bir iletiþim programýdýr.
Numara
çevirme dizini, renk, tam ANSI uyumu ve VT100 öykünümü ile script gibi
özellikleri vardýr.

%prep
%setup -q
%patch10 -p1
%patch100 -p1
cp -f %SOURCE8 po/ru.po

# fix some broken things

sed -i "s|varargs.h ||g" ./configure.in
sed -i "s|am_cv_sys_posix_termios|ac_cv_sys_posix_termios|g" ./configure.in
sed -i "s|\(mkinstalldirs = \$(SHELL)\).*|\1 \$(MKINSTALLDIRS)|" po/Makefile.in.in


%build
autoreconf -fisv
%configure \
--enable-lock-dir=%my_lockdir \
--enable-dfl-port=/dev/modem \
#
%make_build

%install
%makeinstall

dest=$RPM_BUILD_ROOT%_sysconfdir/profile.d
mkdir -p $dest
install -p %SOURCE1 $dest/%name.sh
install -p %SOURCE2 $dest/%name.csh
unset dest

for f in minirc.dfl %name.users; do
 mv {doc,$RPM_BUILD_ROOT%_sysconfdir}/$f
done
install -p -m644 %SOURCE4 %name.admin
install -p -m644 %SOURCE5 %name.admin.ru
install -p -m644 %SOURCE9 %name.FAQ-koi8-r

%find_lang %name

# Preparing the docs:

find extras doc -name 'Makefile*' -print0 |
xargs -r0 rm -f --

# The icon (from Caldera) & menu:

install -pD -m644 %SOURCE3 $RPM_BUILD_ROOT%_menudir/%name
install -pD -m644 %SOURCE6 $RPM_BUILD_ROOT%_iconsdir/%name.xpm

# The script to start minicom in an X terminal

install -pD -m755 %SOURCE7 $RPM_BUILD_ROOT%_libdir/%name/xstart

%post
%update_menus

%postun
%clean_menus

%files -f %name.lang
%attr(640,root,%my_group) %config(noreplace) %_sysconfdir/%name.users
%attr(640,root,%my_group) %config(noreplace) %_sysconfdir/minirc.dfl
%attr(755,root,root) %config %_sysconfdir/profile.d/%name.sh
%attr(755,root,root) %config %_sysconfdir/profile.d/%name.csh
%_bindir/*
%_mandir/man?/*

%_menudir/*
%_iconsdir/*

%dir %_libdir/%name
%attr(755,root,root) %_libdir/%name/xstart

%doc doc extras
%doc %name.admin
%lang(ru) %doc %name.admin.ru
%lang(ru) %doc %name.FAQ-koi8-r

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin