10 Star 0 Fork 7

src-openEuler/dialog

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
dialog.spec 2.57 KB
一键复制 编辑 原始数据 按行查看 历史
markeryang 提交于 2022-10-25 10:19 +08:00 . update for mass rebuild and upgrade verification
%global dialogsubversion 20211107
Name: dialog
Version: 1.3
Release: 20
Summary: A utility which displays dialog boxes from shell scripts
License: LGPLv2
URL: https://invisible-island.net/dialog/dialog.html
Source0: https://invisible-mirror.net/archives/dialog//dialog-%{version}-%{dialogsubversion}.tgz
BuildRequires: gcc ncurses-devel gettext findutils libtool
Provides: dialog-static
Obsoletes: dialog-static
%description
Dialog is a program that will let you present a variety of questions or
display messages using dialog boxes from a shell script. These types
of dialog boxes are implemented (though not all are necessarily com-
piled into dialog):
buildlist, calendar, checklist, dselect, editbox, form, fselect,
gauge, infobox, inputbox, inputmenu, menu, mixedform,
mixedgauge, msgbox (message), passwordbox, passwordform, pause,
prgbox, programbox, progressbox, radiolist, rangebox, tailbox,
tailboxbg, textbox, timebox, treeview, and yesno (yes/no).
%package devel
Summary: Development files for building applications with the dialog library
Requires: %{name} = %{version}-%{release} ncurses-devel
%description devel
Dialog is a utility that allows you to show dialog boxes (containing
questions or messages) in TTY (text mode) interfaces. This package
contains the files needed for developing applications, which use the
dialog library.
%package_help
%prep
%autosetup -n dialog-%{version}-%{dialogsubversion} -p1
%build
%configure \
--enable-nls \
--with-libtool \
--with-ncursesw \
--includedir=%{_includedir}/dialog
%make_build
%install
rm -rf samples/install
find samples -type f -print0 |xargs -0 chmod a-x
%make_install
chmod 755 %{buildroot}%{_libdir}/libdialog.so.*.*.*
%ldconfig_scriptlets
%check
%pre
%post
%preun
%postun
%files
%doc CHANGES COPYING dialog.lsm README samples
%{_bindir}/dialog
%{_libdir}/libdialog.so.15*
%{_datadir}/locale/
%exclude %{_libdir}/libdialog.{,l}a
%exclude %{_libdir}/.libs/*
%files devel
%{_includedir}/dialog
%{_bindir}/dialog-config
%{_libdir}/libdialog.so
%files help
%{_mandir}/man1/dialog.*
%{_mandir}/man3/dialog.*
%changelog
* Tue Oct 25 2022 yanglongkang <yanglongkang@h-partners.com> - 1.3-20
- rebuild for next release
* Wed Dec 2 2020 shangyibin <shangyibin1@huawei.com> - 1.3-19
- update Source0
* Sat Sep 5 2020 shixuantong <shixuantong@huawei.com> - 1.3-18
- update Source0
* Sat Jan 11 2020 zhangguangzhi<zhangguangzhi3@huawei.com> - 1.3-17
- del patch to be consistent with open source
* Thu Sep 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.3-16
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/dialog.git
git@gitee.com:src-openeuler/dialog.git
src-openeuler
dialog
dialog
master

搜索帮助