nano/nano.spec

83 lines
2.0 KiB
RPMSpec
Raw Normal View History

Summary: A small text editor
Name: nano
2005-09-05 12:53:57 +00:00
Version: 1.3.8
Release: 1
License: GPL
Group: Applications/Editors
URL: http://www.nano-editor.org
2005-09-05 12:53:57 +00:00
Source: http://www.nano-editor.org/dist/v1.3/nano-1.3.8.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
2005-03-02 14:15:59 +00:00
BuildPrereq: ncurses-devel, autoconf, gettext-devel
Prereq: /sbin/install-info
%description
GNU nano is a small and friendly text editor.
%prep
%setup -q
iconv -f iso-8859-1 -t utf-8 -o nano.1.tmp doc/man/fr/nano.1 && mv nano.1.tmp doc/man/fr/nano.1
iconv -f iso-8859-1 -t utf-8 -o nanorc.5.tmp doc/man/fr/nano.1 && mv nanorc.5.tmp doc/man/fr/nanorc.5
%build
%configure --enable-all
2005-03-02 14:15:59 +00:00
make
%install
rm -rf %{buildroot}
make DESTDIR="%{buildroot}" install
#ln -s nano %{buildroot}%{_bindir}/pico
rm -f %{buildroot}%{_infodir}/dir
%find_lang %{name}
%post
/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir
%postun
/sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir
%clean
rm -rf %{buildroot}
%files -f %{name}.lang
%defattr(-,root,root)
2005-03-02 14:15:59 +00:00
%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS TODO
%doc doc/nanorc.sample
%doc doc/faq.html
%{_bindir}/*
%{_mandir}/man*/*
2005-09-05 12:53:57 +00:00
%{_mandir}/fr/man*/*
%{_infodir}/nano.info*
%changelog
2005-09-05 12:53:57 +00:00
* Mon Sep 5 2005 David Woodhouse <dwmw2@redhat.com> 1.3.8-1
- 1.3.8
2005-09-05 12:53:57 +00:00
2005-03-02 14:15:59 +00:00
* Wed Mar 2 2005 David Woodhouse <dwmw2@redhat.com> 1.3.5-0.20050302
- Update to post-1.3.5 CVS tree to get UTF-8 support.
* Wed Aug 04 2004 David Woodhouse <dwmw2@redhat.com> 1.2.4-1
- 1.2.4
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Fri Apr 02 2004 Florian La Roche <Florian.LaRoche@redhat.de>
- 1.2.3
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Mon Aug 11 2003 Bill Nottingham <notting@redhat.com> 1.2.1-4
- build in different environment
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Tue May 6 2003 Bill Nottingham <notting@redhat.com> 1.2.1-2
- description tweaks
* Mon May 5 2003 Bill Nottingham <notting@redhat.com> 1.2.1-1
- initial build, tweak upstream spec file