commit 06d62372dccade12df572ea5e7587e31c1cca518
parent 78f0fc61ff3aa9914aedbea0afdd693d8593191a
Author: Chris Allegretta <chrisa@asty.org>
Date: Sat, 30 Mar 2002 16:51:38 +0000
- Added new nano.spec file from Brett <brett@bad-sports.com>, 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
Diffstat:
2 files changed, 50 insertions(+), 2 deletions(-)
diff --git 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 <brett@bad-sports.com>,
+ 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
@@ -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 <chrisa@asty.org>
+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 <chrisa@asty.org>
+- Accepted into main distribution
+- Added Packager and URL tage from original spec file.
+* Tue Mar 06 2002 Brett Pemberton <generica@email.com>
+- Initial spec-file