nano.spec.in 1004 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
Version		: %{version}
Release		: %{release}
9
License		: GPLv3+
10
Group		: Applications/Editors
David Lawrence Ramsey's avatar
David Lawrence Ramsey committed
11
URL		: http://www.nano-editor.org/
12
Source		: http://www.nano-editor.org/dist/v2.3/%{name}-%{version}.tar.gz
13
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
25
make
26
27

%install
28
make DESTDIR="%{buildroot}" install
29
30
#ln -s nano %{buildroot}%{_bindir}/pico
rm -f %{buildroot}%{_infodir}/dir
31
32
33

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