File minicom.spec of Package minicom.import4928
#
# spec file for package minicom
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: minicom
BuildRequires: gettext-devel ncurses-devel
BuildRequires: lockdev-devel pkg-config
Url: http://alioth.debian.org/projects/minicom/
License: GPLv2+
Group: Hardware/Modem
Requires: rzsz
Version: 2.5
Release: 5.<RELEASE6>
Summary: A Terminal Program
Source: %{name}-%{version}.tar.bz2
Patch0: minicom-2.2-defaults.diff
Patch1: minicom-2.3-ncurses.patch
Patch2: 03norzsz.diff
Patch3: minicom-2.4-lockdev.diff
Patch4: minicom-2.3-no-build-date.patch
Patch5: minicom-2.4-norootsetup.diff
Patch6: minicom-2.5-increase-parameter-buffers.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
A terminal program similar to Telix(tm) (a program for calling other
computers via modem) under MS-DOS.
If you want to access your modem with minicom, you have to be a member
of the uucp group.
Authors:
--------
Miquel van Smoorenburg <miquels@cistron.nl>
Jukka Lahtinen <walker@netsonic.fi>
Adam Lackorzynski <adam@os.inf.tu-dresden.de>
%prep
%setup -q
%patch0
%patch1
%patch2 -p1
%patch3 -p1
%patch4
%patch5 -p1
%patch6 -p1
%build
autoreconf --force --install
%configure --disable-rpath \
--enable-music \
--enable-dfl-baud=57600 \
--enable-dfl-port=/dev/modem \
--enable-socket \
--enable-cfg-dir=%{_sysconfdir}
%{__make} %{?_smp_mflags}
%check
make check
%install
make DESTDIR=$RPM_BUILD_ROOT install
%find_lang %name
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %name.lang
%defattr(644,root,root,755)
%doc doc/minicom.FAQ AUTHORS COPYING NEWS README
%attr(0755,root,root) /usr/bin/ascii-xfr
%attr(0755,root,uucp) /usr/bin/minicom
%attr(0755,root,root) /usr/bin/runscript
%attr(0755,root,root) /usr/bin/xminicom
%{_mandir}/man1/ascii-xfr.1.gz
%{_mandir}/man1/minicom.1.gz
%{_mandir}/man1/xminicom.1.gz
%{_mandir}/man1/runscript.1.gz
%changelog