]> git.pld-linux.org Git - packages/nano.git/blob - nano.spec
- updated to 1.0.2.
[packages/nano.git] / nano.spec
1 Summary:        nano (Nano's ANOther editor)
2 Summary(pl):    nano - jeszcze jeden edytor
3 Name:           nano
4 Version:        1.0.2
5 Release:        1
6 License:        GPL
7 Group:          Applications/Editors
8 Group(de):      Applikationen/Editors
9 Group(pl):      Aplikacje/Edytory
10 Group(pt):      Aplicações/Editores
11 Source0:        http://www.nano-editor.org/dist/v1.0/%{name}-%{version}.tar.gz
12 URL:            http://www.nano-editor.org/
13 BuildRequires:  ncurses-devel >= 5.0
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 CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
26 %configure
27 %{__make}
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31
32 %{__make} install DESTDIR=$RPM_BUILD_ROOT
33
34 gzip -9nf README ChangeLog AUTHORS NEWS TODO
35
36 %find_lang %{name}
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files -f %{name}.lang
42 %defattr(644,root,root,755)
43 %doc *.gz
44 %attr(755,root,root) %{_bindir}/nano
45 %{_mandir}/man1/*
This page took 0.056237 seconds and 3 git commands to generate.