2002-03-30 19:51:38 +03:00
|
|
|
%define name @PACKAGE@
|
|
|
|
%define ver @VERSION@
|
|
|
|
%define rel 1
|
|
|
|
|
|
|
|
Summary : Pico editor clone with enhancements
|
|
|
|
Name : %{name}
|
2002-03-30 19:52:42 +03:00
|
|
|
Version : %{ver}
|
|
|
|
Release : %{rel}
|
2002-03-30 19:51:38 +03:00
|
|
|
Copyright : GPL
|
|
|
|
Group : Console/Editors
|
2006-06-03 01:21:53 +04:00
|
|
|
URL : http://www.nano-editor.org/
|
2003-11-04 21:34:44 +03:00
|
|
|
Source : http://www.nano-editor.org/dist/v1.3/%{name}-%{ver}.tar.gz
|
2002-03-30 19:51:38 +03:00
|
|
|
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
|
2003-02-09 01:05:50 +03:00
|
|
|
%configure --enable-all
|
2002-03-30 19:51:38 +03:00
|
|
|
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf "$RPM_BUILD_ROOT"
|
|
|
|
make DESTDIR="$RPM_BUILD_ROOT" install
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2003-11-04 21:34:44 +03:00
|
|
|
%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS TODO doc/faq.html doc/nanorc.sample
|
2004-08-02 02:00:29 +04:00
|
|
|
%{_bindir}/*
|
2002-03-30 19:51:38 +03:00
|
|
|
%{_mandir}/*/*
|
|
|
|
%{_datadir}/locale/*/LC_MESSAGES/nano.mo
|
2006-06-01 21:23:28 +04:00
|
|
|
%{_datadir}/nano/*
|
2002-03-30 19:51:38 +03:00
|
|
|
%{_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
|