nano.spec.in 965 Bytes
Newer Older
1
%define name	@PACKAGE@
2
3
%define version	@VERSION@
%define release	1
4
5
6

Summary	: Pico editor clone with enhancements
Name		: %{name}
7
8
9
10
Version		: %{version}
Release		: %{release}
License		: GPL
Group		: Applications/Editors
David Lawrence Ramsey's avatar
David Lawrence Ramsey committed
11
URL		: http://www.nano-editor.org/
12
13
Source		: http://www.nano-editor.org/dist/v2.0/%{name}-%{version}.tar.gz
BuildRoot	: %{_tmppath}/%{name}-%{version}-root
David Lawrence Ramsey's avatar
David Lawrence Ramsey committed
14
BuildRequires	: autoconf, automake, gettext-devel, ncurses-devel
15
16

%description
17
18
GNU nano is a small and friendly text editor.  It aims to emulate the
Pico text editor while also offering a few enhancements.
19
20
21
22
23

%prep
%setup -q

%build
24
%configure --enable-all
25
make
26
27

%install
28
29
rm -rf %{buildroot}
make DESTDIR="%{buildroot}" install
30
31
32

%files
%defattr(-,root,root)
33
%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS TODO doc/faq.html doc/nanorc.sample
34
%{_bindir}/*
35
36
37
%{_mandir}/man*/*
%{_mandir}/fr/man*/*
%{_infodir}/nano.info*
38
%{_datadir}/locale/*/LC_MESSAGES/nano.mo
39
%{_datadir}/nano/*