2006-12-21 13:32:37 +01:00
|
|
|
#
|
2010-10-06 22:40:38 +02:00
|
|
|
# spec file for package nano (Version 2.2.2)
|
2006-12-21 13:32:37 +01:00
|
|
|
#
|
2010-02-18 16:42:56 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-21 13:32:37 +01:00
|
|
|
#
|
2008-08-27 01:56:32 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2006-12-21 13:32:37 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2010-02-18 16:42:56 +01:00
|
|
|
%define nano_extraver %{nil}
|
2010-10-06 22:40:38 +02:00
|
|
|
|
2006-12-21 13:32:37 +01:00
|
|
|
Name: nano
|
2007-03-29 18:21:59 +02:00
|
|
|
BuildRequires: ncurses-devel
|
2007-12-06 17:07:31 +01:00
|
|
|
Url: http://www.nano-editor.org/
|
2010-02-18 16:42:56 +01:00
|
|
|
License: GPLv3+
|
2006-12-21 13:32:37 +01:00
|
|
|
Group: Productivity/Editors/Other
|
2010-10-06 22:40:38 +02:00
|
|
|
AutoReqProv: on
|
2006-12-21 13:32:37 +01:00
|
|
|
Summary: Pico Editor Clone with Enhancements
|
2010-10-06 22:40:38 +02:00
|
|
|
Version: 2.2.2
|
2008-08-27 01:56:32 +02:00
|
|
|
Release: 1
|
2010-02-18 16:42:56 +01:00
|
|
|
Source: %{name}-%{version}%{nano_extraver}.tar.bz2
|
2006-12-21 13:32:37 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-10-06 22:40:38 +02:00
|
|
|
PreReq: %install_info_prereq
|
|
|
|
|
2006-12-21 13:32:37 +01:00
|
|
|
%description
|
|
|
|
GNU nano is a small and friendly text editor. It aims to emulate the
|
|
|
|
Pico text editor while also offering a few enhancements.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Chris Allegretta <chrisa@asty.org>
|
|
|
|
David Lawrence Ramsey <pooka_regent@sluggy.net>
|
|
|
|
Jordi Mallach <jordi@sindominio.net>
|
|
|
|
Adam Rogoyski <rogoyski@cs.utexas.edu>
|
|
|
|
Robert Siemborski <rjs3@andrew.cmu.edu>
|
|
|
|
Rocco Corsi <rocco.corsi@sympatico.ca>
|
|
|
|
David Benbennick <dbenbenn@math.cornell.edu>
|
|
|
|
|
2010-10-06 22:40:38 +02:00
|
|
|
|
2010-02-18 16:42:56 +01:00
|
|
|
%lang_package
|
2006-12-21 13:32:37 +01:00
|
|
|
%prep
|
2010-10-06 22:40:38 +02:00
|
|
|
%setup -q -n %{name}-%{version}%{nano_extraver}
|
|
|
|
|
2006-12-21 13:32:37 +01:00
|
|
|
%build
|
2010-02-18 16:42:56 +01:00
|
|
|
%configure --disable-rpath --enable-utf8
|
|
|
|
%__make %{?_smp_mflags}
|
2006-12-21 13:32:37 +01:00
|
|
|
|
|
|
|
%install
|
2010-10-06 22:40:38 +02:00
|
|
|
%__make install DESTDIR=$RPM_BUILD_ROOT
|
2010-02-18 16:42:56 +01:00
|
|
|
%find_lang %{name} --with-man --all-name
|
2006-12-21 13:32:37 +01:00
|
|
|
|
2008-09-13 05:55:48 +02:00
|
|
|
%check
|
2010-02-18 16:42:56 +01:00
|
|
|
%__make check
|
2008-09-13 05:55:48 +02:00
|
|
|
|
2006-12-21 13:32:37 +01:00
|
|
|
%clean
|
2010-10-06 22:40:38 +02:00
|
|
|
%__rm -rf $RPM_BUILD_ROOT
|
2006-12-21 13:32:37 +01:00
|
|
|
|
2008-02-25 17:30:35 +01:00
|
|
|
%post
|
2010-10-06 22:40:38 +02:00
|
|
|
%install_info --info-dir=%_infodir %_infodir/%name.info.gz
|
2008-02-25 17:30:35 +01:00
|
|
|
|
|
|
|
%postun
|
2010-10-06 22:40:38 +02:00
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
2008-02-25 17:30:35 +01:00
|
|
|
|
2010-02-18 16:42:56 +01:00
|
|
|
%files
|
2006-12-21 13:32:37 +01:00
|
|
|
%defattr(-, root, root)
|
2010-02-18 16:42:56 +01:00
|
|
|
%doc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO UPGRADE
|
|
|
|
%dir %{_mandir}/fr
|
2010-10-06 22:40:38 +02:00
|
|
|
%{_mandir}/man?/*.*
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_infodir}/*.gz
|
2006-12-21 13:32:37 +01:00
|
|
|
%{_datadir}/nano
|
|
|
|
|
2010-02-18 16:42:56 +01:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2007-03-29 18:21:59 +02:00
|
|
|
%changelog
|