SPECS: dialog.spec - new version 1.0-20060126 from http://invisibl...
wiget
wiget at pld-linux.org
Fri Feb 10 17:51:14 CET 2006
Author: wiget Date: Fri Feb 10 16:51:14 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new version 1.0-20060126 from http://invisible-island.net/dialog/ (based on Debian dialog, used by Gentoo)
- release 0.9
---- Files affected:
SPECS:
dialog.spec (1.51 -> 1.52)
---- Diffs:
================================================================
Index: SPECS/dialog.spec
diff -u SPECS/dialog.spec:1.51 SPECS/dialog.spec:1.52
--- SPECS/dialog.spec:1.51 Sat Mar 26 16:04:52 2005
+++ SPECS/dialog.spec Fri Feb 10 17:51:09 2006
@@ -1,31 +1,23 @@
# $Revision$, $Date$
+%define ver 1.0
+%define sdate 20060126
Summary: A program to build tty dialog boxes
Summary(de): Ein Programm zum Erstellen von tty-Dialogfeldern
Summary(fr): Programme pour construire des boîtes de dialogue en mode texte
Summary(pl): Dialog tworzy okienkowy interfejs użytkownika na terminalu tekstowym
Summary(tr): tty diyalog kutularý oluţturan bir program
Name: dialog
-Version: 0.69
-Release: 12
+Version: %{ver}.%{sdate}
+Release: 0.9
Epoch: 1
-License: GPL
+License: LGPL v2.1
Group: Applications/Terminal
-Source0: ftp://iride.unipv.it/pub/linux/dialog/%{name}-%{version}.tar.gz
-# Source0-md5: 479652df0812eaa92fa9fbec98dd72cd
-# other (more recent but probably worse) dialog source:
-# ftp://AdvancedResearch.org/pub/vstemen/%{name}-0.7.tar.gz
+Source0: ftp://invisible-island.net/dialog/%{name}-%{ver}-%{sdate}.tgz
+# Source0-md5: 48dc347ac316fb40bf2ab36d955d0cc7
Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
# Source1-md5: 932081790cd8aa857822bd2b0eafa5bb
-Patch0: %{name}-shared.patch
-Patch1: %{name}-manpath.patch
-Patch2: %{name}-awk.patch
-Patch3: %{name}-examples.patch
-Patch4: %{name}-opt.patch
-Patch5: %{name}-menumouse.patch
-Patch6: %{name}-menuborder.patch
-Patch7: %{name}-segv.patch
-Patch8: %{name}-gcc34.patch
-URL: http://www.AdvancedResearch.org/dialog/
+Patch0: %{name}-examples.patch
+URL: http://invisible-island.net/dialog/dialog.html
BuildRequires: autoconf
BuildRequires: gpm-devel
BuildRequires: ncurses-devel
@@ -89,43 +81,38 @@
Statyczna biblioteka dialog.
%prep
-%setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
+%setup -q -n %{name}-%{ver}-%{sdate}
+#patch0 -p1 - example scripts need similar fixes
%build
-%{__autoconf}
-%configure
+%configure \
+ --with-libtool \
+ --with-ncursesw \
+ --enable-widec \
+ --enable-nls
-%{__make} depend shared all
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_examplesdir}/%{name}}
%{__make} install \
- prefix=$RPM_BUILD_ROOT%{_prefix} \
- LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
- mandir=$RPM_BUILD_ROOT%{_mandir}
+ DESTDIR=$RPM_BUILD_ROOT
cp -a samples/* dialog.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}
bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
+%find_lang %{name}
+
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
-%files
+%files -f %{name}.lang
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/dialog
%attr(755,root,root) %{_libdir}/lib*.so.*
@@ -135,8 +122,9 @@
%files devel
%defattr(644,root,root,755)
-%doc README CMDLINE
+%doc README CHANGES
%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
%{_includedir}/*
%{_mandir}/man3/*
%attr(- ,root,root) %{_examplesdir}/dialog
@@ -151,6 +139,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.52 2006/02/10 16:51:09 wiget
+- new version 1.0-20060126 from http://invisible-island.net/dialog/ (based on Debian dialog, used by Gentoo)
+- release 0.9
+
Revision 1.51 2005/03/26 15:04:52 mmazur
- rel 12 for th
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/dialog.spec?r1=1.51&r2=1.52&f=u
More information about the pld-cvs-commit
mailing list