]> git.pld-linux.org Git - packages/nano.git/blob - nano.spec
- updated to 1.1.4 (added color syntax support and bug fixes).
[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.4
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 %description -l pl
25 nano to edytor wcze¶niej znany jako TIP (Tip to nIe Pico). Jego celem
26 jest emulowanie Pico tak dobrze jk to mo¿liwe, jednocze¶nie oferuj±c
27 kilka rozszerzeñ.
28
29 %prep
30 %setup -q
31 %patch0 -p1
32
33 %build
34 rm -f missing m4/*
35 aclocal
36 autoconf
37 automake -a -c
38 CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
39 %configure
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install DESTDIR=$RPM_BUILD_ROOT
46
47 gzip -9nf README ChangeLog AUTHORS NEWS TODO
48
49 %find_lang %{name}
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files -f %{name}.lang
55 %defattr(644,root,root,755)
56 %doc *.gz
57 %attr(755,root,root) %{_bindir}/nano
58 %{_mandir}/man1/*
This page took 0.037267 seconds and 4 git commands to generate.