From 06d62372dccade12df572ea5e7587e31c1cca518 Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Sat, 30 Mar 2002 16:51:38 +0000 Subject: [PATCH] - Added new nano.spec file from Brett , added because maintaining the spec file is getting to be a large git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1161 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 7 +++++-- nano.spec.in | 45 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 2 deletions(-) create mode 100644 nano.spec.in diff --git a/ChangeLog b/ChangeLog index 4046cedc..9915595d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,4 @@ -CVS code - +GNU nano 1.1.8 - 03/30/2002 - General - Type misalignments and mem leaks in renumber_all, do_justify and do_spell (Rocco & Steven Kneizys). @@ -9,6 +9,9 @@ CVS code - ^X after ^R. - Added separate regex variable (color_regex and colormatches) so that color syntax and regex search/replace can coexist. + - Added new nano.spec file from Brett , + added because maintaining the spec file is getting to be a large + hassle ;) - files.c: check_writable_directory() - Stat full_path, not path (Steven Kneizys). @@ -73,7 +76,7 @@ CVS code - - po/id.po: - Indonesian translation updates (Tedi Heriyanto). - po/it.po: - - Serious typo (DLR). + - Serious typo. - po/ca.po, po/es.po: - Catalan and Spanish translation updates (Jordi). - Typo (DLR). diff --git a/nano.spec.in b/nano.spec.in new file mode 100644 index 00000000..fff2e355 --- /dev/null +++ b/nano.spec.in @@ -0,0 +1,45 @@ +%define name @PACKAGE@ +%define ver @VERSION@ +%define rel 1 + +Summary : Pico editor clone with enhancements +Name : %{name} +Version : %{ver} +Release : %{rel} +Copyright : GPL +Group : Console/Editors +Packager : Chris Allegretta +URL : http://www.nano-editor.org +Source : http://www.nano-editor.org/dist/v1.1/%{name}/%{name}-%{ver}.tar.gz +BuildRoot : /var/tmp/%{name}-buildroot +Requires : ncurses + +%description +GNU nano is a small and friendly text editor. It aims to emulate the Pico +text editor while also offering a few enhancements. + +%prep +%setup -q + +%build +%configure --enable-extra +make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" + +%install +rm -rf "$RPM_BUILD_ROOT" +make DESTDIR="$RPM_BUILD_ROOT" install + +%files +%defattr(-,root,root) +%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS TODO nanorc.sample +%{_bindir}/nano +%{_mandir}/*/* +%{_datadir}/locale/*/LC_MESSAGES/nano.mo +%{_infodir}/nano.info* + +%changelog +* Sat Mar 30 2002 Chris Allegretta +- Accepted into main distribution +- Added Packager and URL tage from original spec file. +* Tue Mar 06 2002 Brett Pemberton +- Initial spec-file