nano.spec - wersja koncowa ? :}

kaneda w bohater.net kaneda w bohater.net
Czw, 19 Paź 2006, 19:25:02 CEST


> Czekam na poprawki.

Diff do nano + diffy do patchy.
Niby wszystko.

Kanedaaa

-- 
[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][]..
[+] You can take our lives,but you will never take our Freedom - W.Wallace
[+] Peace on earth depends on the peace in the peoples hearts - Dalai Lama
[+] Revolution the only solution - System of a down...
[+] Dalej idac dalej dojdziesz dalej siedzac dalej siedzisz - etoe aka ok0
[-] Kanedaaa... Bohateur... Cucumber Team Member...     kaneda w bohater.net
-------------- następna część ---------
--- nano.spec	2006-10-18 20:11:51.033682500 +0200
+++ /home/users/borys/nano.spec	2006-10-18 02:24:37.224049750 +0200
@@ -1,13 +1,14 @@
-# $Revision: 1.78 $, $Date: 2005/06/12 14:20:10 $
-Summary:	nano (Nano's ANOther editor)
-Summary(pl):	nano - jeszcze jeden edytor
+# $Revision:$, $Date:$
+%define _pre	pre2
+Summary:	nano - Nano's ANOther editor, an enhanced free Pico clone
+Summary(pl):	nano - jeszcze jeden edytor, darmowy, rozbudowany klon Pico
 Name:		nano
-Version:	1.2.5
-Release:	1
+Version:	1.9.99
+Release:	0.%{_pre}.1
 License:	GPL v2
 Group:		Applications/Editors
-Source0:	http://www.nano-editor.org/dist/v1.2/%{name}-%{version}.tar.gz
-# Source0-md5:	f2b3efbf1cf356d736740d531b6b22c4
+Source0:	http://www.nano-editor.org/dist/v1.3/%{name}-%{version}%{_pre}.tar.gz
+# Source0-md5:	60d487b171ced6e6df0a0ee376ddf6ab
 Source1:	%{name}.desktop
 Source2:	%{name}.png
 Patch0:		%{name}-info.patch
@@ -22,28 +23,32 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-nano (Nano's ANOther editor) is the editor formerly known as TIP (TIP
-Isn't Pico). It aims to emulate Pico as closely as possible while also
-offering a few enhancements.
+nano (Nano's ANOther editor) is a small, free and friendly editor
+which aims to replace Pico, the default editor included in the
+non-free Pine package. Rather than just copying Pico's look and feel,
+nano also implements some missing (or disabled by default) features in
+Pico, such as "search and replace" and "go to line number".
 
 %description -l pl
-nano to edytor wcześniej znany jako TIP (Tip to nIe Pico). Jego celem
-jest emulowanie Pico tak dobrze jak to możliwe, jednocześnie oferując
-kilka rozszerzeń.
+nano to mały, otwarty i przyjazny edytor, którego celem jest zastąpienie
+Pico, standardowego edytora zawartego w niewolnym pakiecie Pine.
+Oprócz wyglądu oraz interfejsu, nano posiada kilka brakujących (lub
+wyłączonych standardowo) w Pico funkcji, takich jak: "znajdź i zastąp"
+lub "idź do linii numer".
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}%{_pre}
 %patch0 -p1
-%patch1 -p1
+%patch1 -p2
 
 %build
-rm -f missing m4/*.m4
 %{__gettextize}
-%{__aclocal}
+%{__aclocal} -I m4
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+	--enable-all
 %{__make}
 
 %install
@@ -69,12 +74,14 @@
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc README ChangeLog AUTHORS NEWS TODO
+%doc AUTHORS BUGS ChangeLog NEWS README THANKS TODO UPGRADE doc/nanorc.sample doc/faq.html
 %attr(755,root,root) %{_bindir}/nano
 %{_desktopdir}/nano.desktop
 %{_mandir}/man[15]/*
 %{_infodir}/*info*
 %{_pixmapsdir}/*
+%{_datadir}/nano/*
+%lang(fr) %{_mandir}/fr/man[15]/*
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
-------------- następna część ---------
--- nano-ncurses-ncurses.h.patch	2006-10-19 19:14:20.157073250 +0200
+++ ./patched/nano-ncurses-ncurses.h.patch	2006-10-19 19:13:52.227327750 +0200
@@ -1,22 +1,22 @@
---- nano-1.2.1/nano.h~	Sun May 11 16:35:14 2003
-+++ nano-1.2.1/nano.h	Sun May 11 16:35:14 2003
-@@ -50,6 +50,8 @@
- #define KEY_DC SL_KEY_DELETE
+--- ./nano-1.9.99pre2/src/nano.h.orig	2006-08-22 20:48:13.000000000 +0200
++++ ./nano-1.9.99pre2/src/nano.h	2006-09-14 00:10:39.000000000 +0200
+@@ -71,6 +71,8 @@
+ /* Ncurses support. */
  #elif defined(HAVE_NCURSES_H)
  #include <ncurses.h>
 +#elif defined(HAVE_NCURSES_NCURSES_H)
 +#include <ncurses/ncurses.h>
- #else /* Uh oh */
- #include <curses.h> 
- #endif /* CURSES_H */
---- nano-1.2.1/configure.ac~	Sun May 11 16:36:24 2003
-+++ nano-1.2.1/configure.ac	Sun May 11 16:36:24 2003
-@@ -295,7 +295,7 @@
+ #else
+ /* Curses support. */
+ #include <curses.h>
+--- ./nano-1.9.99pre2/configure.ac.orig	2006-08-29 19:29:57.000000000 +0200
++++ ./nano-1.9.99pre2/configure.ac	2006-09-14 00:10:31.000000000 +0200
+@@ -400,7 +400,7 @@
+ dnl Checks for libraries.
  
- if eval "test x$CURSES_LIB_NAME = x"
- then
--    AC_CHECK_HEADERS(curses.h ncurses.h)
-+    AC_CHECK_HEADERS(curses.h ncurses.h ncurses/ncurses.h)
-     AC_CHECK_LIB(ncurses, tgetent, [CURSES_LIB="-lncurses" CURSES_LIB_NAME=ncurses])
- fi
+ if eval "test x$CURSES_LIB_NAME = x"; then
+-    AC_CHECK_HEADERS(ncurses.h)
++    AC_CHECK_HEADERS(ncurses.h ncurses/ncurses.h)
  
+     if test x$enable_utf8 != xno; then
+ 	AC_CHECK_LIB(ncursesw, get_wch, [CURSES_LIB="-lncursesw" CURSES_LIB_NAME=ncursesw CURSES_LIB_WIDE=yes])
-------------- następna część ---------
--- nano-info.patch	2006-10-19 19:14:20.157073250 +0200
+++ ./patched/nano-info.patch	2006-10-19 19:15:54.718983000 +0200
@@ -1,14 +1,14 @@
---- nano-1.1.10/nano.texi.orig	Fri Jul 26 00:32:43 2002
-+++ nano-1.1.10/nano.texi	Wed Aug  7 06:47:24 2002
+--- nano-1.9.99pre2/doc/texinfo/nano.texi.orig	Fri Jul 31 01:41:31 2006
++++ nano-1.9.99pre2/doc/texinfo/nano.texi	Wed Sep 10 02:34:34 2006
 @@ -11,9 +11,9 @@
- @set VERSION 1.1.10
- @set UPDATED 14 Jul 2002
+ @set VERSION 1.9.99pre1
+ @set UPDATED 30 Jul 2006
  
 - w dircategory Editors
 + w dircategory Editors:
  @direntry
 -* nano: (nano).                 Small and friendly text editor.
-+* nano: (nano).					Small and friendly text editor
++* nano: (nano).				Small and friendly text editor
  @end direntry
  
  @c tex


Więcej informacji o liście dyskusyjnej pld-devel-pl