From: Chris Allegretta Date: Thu, 11 Apr 2002 00:26:20 +0000 (+0000) Subject: This commit was manufactured by cvs2svn to create branch X-Git-Tag: v1.0.9~3 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=876c84deb6d350fb55f1430030ddeb53749e5c98;p=nano.git This commit was manufactured by cvs2svn to create branch 'nano_1_0_branch'. git-svn-id: svn://svn.savannah.gnu.org/nano/branches/nano_1_0_branch/nano@1175 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/nano.spec.in b/nano.spec.in new file mode 100644 index 00000000..e2cea61c --- /dev/null +++ b/nano.spec.in @@ -0,0 +1,44 @@ +%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 +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