18861N/A#
18861N/A# spec file for package SUNWdialog
18861N/A#
18861N/A# Copyright 2010 Sun Microsystems, Inc.
18861N/A# This file and all modifications and additions to the pristine
18861N/A# package are under the same license as the package itself.
18861N/A#
18861N/A%define owner wangke
18861N/A#
18861N/A%include Solaris.inc
18861N/A
18861N/A%define OSR 9391:1.x
18861N/A
18861N/AName: SUNWdialog
18861N/AIPS_package_name: terminal/dialog
18861N/AMeta(info.classification): %{classification_prefix}:Applications/System Utilities
18861N/ASummary: dialog - display dialog boxes from shell scripts
18861N/ALicense: LGPL v2.1
18861N/A%define year 2010
19067N/A%define month 04
19067N/A%define day 28
18993N/AVersion: 1.1
19013N/A%define tarball_version %{version}-%{year}%{month}%{day}
18861N/ASource: ftp://invisible-island.net/dialog/dialog-%{tarball_version}.tgz
18861N/A# date:2009-02-24 owner:wangke type:branding
18861N/APatch1: dialog-01-manpages.diff
18861N/ASUNW_BaseDir: %{_basedir}
18861N/ASUNW_Copyright: %{name}.copyright
18861N/ABuildRoot: %{_tmppath}/%{name}-%{tarball_version}-build
18861N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
18861N/ARequires: SUNWsndmu
18861N/ARequires: SUNWlibms
18861N/ARequires: SUNWbash
20857N/ABuildRequires: SUNWncurses
18861N/ABuildRequires: SUNWgnu-gettext
18861N/ABuildRequires: SUNWncurses-devel
18861N/A
18861N/A%package l10n
18861N/ASummary: %{summary} - l10n files
18861N/ARequires: %{name}
18861N/A
18861N/A%prep
18861N/A%setup -q -n dialog-%tarball_version
18861N/A%patch1 -p1
18861N/A
18861N/A%build
18861N/Aexport CFLAGS="-I/usr/include/ncurses -D_XOPEN_SOURCE_EXTENDED %optflags"
18861N/Aexport LDFLAGS="-L/usr/gnu/lib -R/usr/gnu/lib %_ldflags -lncurses"
18861N/A
18861N/A./configure --prefix=%{_prefix} \
18861N/A --enable-included-msgs \
18861N/A --enable-nls \
18861N/A --enable-widec \
18861N/A --mandir=%{_mandir}
18861N/A
18861N/Amake
18861N/A
18861N/A%install
18861N/Arm -rf $RPM_BUILD_ROOT
18861N/Ainstall -d $RPM_BUILD_ROOT%{_datadir}/doc/dialog/examples
18861N/Arm -fr samples/copifuncs
18861N/Arm -fr samples/install
18861N/Ainstall samples/* $RPM_BUILD_ROOT%{_datadir}/doc/dialog/examples/
18861N/Amake install DESTDIR=$RPM_BUILD_ROOT
18861N/A
18861N/A%clean
18861N/Arm -rf $RPM_BUILD_ROOT
18861N/A
18861N/A%files
18861N/A%defattr (-, root, bin)
18861N/A%dir %attr (0755, root, bin) %{_bindir}
18861N/A%{_bindir}/*
18861N/A%dir %attr(0755, root, sys) %{_datadir}
18861N/A%dir %attr(0755, root, bin) %{_mandir}
18861N/A%dir %attr(0755, root, bin) %{_mandir}/man1
18861N/A%{_mandir}/man1/*
18861N/A%dir %attr (0755, root, other) %{_datadir}/doc
18861N/A%dir %attr (0755, root, bin) %{_datadir}/doc/dialog
18861N/A%dir %attr (0755, root, bin) %{_datadir}/doc/dialog/examples
18861N/A%{_datadir}/doc/dialog/examples/*
18861N/A%doc README
18861N/A%doc(bzip2) COPYING CHANGES
18861N/A
18861N/A%files l10n
18861N/A%defattr (-, root, bin)
18861N/A%dir %attr (0755, root, sys) %{_datadir}
18861N/A%attr (-, root, other) %{_datadir}/locale
18861N/A
18861N/A%changelog
19067N/A* Wed Oct 27 2010 - brian.cameron@oracle.com
19067N/A- Bump to 1.1-20100428
18861N/A* Fri Jan 22 2010 - ke.wang@sun.com
18861N/A- Bump to 1.1-20100119
18861N/A* Thu Mar 26 2009 - takao.fujiwara@sun.com
18861N/A- Remove patch build.diff and g11n-multibyte-input.diff because
18861N/A SUNWncurses is available now. Use /usr/gnu instead of /usr/xpg4.
18861N/A* Tue Feb 10 2009 - halton.huo@sun.com
18861N/A- Add Requires: SUNWbash to fix issue #10 for CR6753371
18861N/A* Wed Sep 17 2008 - jim.li@sun.com
18861N/A- Revised new copyright file
18861N/A* Mon Aug 11 2008 - takao.fujiwara@sun.com
18861N/A- Add dialog-02-g11n-multibyte-input.diff to support multi-byte CLI.
18861N/A* Fri Aug 08 2008 - takao.fujiwara@sun.com
18861N/A- Bumped to 1.1-20080727 to enable USE_WIDE_CURSES & HAVE_WGET_WCH in dlg_config.h
18861N/A- Add --enable-widec option in configure.
18861N/A* Wed Jul 23 2008 - takao.fujiwara@sun.com
18861N/A- Add l10n packages
18861N/A* Tue Jul 22 2008 - damien.carbery@sun.com
18861N/A- Remove l10n package because no l10n files are installed.
18861N/A* Wed Jul 9 2008 - jim.li@sun.com
18861N/A- Copied from SFEdialog and rename to SUNWdialog
18861N/A* Thu Jan 11 2007 - laca@sun.com
18861N/A- fix version string to be numeric; use the versioned tarball
18861N/A* Thu Jun 22 2006 - laca@sun.com
18861N/A- rename to SFEdialog
18861N/A- delete -share pkg
18861N/A- remove unnecessary CFLAGS and LDFLAGS
18861N/A- add missing dep
18861N/A* Thu May 04 2006 - damien.carbery@sun.com
18861N/A- Bump version to match dir name inside tarball. Fix share package perms.
18861N/A* Sun Jan 29 2006 - mike kiedrowski (lakeside-AT-cybrzn-DOT-com)
18861N/A- Initial spec
18861N/A
19182N/A
19499N/A