!1 Package init

Merge pull request !1 from bingo2008/zsb
This commit is contained in:
openeuler-ci-bot 2020-02-18 15:10:30 +08:00 committed by Gitee
commit cb7dfce2ae
2 changed files with 52 additions and 0 deletions

BIN
minicom-2.7.1.tar.gz Normal file

Binary file not shown.

52
minicom.spec Normal file
View File

@ -0,0 +1,52 @@
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