]> git.pld-linux.org Git - packages/nano.git/blob - nano.spec
- updated to 1.1.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.1.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.1/%{name}-%{version}.tar.gz
12 Patch0:         %{name}-ac_fixes.patch
13 URL:            http://www.nano-editor.org/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  ncurses-devel >= 5.0
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 nano (Nano's ANOther editor) is the editor formerly known as TIP (TIP
21 Isn't Pico). It aims to emulate Pico as closely as possible while also
22 offering a few enhancements.
23
24 %prep
25 %setup -q
26 %patch0 -p1
27
28 %build
29 aclocal
30 autoconf
31 automake -a -c
32 CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
33 %configure
34 %{__make}
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38
39 %{__make} install DESTDIR=$RPM_BUILD_ROOT
40
41 gzip -9nf README ChangeLog AUTHORS NEWS TODO
42
43 %find_lang %{name}
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files -f %{name}.lang
49 %defattr(644,root,root,755)
50 %doc *.gz
51 %attr(755,root,root) %{_bindir}/nano
52 %{_mandir}/man1/*
This page took 0.033515 seconds and 4 git commands to generate.