- update to 2.0.4
This commit is contained in:
parent
8769c71046
commit
da8a69611e
@ -1 +1 @@
|
||||
nano-1.3.12.tar.gz
|
||||
nano-2.0.3.tar.gz
|
||||
|
22
nano.spec
22
nano.spec
@ -1,14 +1,15 @@
|
||||
Summary: A small text editor
|
||||
Name: nano
|
||||
Version: 1.3.12
|
||||
Release: 1.1
|
||||
Version: 2.0.3
|
||||
Release: 1%{?dist}
|
||||
License: GPL
|
||||
Group: Applications/Editors
|
||||
URL: http://www.nano-editor.org
|
||||
Source: http://www.nano-editor.org/dist/v1.3/%{name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: ncurses-devel, autoconf, gettext-devel, groff
|
||||
Prereq: /sbin/install-info
|
||||
Requires(post): /sbin/install-info
|
||||
Requires(preun): /sbin/install-info
|
||||
|
||||
%description
|
||||
GNU nano is a small and friendly text editor.
|
||||
@ -20,7 +21,6 @@ iconv -f iso-8859-1 -t utf-8 -o nanorc.5.tmp doc/man/fr/nano.1 && mv nanorc.5.tm
|
||||
|
||||
%build
|
||||
%configure --enable-all
|
||||
|
||||
make
|
||||
|
||||
%install
|
||||
@ -33,9 +33,13 @@ rm -f %{buildroot}%{_infodir}/dir
|
||||
|
||||
%post
|
||||
/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir
|
||||
exit 0
|
||||
|
||||
%postun
|
||||
/sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir
|
||||
%preun
|
||||
if [ $1 -eq 0 ]; then
|
||||
/sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir
|
||||
fi
|
||||
exit 0
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
@ -52,6 +56,10 @@ rm -rf %{buildroot}
|
||||
%{_datadir}/nano
|
||||
|
||||
%changelog
|
||||
* Mon Feb 05 2007 Florian La Roche <laroche@redhat.com> - 2.0.3-1
|
||||
- update to 2.0.3
|
||||
- update spec file syntax, fix scripts rh#220527
|
||||
|
||||
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.3.12-1.1
|
||||
- rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user