Updating link to change in openSUSE:Factory/nano revision 21.0
OBS-URL: https://build.opensuse.org/package/show/editors/nano?expand=0&rev=0ecedf97d8505d1b4bb0c8a6bdcb7226
This commit is contained in:
committed by
Git OBS Bridge
parent
d4adaff616
commit
9045118d58
32
nano.spec
32
nano.spec
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package nano (Version 2.2.2)
|
||||
# spec file for package nano (Version 2.2.5)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@@ -24,13 +24,15 @@ BuildRequires: ncurses-devel
|
||||
Url: http://www.nano-editor.org/
|
||||
License: GPLv3+
|
||||
Group: Productivity/Editors/Other
|
||||
AutoReqProv: on
|
||||
Summary: Pico Editor Clone with Enhancements
|
||||
Version: 2.2.2
|
||||
Version: 2.2.5
|
||||
Release: 1
|
||||
# http://www.nano-editor.org/dist/v2.2/nano-%{version}%{nano_extraver}.tar.gz
|
||||
Source: %{name}-%{version}%{nano_extraver}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
PreReq: %install_info_prereq
|
||||
Requires(post): %install_info_prereq
|
||||
Requires(postun): %install_info_prereq
|
||||
Patch: nano-no-build-date.patch
|
||||
|
||||
%description
|
||||
GNU nano is a small and friendly text editor. It aims to emulate the
|
||||
@@ -38,6 +40,7 @@ Pico text editor while also offering a few enhancements.
|
||||
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Chris Allegretta <chrisa@asty.org>
|
||||
@@ -48,39 +51,42 @@ Authors:
|
||||
Rocco Corsi <rocco.corsi@sympatico.ca>
|
||||
David Benbennick <dbenbenn@math.cornell.edu>
|
||||
|
||||
|
||||
%lang_package
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}%{nano_extraver}
|
||||
%setup -q -n "%{name}-%{version}%{nano_extraver}"
|
||||
%patch
|
||||
|
||||
%build
|
||||
%configure --disable-rpath --enable-utf8
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%__make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%__make install DESTDIR="%{buildroot}"
|
||||
%find_lang %{name} --with-man --all-name
|
||||
|
||||
%check
|
||||
%__make check
|
||||
|
||||
%clean
|
||||
%__rm -rf $RPM_BUILD_ROOT
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
|
||||
%post
|
||||
%install_info --info-dir=%_infodir %_infodir/%name.info.gz
|
||||
%install_info --info-dir=%_infodir %_infodir/%name.info%{ext_info}
|
||||
|
||||
%postun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO UPGRADE
|
||||
%dir %{_mandir}/fr
|
||||
%{_mandir}/man?/*.*
|
||||
%{_bindir}/*
|
||||
%{_infodir}/*.gz
|
||||
%{_bindir}/nano
|
||||
%{_bindir}/rnano
|
||||
%{_datadir}/nano
|
||||
%doc %{_infodir}/nano.info%{ext_info}
|
||||
%doc %{_mandir}/man1/nano.1%{ext_man}
|
||||
%doc %{_mandir}/man1/rnano.1%{ext_man}
|
||||
%doc %{_mandir}/man5/nanorc.5%{ext_man}
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
|
||||
|
Reference in New Issue
Block a user