]> git.pld-linux.org Git - packages/nano.git/blob - nano.spec
- uapdated to 0.9.22.
[packages/nano.git] / nano.spec
1 Summary:        nano (Nano's ANOther editor)
2 Name:           nano
3 Version:        0.9.22
4 Release:        1
5 License:        GPL
6 Group:          Applications/Editors
7 Group(de):      Applikationen/Editors
8 Group(pl):      Aplikacje/Edytory
9 Group(pt):      Aplicações/Editores
10 Source0:        ftp://ftp.asty.org/pub/nano/%{name}-%{version}.tar.gz
11 URL:            http://www.asty.org/nano/
12 BuildRequires:  ncurses-devel >= 5.0
13 BuildRequires:  gettext-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 nano (Nano's ANOther editor) is the editor formerly known as TIP (TIP
18 Isn't Pico). It aims to emulate Pico as closely as possible while also
19 offering a few enhancements.
20
21 %prep
22 %setup -q
23
24 %build
25 gettextize --copy --force
26 CFLAGS="$RPM_OPT_FLAGS -I/usr/include/ncurses"
27 %configure
28 %{__make}
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32
33 %{__make} install DESTDIR=$RPM_BUILD_ROOT
34
35 gzip -9nf README ChangeLog AUTHORS NEWS TODO
36
37 %find_lang %{name}
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files -f %{name}.lang
43 %defattr(644,root,root,755)
44 %doc *.gz
45 %attr(755,root,root) %{_bindir}/nano
46 %{_mandir}/man1/*
This page took 0.028996 seconds and 4 git commands to generate.