9d1eb566b2
Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - rebuilt Tue May 06 2003 Bill Nottingham <notting@redhat.com> 1.2.1-2 - description tweaks Mon May 05 2003 Bill Nottingham <notting@redhat.com> 1.2.1-1 - initial build, tweak upstream spec file
57 lines
1.2 KiB
RPMSpec
57 lines
1.2 KiB
RPMSpec
Summary: A small text editor
|
|
Name: nano
|
|
Version: 1.2.1
|
|
Release: 3
|
|
License: GPL
|
|
Group: Applications/Editors
|
|
URL: http://www.nano-editor.org
|
|
Source: http://www.nano-editor.org/dist/v1.2/nano-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildPrereq: ncurses-devel gpm-devel
|
|
Prereq: /sbin/install-info
|
|
|
|
%description
|
|
GNU nano is a small and friendly text editor.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure --enable-all
|
|
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)
|
|
%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS TODO nanorc.sample
|
|
%{_bindir}/*
|
|
%{_mandir}/man*/*
|
|
%{_infodir}/nano.info*
|
|
|
|
%changelog
|
|
* 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
|