+++ /dev/null
-###############################################################################
-# IPFire.org - An Open Source Firewall Solution #
-# Copyright (C) - IPFire Development Team <info@ipfire.org> #
-###############################################################################
-
-name = dialog
-version = 1.1
-svn_ver = 20111020
-release = 2.%{svn_ver}
-thisapp = %{name}-%{version}-%{svn_ver}
-
-groups = Applications/System
-url = http://invisible-island.net/dialog/dialog.html
-license = LGPLv2
-summary = A utility for creating TTY dialog boxes.
-
-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.
-end
-
-source_dl = ftp://invisible-island.net/dialog/
-sources = %{thisapp}.tgz
-
-build
- requires
- chrpath
- findutils
- gettext
- libtool
- ncurses-devel
- end
-
- configure_options += \
- --enable-nls \
- --with-libtool \
- --with-ncursesw \
- --includedir=/usr/include/dialog
-
- install_cmds
- chmod -v 755 %{BUILDROOT}%{libdir}/libdialog.so.*.*.*
-
- # Remove RPATH.
- chrpath --delete %{BUILDROOT}%{bindir}/dialog
- end
-end
-
-packages
- package %{name}
-
- package %{name}-devel
- template DEVEL
- end
-
- package %{name}-debuginfo
- template DEBUGINFO
- end
-end
+++ /dev/null
-diff -up dialog-1.1-20110707/dialog-config.in.incdir dialog-1.1-20110707/dialog-config.in
---- dialog-1.1-20110707/dialog-config.in.incdir 2011-01-06 10:38:03.000000000 +0100
-+++ dialog-1.1-20110707/dialog-config.in 2011-07-26 13:00:02.692038027 +0200
-@@ -35,6 +35,7 @@ bindir="@bindir@"
- libdir="@libdir@"
- datadir="@datadir@"
- mandir="@mandir@"
-+includedir="@includedir@"
-
- THIS="@PACKAGE@"
-
-@@ -67,10 +68,7 @@ while test $# -gt 0; do
- ;;
- # compile/link
- --cflags)
-- INCS=
-- if test "${prefix}/include" != /usr/include ; then
-- INCS="-I${prefix}/include"
-- fi
-+ INCS="-I$includedir"
- sed -e 's,^[ ]*,,' -e 's, [ ]*, ,g' -e 's,[ ]*$,,' <<-ENDECHO
- $INCS
- ENDECHO
+++ /dev/null
-diff -up dialog-1.1-20110707/makefile.in.libs dialog-1.1-20110707/makefile.in
---- dialog-1.1-20110707/makefile.in.libs 2011-06-25 02:27:56.000000000 +0200
-+++ dialog-1.1-20110707/makefile.in 2011-07-26 13:04:50.389183890 +0200
-@@ -176,11 +176,11 @@ dialog$o \
- $(OBJECTS) : $(srcdir)/dialog.h $(srcdir)/dlg_keys.h dlg_config.h VERSION
-
- $(LIB) : $(LIB_OBJECT)
-- $(LIBTOOL_CREATE) $(LIB) $(LIB_OBJECT)
-+ $(LIBTOOL_CREATE) $(LIB) $(LIB_OBJECT) $(LIBS)
- $(RANLIB) $@
-
- dialog$x : $(LIB) dialog$o @INTLDIR_MAKE@ @INTLLIBS@
-- $(LINK) -o $@ dialog$o -L. -l@PACKAGE@ $(LDFLAGS) $(LIBS)
-+ $(LINK) -o $@ dialog$o -L. -l@PACKAGE@ $(LDFLAGS)
-
- clean \
- distclean \
+++ /dev/null
-diff -up dialog-1.1-20110707/dialog-config.in.multilib dialog-1.1-20110707/dialog-config.in
---- dialog-1.1-20110707/dialog-config.in.multilib 2011-07-26 13:01:29.929082616 +0200
-+++ dialog-1.1-20110707/dialog-config.in 2011-07-26 13:01:29.932082618 +0200
-@@ -32,7 +32,7 @@ prefix="@prefix@"
- exec_prefix="@exec_prefix@"
-
- bindir="@bindir@"
--libdir="@libdir@"
-+libdir=
- datadir="@datadir@"
- mandir="@mandir@"
- includedir="@includedir@"
-@@ -75,7 +75,7 @@ ENDECHO
- ;;
- --libs)
- sed -e 's,^[ ]*,,' -e 's, [ ]*, ,g' -e 's,[ ]*$,,' <<-ENDECHO
-- -L${exec_prefix}/lib -l${THIS} @LIBS@
-+ -l${THIS}
- ENDECHO
- ;;
- # identification
-diff -up dialog-1.1-20110707/headers-sh.in.multilib dialog-1.1-20110707/headers-sh.in
---- dialog-1.1-20110707/headers-sh.in.multilib 2011-01-06 10:38:25.000000000 +0100
-+++ dialog-1.1-20110707/headers-sh.in 2011-07-26 13:02:44.177120225 +0200
-@@ -127,6 +127,7 @@ EOF
- echo "s,#include <${pkgname}_,#include <${PACKAGE}/${pkgname}_," >>$TMPSED
- fi
-
-+ echo '/_FILE_OFFSET_BITS/d' >>$TMPSED
- # reduce the count if possible, since some old sed's limit is 100 lines
- sort -u $TMPSED >headers.tmp
- mv headers.tmp $TMPSED