update nano.spec.in for newer RPM-based distributions, adapted from the
nano 1.3.12-1.1.spec file in Fedora Rawhide git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3929 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
1bb4db6409
commit
6b9e7cf5be
|
@ -6,7 +6,11 @@ CVS code -
|
||||||
(Donnie Berkholz, minor tweaks by DLR)
|
(Donnie Berkholz, minor tweaks by DLR)
|
||||||
- AUTHORS:
|
- AUTHORS:
|
||||||
- Update for the 2.0 branch of nano. (DLR)
|
- Update for the 2.0 branch of nano. (DLR)
|
||||||
- nano.spec.in, doc/faq.html:
|
- nano.spec.in:
|
||||||
|
- Update links for the 2.0 branch of nano. (DLR)
|
||||||
|
- Update for newer RPM-based distributions. (DLR, adapted from
|
||||||
|
the nano 1.3.12-1.1.spec file in Fedora Rawhide)
|
||||||
|
- doc/faq.html:
|
||||||
- Update links for the 2.0 branch of nano. (DLR)
|
- Update links for the 2.0 branch of nano. (DLR)
|
||||||
- doc/nano.1, doc/nanorc.5, doc/rnano.1:
|
- doc/nano.1, doc/nanorc.5, doc/rnano.1:
|
||||||
- Add minor wording fixes. (DLR)
|
- Add minor wording fixes. (DLR)
|
||||||
|
|
28
nano.spec.in
28
nano.spec.in
|
@ -1,32 +1,32 @@
|
||||||
%define name @PACKAGE@
|
%define name @PACKAGE@
|
||||||
%define ver @VERSION@
|
%define version @VERSION@
|
||||||
%define rel 1
|
%define release 1
|
||||||
|
|
||||||
Summary : Pico editor clone with enhancements
|
Summary : Pico editor clone with enhancements
|
||||||
Name : %{name}
|
Name : %{name}
|
||||||
Version : %{ver}
|
Version : %{version}
|
||||||
Release : %{rel}
|
Release : %{release}
|
||||||
Copyright : GPL
|
License : GPL
|
||||||
Group : Console/Editors
|
Group : Applications/Editors
|
||||||
URL : http://www.nano-editor.org/
|
URL : http://www.nano-editor.org/
|
||||||
Source : http://www.nano-editor.org/dist/v2.0/%{name}-%{ver}.tar.gz
|
Source : http://www.nano-editor.org/dist/v2.0/%{name}-%{version}.tar.gz
|
||||||
BuildRoot : /var/tmp/%{name}-buildroot
|
BuildRoot : %{_tmppath}/%{name}-%{version}-root
|
||||||
Requires : ncurses
|
BuildRequires : autoconf, gettext-devel, groff, ncurses-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
GNU nano is a small and friendly text editor. It aims to emulate the Pico
|
GNU nano is a small and friendly text editor. It aims to emulate the
|
||||||
text editor while also offering a few enhancements.
|
Pico text editor while also offering a few enhancements.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --enable-all
|
%configure --enable-all
|
||||||
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf "$RPM_BUILD_ROOT"
|
rm -rf %{buildroot}
|
||||||
make DESTDIR="$RPM_BUILD_ROOT" install
|
make DESTDIR="%{buildroot}" install
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
|
Loading…
Reference in New Issue