diff --git a/minicom-2.7.1.tar.gz b/minicom-2.7.1.tar.gz new file mode 100644 index 0000000..a4f7b8c Binary files /dev/null and b/minicom-2.7.1.tar.gz differ diff --git a/minicom.spec b/minicom.spec new file mode 100644 index 0000000..7ddafb2 --- /dev/null +++ b/minicom.spec @@ -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 - 2.7.1-11 +- Package init