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