Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37762046
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.1
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: Ivan Zakharyaschev <imz 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: https://alioth.debian.org/download.php/123/%name-%version.tar.bz2
Source1: %name.sh
Source2: %name.csh
Source3: %name.menu
Source4: %name.admin
Source5: %name.admin.ru
Source6: %name.xpm
Source7: %name-xstart.sh

Patch1: %name-2.00.0-alt-device-config.patch
# Russian Edition: Set dialing type to "pulse" in newly created dial-entries
# (handy for Russia), should be replaced by a more universal patch sometime:
Patch3: %name-1.83.1-alt-pulse-prefix.patch
# a security patch for the case minicom is suid root:
Patch4: %name-1.83.1-drop-privs.patch
Patch5: %name-1.83.1-wide-console.patch
Patch7: %name-1.83.1-fchmod-fix.patch

# Add more zmodem file transfer methods (may be more convenient in some

# situations).
Patch8: %name-2.1-alt-advanced_zmodem.patch

# Do not check for UUCPLOCK presence, just trust in given value.

Patch9: %name-2.00.0-alt-UUCPLOCK.patch

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

Requires: rzsz

%define my_lockdir /var/lock/serial

%if "%NoSpecialSerialPerms"!="1"
%define NoSpecialSerialPerms 0
# define NoSpecialSerialPerms 1
# , if you want to build minicom without
# using the special support for serial permissions
%endif

%if !%NoSpecialSerialPerms

%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

%else

%define my_group uucp

%endif

%set_autoconf_version 2.13
BuildRequires(build): autoconf = 2.13

# Automatically added by buildreq on Sat Jun 29 2002

# I add the specialization of the BuildRequires:
BuildRequires(build): 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 -- ÜÔÏ ÐÒÏÓÔÁÑ ÐÒÏÇÒÁÍÍÁ ÄÌÑ ÕÐÒÁ×ÌÅÎÉÑ ÍÏÄÅÍÏÍ É ÜÍÕÌÑÃÉÉ ÔÅÒÍÉÎÁÌÁ;
ÞÔÏ-ÔÏ ÐÏÈÏÖÅÅ ÎÁ MS-DOS Telix. ïÎÁ ÕÐÒÁ×ÌÑÅÔÓÑ ÔÅËÓÔÏ×ÙÍÉ ÍÅÎÀ. Minicom
ÏÂÌÁÄÁÅÔ ÔÁËÉÍÉ Ó×ÏÊÓÔ×ÁÍÉ ËÁË "ÔÅÌÅÆÏÎÎÁÑ ËÎÉÇÁ" (dialing directory), ÐÏÌÎÁÑ
ÜÍÕÌÑÃÉÑ ÔÅÒÍÉÎÁÌÏ× 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
%patch1 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1

# We want to use as many our tools as possible

#%make maintainer-clean

%build
autoconf
%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

%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

%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