SPECS: dialog.spec - post-update cleanup - removed examples patch, ...

qboosh qboosh at pld-linux.org
Sun Feb 19 13:56:35 CET 2006


Author: qboosh                       Date: Sun Feb 19 12:56:35 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- post-update cleanup
- removed examples patch, added link,pl.po-update patches
- revised BRs (removed gpm - mouse support is gone)
- -devel R: ncurses-devel (>= 5.4, when we introduced libncursesw)

---- Files affected:
SPECS:
   dialog.spec (1.52 -> 1.53) 

---- Diffs:

================================================================
Index: SPECS/dialog.spec
diff -u SPECS/dialog.spec:1.52 SPECS/dialog.spec:1.53
--- SPECS/dialog.spec:1.52	Fri Feb 10 17:51:09 2006
+++ SPECS/dialog.spec	Sun Feb 19 13:56:29 2006
@@ -16,11 +16,12 @@
 # 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}-examples.patch
+Patch0:		%{name}-link.patch
+Patch1:		%{name}-pl.po-update.patch
 URL:		http://invisible-island.net/dialog/dialog.html
-BuildRequires:	autoconf
-BuildRequires:	gpm-devel
-BuildRequires:	ncurses-devel
+BuildRequires:	gettext-devel
+BuildRequires:	ncurses-devel >= 5.4
+BuildRequires:	libtool
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -34,14 +35,14 @@
 Benutzeroberfläche in einem TTY ermöglicht (nur Textmodus). Sie können
 dialog mit einem Shell-Script aufrufen, um dem Benutzer auf
 benutzerfreundliche Weise Fragen zu stellen oder eine Auswahl
-anzubieten. Unter /usr/src/examples/dialog-%{version} finden Sie
+anzubieten. Unter %{_examplesdir}/%{name}-%{version} finden Sie
 einige Beispiele.
 
 %description -l fr
 dialog est un utilitaire permettant de construire des interfaces
 utilisateur en mode texte. On peut appeler dialog ŕ partir d'un script
 shell pour poser des questions ŕ l'utilisateur ou lui proposer des
-choix de façon conviviale. Voir /usr/src/examples/dialog-%{version}
+choix de façon conviviale. Voir %{_examplesdir}/%{name}-%{version}
 pour quelques exemples.
 
 %description -l pl
@@ -54,13 +55,14 @@
 Dialog, metin ekran için kullanýcý arayüzleri oluţturmayý sađlayan bir
 araçtýr. Kullanýcýya seçenekleri göstermek veya sorular sormak için,
 dialog programýný bir kabuk programcýđý içinden çađýrabilirsiniz.
-Örnekler için /usr/src/examples/dialog-%{version} dizinine bakýnýz.
+Örnekler için %{_examplesdir}/%{name}-%{version} dizinine bakýnýz.
 
 %package devel
 Summary:	Libraries and headers files for dialog
 Summary(pl):	Biblioteki i pliki nagółwkowe dla dialog
 Group:		Development/Libraries
-Requires:	%{name} = %{epoch}:%{version}
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+Requires:	ncurses-devel >= 5.4
 
 %description devel
 Libraries and header files for dialog.
@@ -72,7 +74,7 @@
 Summary:	Static dialog library
 Summary(pl):	Statyczna biblioteka dialog
 Group:		Development/Libraries
-Requires:	%{name}-devel = %{epoch}:%{version}
+Requires:	%{name}-devel = %{epoch}:%{version}-%{release}
 
 %description static
 Static dialog library.
@@ -82,7 +84,8 @@
 
 %prep
 %setup -q -n %{name}-%{ver}-%{sdate}
-#patch0 -p1 - example scripts need similar fixes 
+%patch0 -p1
+%patch1 -p1
 
 %build
 %configure \
@@ -95,12 +98,12 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_examplesdir}/%{name}}
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-cp -a samples/* dialog.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}
+cp -a samples/* dialog.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
 
@@ -114,24 +117,24 @@
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
+%doc CHANGES README
 %attr(755,root,root) %{_bindir}/dialog
-%attr(755,root,root) %{_libdir}/lib*.so.*
+%attr(755,root,root) %{_libdir}/libdialog.so.*.*.*
 %{_mandir}/man1/*
 %lang(hu) %{_mandir}/hu/man1/*
 %lang(pl) %{_mandir}/pl/man1/*
 
 %files devel
 %defattr(644,root,root,755)
-%doc README CHANGES
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_libdir}/lib*.la
-%{_includedir}/*
-%{_mandir}/man3/*
-%attr(- ,root,root) %{_examplesdir}/dialog
+%attr(755,root,root) %{_libdir}/libdialog.so
+%{_libdir}/libdialog.la
+%{_includedir}/*.h
+%{_mandir}/man3/dialog.3*
+%attr(-,root,root) %{_examplesdir}/%{name}-%{version}
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libdialog.a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -139,6 +142,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.53  2006/02/19 12:56:29  qboosh
+- post-update cleanup
+- removed examples patch, added link,pl.po-update patches
+- revised BRs (removed gpm - mouse support is gone)
+- -devel R: ncurses-devel (>= 5.4, when we introduced libncursesw)
+
 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
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/dialog.spec?r1=1.52&r2=1.53&f=u



More information about the pld-cvs-commit mailing list