- 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
master
Chris Allegretta 2002-03-30 16:51:38 +00:00
parent 78f0fc61ff
commit 06d62372dc
2 changed files with 50 additions and 2 deletions

View File

@ -1,4 +1,4 @@
CVS code - GNU nano 1.1.8 - 03/30/2002
- General - General
- Type misalignments and mem leaks in renumber_all, do_justify - Type misalignments and mem leaks in renumber_all, do_justify
and do_spell (Rocco & Steven Kneizys). and do_spell (Rocco & Steven Kneizys).
@ -9,6 +9,9 @@ CVS code -
^X after ^R. ^X after ^R.
- Added separate regex variable (color_regex and colormatches) - Added separate regex variable (color_regex and colormatches)
so that color syntax and regex search/replace can coexist. 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: - files.c:
check_writable_directory() check_writable_directory()
- Stat full_path, not path (Steven Kneizys). - Stat full_path, not path (Steven Kneizys).
@ -73,7 +76,7 @@ CVS code -
- po/id.po: - po/id.po:
- Indonesian translation updates (Tedi Heriyanto). - Indonesian translation updates (Tedi Heriyanto).
- po/it.po: - po/it.po:
- Serious typo (DLR). - Serious typo.
- po/ca.po, po/es.po: - po/ca.po, po/es.po:
- Catalan and Spanish translation updates (Jordi). - Catalan and Spanish translation updates (Jordi).
- Typo (DLR). - Typo (DLR).

45
nano.spec.in Normal file
View File

@ -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