diff --git a/nano-2.1.9.tar.bz2 b/nano-2.1.9.tar.bz2 deleted file mode 100644 index 748e22d..0000000 --- a/nano-2.1.9.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:08201a9d3b8ac8d8b45ec85911fa09751f6fb3f31b12d6736f8d211760102c6e -size 983135 diff --git a/nano-2.2.2.tar.bz2 b/nano-2.2.2.tar.bz2 new file mode 100644 index 0000000..8b6efc4 --- /dev/null +++ b/nano-2.2.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c8e8f02a76d76eacac889ed2c63d5d95751f5f6daa55c28fa90f1e9428adadb3 +size 992006 diff --git a/nano.changes b/nano.changes index fd53cd0..5db43c6 100644 --- a/nano.changes +++ b/nano.changes @@ -1,3 +1,47 @@ +------------------------------------------------------------------- +Sun Jan 24 14:52:35 UTC 2010 - bitshuffler@opensuse.org + +- Updated to 2.2.2 +- Removed generic INSTALL file +- Split of -lang subpackage + +------------------------------------------------------------------- +Tue Dec 1 19:39:53 UTC 2009 - crrodriguez@opensuse.org + +- update to nano 2.2.0 (stable release) + +------------------------------------------------------------------- +Mon Nov 23 00:33:10 UTC 2009 - crrodriguez@novell.com + +- update to version 2.1.99pre2 + +------------------------------------------------------------------- +Sun Oct 11 20:07:34 UTC 2009 - crrodriguez@opensuse.org + +- --enable-debug for a while.. + +------------------------------------------------------------------- +Wed Sep 30 14:24:20 UTC 2009 - crrodriguez@opensuse.org + +- correct voidreturn patch + +------------------------------------------------------------------- +Tue Sep 29 15:07:11 CEST 2009 - crrodriguez@suse.de + +- cleanup spec file a bit +- fix voidreturn + +------------------------------------------------------------------- +Tue Sep 22 00:28:45 CEST 2009 - crrodriguez@suse.de + +- update to version 2.1.11 +- tag localized man pages correctly + +------------------------------------------------------------------- +Sat Sep 5 20:43:21 CEST 2009 - crrodriguez@suse.de + +- update to version 2.1.10 see NEWS for details + ------------------------------------------------------------------- Wed Feb 18 16:12:19 CET 2009 - crrodriguez@suse.de diff --git a/nano.spec b/nano.spec index 783ac80..e3546a9 100644 --- a/nano.spec +++ b/nano.spec @@ -1,7 +1,7 @@ # -# spec file for package nano (Version 2.1.9) +# spec file for package nano (Version 2.2.2) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,17 +17,18 @@ # norootforbuild +%define nano_extraver %{nil} Name: nano BuildRequires: ncurses-devel Url: http://www.nano-editor.org/ -License: GPL v3 or later +License: GPLv3+ Group: Productivity/Editors/Other AutoReqProv: on Summary: Pico Editor Clone with Enhancements -Version: 2.1.9 +Version: 2.2.2 Release: 1 -Source: %{name}-%{version}.tar.bz2 +Source: %{name}-%{version}%{nano_extraver}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %install_info_prereq @@ -47,24 +48,24 @@ Authors: Rocco Corsi David Benbennick + +%lang_package %prep -%setup -q +%setup -q -n %{name}-%{version}%{nano_extraver} %build -export CFLAGS="%optflags $(ncursesw-config --cflags)" -export LDFLAGS="%optflags $(ncursesw-config --libs)" -%configure --disable-rpath --enable-all -%{__make} %{?jobs:-j%jobs} +%configure --disable-rpath --enable-utf8 +%__make %{?_smp_mflags} %install -make install DESTDIR=$RPM_BUILD_ROOT -%find_lang %{name} +%__make install DESTDIR=$RPM_BUILD_ROOT +%find_lang %{name} --with-man --all-name %check -make check +%__make check %clean -rm -rf $RPM_BUILD_ROOT +%__rm -rf $RPM_BUILD_ROOT %post %install_info --info-dir=%_infodir %_infodir/%name.info.gz @@ -72,169 +73,15 @@ rm -rf $RPM_BUILD_ROOT %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz -%files -f %{name}.lang +%files %defattr(-, root, root) -%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS TODO UPGRADE -%{_mandir}/fr -%{_mandir}/fr/man? +%doc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO UPGRADE +%dir %{_mandir}/fr %{_mandir}/man?/*.* -%{_mandir}/*/man?/*.* %{_bindir}/* %{_infodir}/*.gz %{_datadir}/nano +%files lang -f %{name}.lang + %changelog -* Wed Feb 18 2009 crrodriguez@suse.de -- update to version 2.1.9 see NEWS for details - * Issues with the new sped-up syntax highlighting code were - corrected. Other fixes include configure-time detection of groff HTML - support before attempting to generate the HTML version of man pages. Using - ~ or ~username syntax in .nanorc should now work again. Also, nano will now - only ask for one acknowledgment of errors it encounters when parsing nanorc - files, and a new -q (--quiet) flag will silence these messages altogether. -* Mon Jan 05 2009 crrodriguez@suse.de -- update to versison 2.1.7, see NEWS for details -* Wed Sep 03 2008 crrodriguez@suse.de -- upgrade to nano 2.1.5, change list too long see ChangeLog - for more details -* Tue Aug 26 2008 cthiel@suse.de -- update to version 2.0.8 - * GNU nano 2.0.8 is what she said. This release contains fixes for - several long standing issues, including: crashing when starting with too - small a window size, compilation fixes for AIX curses, crashes in the - help menu using some locales, and a fun issue where nano mistalenly - reports a successful file write on filesystems which are almost - completely full. Have at it. -* Mon May 05 2008 crrodriguez@suse.de -- fix for Feature No 300498 , use RPM_OPT_FLAGS everywhere. -* Thu Apr 10 2008 cthiel@suse.de -- adapt package to use latests ncursesw -* Sun Feb 24 2008 crrodriguez@suse.de -- use find_lang macro -- add missing calls to install_info_* macros -* Fri Dec 21 2007 cthiel@suse.de - * update to version 2.0.7 - * nano 2.0.7 keeps its balance. This release fixes several bugs, among - others: a segfault and several cursor positioning problems when - uncutting text or inserting files into the current buffer; a problem - where the total number of characters would be miscalculated when - replacing single-byte characters with multibyte ones; several minor - issues with the statusbar prompt involving text display and mouse - support; and several oddities when tab-completing in the middle of a - line. It also improves autodetection of DOS and Mac format files, - properly supports the mouse wheel when using a version of ncurses built - with the --enable-ext-mouse option, fixes some problems under NetBSD - curses, adds a lot of translation updates, and adds more minor - documentation updates. Slang curses emulation support has also been - changed to turn off all the options that --enable-tiny does, as it's - hopelessly broken otherwise. Finally, nano is now licensed under the - GNU GPL version 3 or later, and its documentation is now dual-licensed - under the GNU GPL version 3 or later and the GNU FDL version 1.2 or - later. Have fun. -* Thu Dec 06 2007 cthiel@suse.de -- added nano-2.0.6.patch to fix error: call to '__open_missing_mode' - declared with attribute error: open with O_CREAT in second argument needs - 3 arguments -* Thu May 03 2007 cthiel@suse.de -- update to version 2.0.6 - * GNU nano 2.0.6 "that was quick" is released. This release fixes a - potential segfault after justifying text marked from the bottom up. It - also adds one more minor documentation update. Enjoy. -* Sun Apr 22 2007 cthiel@suse.de -- update to version 2.0.5 - * GNU nano 2.0.5 braces for impact. Among other things, this release - fixes various problems (including a segfault) when trying to open or - save a file in a directory beginning with "~" that isn't a home - directory; fixes a problem where a file with no name could be saved over - an existing filename with no warning about overwriting it; properly - disallows opening directories or device files from "include" commands in - nanorc files; no longer displays a misleading prompt when trying to save - in restricted mode with the mark on; and properly supports the Cancel - and Shift-Cancel keys. It also improves several color syntaxes to - highlight trailing whitespace, just as the Java syntax does, and adds - yet more minor documentation updates. Have fun. -* Sat Apr 07 2007 cthiel@suse.de -- update to version 2.0.4 - * GNU nano 2.0.4 heralds the dawn. This release contains proper support - for the Ctrl-[arrow key], Shift-[arrow key], and F13-F16 keys under - Xfce's Terminal. It also adds still more minor documentation updates. - Enjoy. -* Thu Mar 29 2007 cthiel@suse.de -- fixed build by adding BuildRequires: ncurses-devel -* Mon Jan 29 2007 cthiel@suse.de -- update to version 2.0.3 - * GNU nano 2.0.3 flows toward its ending. This release contains several - minor optimizations to make the executable a little smaller under some - circumstances, some translation updates, improvements to the color - syntax for Python, and still more minor documentation updates. -* Thu Dec 21 2006 cthiel@suse.de -- update to version 2.0.2 - * GNU nano 2.0.2 forges ahead. This release fixes a segfault when trying - to save in a nonexistent directory; fixes handling of strings containing - nulls at the "Write File", "Insert File", "Execute Command", and "Go to - Directory" prompts; fixes several minor memory leaks; fixes two more - potential compilation warnings; adds a few translation updates; and adds - a few more minor documentation updates. Enjoy. -* Mon Nov 20 2006 cthiel@suse.de -- update to version 2.0.1 - * GNU nano 2.0.1 emerges from its cocoon. This release contains several - bugfixes: saving one file over another will now always warn about - overwriting it, overwriting a file is no longer possible when saving a - new file in restricted mode, and zero-length Unicode characters are now - highlighted properly when nano is built without regular expression - support. It also adds several minor documentation updates. Have fun - with it. -* Sun Nov 12 2006 cthiel@suse.de -- update to version 2.0.0 - * GNU nano 2.0.0 does its little dance. This release adds documentation - updates and a few cosmetic tweaks. For those who haven't been following - nano 1.3 development, there are a ton of new features, including support - for UTF-8, moving to a specified line and column instead of just a line, - improved color syntax highlighting, inserting previously untypeable - characters using "Verbatim Input" mode, and copying text into the - cutbuffer without cutting it. There are also fixes for some - long-standing bugs, such as the "NumLock glitch" from nano 1.2.x, and - the inability to unjustify text after resizing. Finally, there are also - a ton of translation updates and new translations, as well as new color - syntaxes. See the UPGRADE file for more information, and enjoy the new - stable release. -* Mon Jun 26 2006 cthiel@suse.de -- update to version 1.3.12 - * This release contains the last new features that nano will have before - 2.0: copying text into the cutbuffer without cutting it, indenting lines - of marked text with a single keystroke, reworked help text that should - be easier for new users, searching for filenames in the file browser, - the ability to include color regexes in files separate from nanorc - files, etc. It also contains many bugfixes. Text can now be - unjustified after justifying it and resizing the window; the screen is - now cleared when suspending; the "default" color syntax is now handled - properly at all times; lines of text containing tabs are now wrapped at - the right place; double-column characters are now properly displayed - when past the right edge of the screen; invalid multi-line color regexes - are now ignored; and so on. -* Thu May 25 2006 cthiel@suse.de -- update to version 1.3.11 - * This release focuses mostly on bugfixes, which include better handling - of the cursor at the statusbar prompt, support for certain combinations - of Shift and keyboard keys in both normal and - --rebind-keypad mode, a fix for a minor display problem after some - searches, a real fix for a long-standing segfault when displaying overly - long lines, and a real fix for nano's not hanging up properly in xterm - under certain circumstances. There are also several new features, such - as the ability to set the characters used as brackets when searching for - matching brackets, and tab completion of directories at the "Go To - Directory" prompt. -* Wed Jan 25 2006 mls@suse.de -- converted neededforbuild to BuildRequires -* Sat Dec 24 2005 cthiel@suse.de -- update to version 1.3.10 -* Tue Oct 25 2005 cthiel@suse.de -- update to version 1.3.9 -* Tue Sep 13 2005 cthiel@suse.de -- specfile cleanup -* Fri Jul 01 2005 cthiel@suse.de -- update to version 1.3.8 -* Wed Jun 29 2005 cthiel@suse.de -- update to version 1.3.7 -* Mon Jun 06 2005 cthiel@suse.de -- initial package (1.2.5)