minicom/minicom.spec
2020-02-18 12:20:14 +08:00

53 lines
1.0 KiB
RPMSpec

Name: minicom
Version: 2.7.1
Release: 11
Summary: A modem control and terminal emulation program
URL: https://elinux.org/Minicom
License: GPLv2+ and LGPLv2+ and Public Domain
Source0: https://fossies.org/linux/misc/minicom-2.7.1.tar.gz
BuildRequires: lockdev-devel ncurses-devel autoconf automake gettext-devel gcc git
Requires: lockdev lrzsz
%description
Minicom is a communication program which somewhat resembles the shareware
program TELIX but is free with source code and runs under most unices.
%package_help
%prep
%autosetup -S git -p1
cp -pr doc doc_
rm -f doc_/Makefile*
%build
autoreconf --verbose --force --install
%configure
%make_build
%install
%make_install
install -d %{buildroot}%{_sysconfdir}
%find_lang %{name}
%files -f %{name}.lang
%doc ChangeLog AUTHORS NEWS TODO doc_/*
%license COPYING
%{_bindir}/*
%exclude /lib/snprintf.c
%exclude %{_mandir}/man1/*
%exclude %{_datadir}/doc/*
%files help
%{_mandir}/man1/*
%{_datadir}/doc/*
%changelog
* Tue Feb 18 2020 zhusongbao <zhusongbao@huawei.com> - 2.7.1-11
- Package init