switch4g: completely re-writen
[tomato.git] / release / src / router / nano / nano.spec
blob117bbaea2f3a385eaa3356327cd872cc6950a89f
1 %define name nano
2 %define version 2.2.6
3 %define release 1
5 Summary : Pico editor clone with enhancements
6 Name : %{name}
7 Version : %{version}
8 Release : %{release}
9 License : GPL
10 Group : Applications/Editors
11 URL : http://www.nano-editor.org/
12 Source : http://www.nano-editor.org/dist/v2.0/%{name}-%{version}.tar.gz
13 BuildRoot : %{_tmppath}/%{name}-%{version}-root
14 BuildRequires : autoconf, automake, gettext-devel, ncurses-devel
16 %description
17 GNU nano is a small and friendly text editor. It aims to emulate the
18 Pico text editor while also offering a few enhancements.
20 %prep
21 %setup -q
23 %build
24 %configure --enable-all
25 make
27 %install
28 rm -rf %{buildroot}
29 make DESTDIR="%{buildroot}" install
31 %files
32 %defattr(-,root,root)
33 %doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS TODO doc/faq.html doc/nanorc.sample
34 %{_bindir}/*
35 %{_mandir}/man*/*
36 %{_mandir}/fr/man*/*
37 %{_infodir}/nano.info*
38 %{_datadir}/locale/*/LC_MESSAGES/nano.mo
39 %{_datadir}/nano/*