SHA256
1
0
forked from pool/nano

Accepting request 56971 from home:adra

OBS-URL: https://build.opensuse.org/request/show/56971
OBS-URL: https://build.opensuse.org/package/show/editors/nano?expand=0&rev=15
This commit is contained in:
Cristian Rodríguez
2011-01-02 15:58:17 +00:00
committed by Git OBS Bridge
parent 9045118d58
commit 0d2a9a140f
4 changed files with 25 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package nano (Version 2.2.5)
# spec file for package nano (Version 2.2.6)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -20,19 +20,20 @@
%define nano_extraver %{nil}
Name: nano
BuildRequires: ncurses-devel
Url: http://www.nano-editor.org/
License: GPLv3+
Group: Productivity/Editors/Other
Summary: Pico Editor Clone with Enhancements
Version: 2.2.5
Version: 2.2.6
Release: 1
# http://www.nano-editor.org/dist/v2.2/nano-%{version}%{nano_extraver}.tar.gz
License: GPLv3+
Summary: Pico Editor Clone with Enhancements
Url: http://www.nano-editor.org/
Group: Productivity/Editors/Other
# http://www.nano-editor.org/dist/v2.2/%{name}-%{version}%{nano_extraver}.tar.gz
Source: %{name}-%{version}%{nano_extraver}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Don't show build date in version information
Patch0: nano-no-build-date.patch
BuildRequires: ncurses-devel
Requires(post): %install_info_prereq
Requires(postun): %install_info_prereq
Patch: nano-no-build-date.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
GNU nano is a small and friendly text editor. It aims to emulate the
@@ -54,7 +55,7 @@ Authors:
%lang_package
%prep
%setup -q -n "%{name}-%{version}%{nano_extraver}"
%patch
%patch0
%build
%configure --disable-rpath --enable-utf8
@@ -71,7 +72,7 @@ Authors:
%{?buildroot:%__rm -rf "%{buildroot}"}
%post
%install_info --info-dir=%_infodir %_infodir/%name.info%{ext_info}
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
@@ -79,6 +80,7 @@ Authors:
%files
%defattr(-, root, root)
%doc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO UPGRADE
%doc doc/faq.html doc/nanorc.sample
%dir %{_mandir}/fr
%{_bindir}/nano
%{_bindir}/rnano