diff options
author | Nicolas Zingilé <nicolas.zingile@open.eurogiciel.org> | 2014-08-08 15:26:13 +0200 |
---|---|---|
committer | Nicolas Zingilé <nicolas.zingile@open.eurogiciel.org> | 2014-10-13 12:10:14 +0200 |
commit | 598ce878b5adfe535141857ee05605bca7674b61 (patch) | |
tree | 5ab4bc25422666542b471a404ded95dff451796d | |
parent | 4a3ab9de042337e7dd7206d87f069b0d790f0004 (diff) | |
download | dialog-submit/tizen/20141013.132110.tar.gz dialog-submit/tizen/20141013.132110.tar.bz2 dialog-submit/tizen/20141013.132110.zip |
initial packagingHEADtizen_4.0.m1_releasetizen_3.0_ivi_releasetizen_3.0.m2.a1_tv_releasetizen_3.0.m2.a1_mobile_releasetizen_3.0.m1_tv_releasetizen_3.0.m1_mobile_releasetizen_3.0.2014.q3_common_releasesubmit/tizen_unified/20170308.100412submit/tizen_mobile/20141120.000000submit/tizen_ivi/20160217.000004submit/tizen_ivi/20160217.000000submit/tizen_common/20141013.134505submit/tizen_4.0/20170828.100005submit/tizen_4.0/20170811.094300submit/tizen_3.0_ivi/20161010.000001submit/tizen_3.0_common/20161104.104000submit/tizen_3.0.m2/20170104.093752submit/tizen/20141013.132110accepted/tizen/unified/20170309.035604accepted/tizen/ivi/20160218.024350accepted/tizen/ivi/20141019.022410accepted/tizen/common/20141013.134742accepted/tizen/common/20141013.134716accepted/tizen/4.0/unified/20170828.222438accepted/tizen/4.0/unified/20170816.010830accepted/tizen/3.0/ivi/20161011.043820accepted/tizen/3.0/common/20161114.110520tizen_4.0tizen_3.0_ivitizen_3.0.m2tizen_3.0.m1_tvtizen_3.0.m1_mobiletizen_3.0.2015.q2_commontizen_3.0.2015.q1_commontizen_3.0.2014.q4_commontizen_3.0.2014.q3_commontizen_3.0tizenaccepted/tizen_wearableaccepted/tizen_unifiedaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_commonaccepted/tizen_4.0_unifiedaccepted/tizen_3.0_iviaccepted/tizen_3.0_commonaccepted/tizen_3.0.2014.q3_common
Change-Id: I7de8d2ea00d875ee636480a40bad3f275b51f1a1
-rw-r--r-- | packaging/dialog.manifest | 5 | ||||
-rw-r--r-- | packaging/dialog.spec | 87 |
2 files changed, 92 insertions, 0 deletions
diff --git a/packaging/dialog.manifest b/packaging/dialog.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/dialog.manifest @@ -0,0 +1,5 @@ +<manifest> + <request> + <domain name="_"/> + </request> +</manifest> diff --git a/packaging/dialog.spec b/packaging/dialog.spec new file mode 100644 index 0000000..2eabefe --- /dev/null +++ b/packaging/dialog.spec @@ -0,0 +1,87 @@ +%define dialogsubversion 20140219 + +Summary: A utility for creating interactive TTY boxes from shell script +Name: dialog +Version: 1.2 +Release: 0 +License: LGPL-2.1 +Group: Base/Utilities +URL: http://invisible-island.net/dialog/dialog.html +Source: ftp://invisible-island.net/dialog/%{name}-%{version}-%{dialogsubversion}.tgz +Source1001: %{name}.manifest +BuildRequires: findutils +BuildRequires: gettext +BuildRequires: libtool +BuildRequires: ncurses-devel +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + + +%description +Dialog is a utility that allows you to show dialog boxes (containing +questions or messages) in TTY (text mode) interfaces. Dialog is called +from within a shell script. The following dialog boxes are implemented: +yes/no, menu, input, message, text, info, checklist, radiolist, and +gauge. + +Install dialog if you would like to create TTY dialog boxes. + +%package devel +Summary: Development files for building applications with the dialog library +Group: Development/Libraries +Requires: %{name}-%{version} = %{version} +Requires: ncurses-devel +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +%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. + + +%prep +%setup -q -n %{name}-%{version}-%{dialogsubversion} +cp %{SOURCE1001} . + +%build +%configure \ + --includedir=%{_includedir}/dialog \ + --enable-included-msgs \ + --enable-nls \ + --enable-widec \ + --with-libtool \ + --with-ncurses \ + --with-ncursesw +make %{?_smp_mflags} + + +%install +%make_install +rm -rf %{buildroot}%{_mandir} + +%find_lang %{name} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%post devel -p /sbin/ldconfig + +%postun devel -p /sbin/ldconfig + +%lang_package + +%files -f %{name}.lang +%manifest %{name}.manifest +%defattr(-,root,root,-) +%license COPYING +%{_bindir}/dialog +%{_libdir}/libdialog.so.* + +%files devel +%defattr(-,root,root,-) +%{_bindir}/dialog-config +%{_includedir}/dialog +%{_libdir}/libdialog.so |