]> git.pld-linux.org Git - packages/nano.git/blob - nano.spec
- updated to 1.1.8 (bugfix version),
[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.8
5 Release:        1
6 License:        GPL
7 Group:          Applications/Editors
8 Source0:        http://www.nano-editor.org/dist/v1.1/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-ac_fixes.patch
10 Patch1:         %{name}-info.patch
11 URL:            http://www.nano-editor.org/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  ncurses-devel >= 5.0
15 BuildRequires:  texinfo
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 nano (Nano's ANOther editor) is the editor formerly known as TIP (TIP
20 Isn't Pico). It aims to emulate Pico as closely as possible while also
21 offering a few enhancements.
22
23 %description -l pl
24 nano to edytor wcze¶niej znany jako TIP (Tip to nIe Pico). Jego celem
25 jest emulowanie Pico tak dobrze jk to mo¿liwe, jednocze¶nie oferuj±c
26 kilka rozszerzeñ.
27
28 %prep
29 %setup -q
30 %patch0 -p1
31 %patch1 -p1
32
33 %build
34 rm -f missing m4/*
35 aclocal
36 autoconf
37 automake -a -c -f
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 %post
55 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
56
57 %postun
58 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
59
60 %files -f %{name}.lang
61 %defattr(644,root,root,755)
62 %doc *.gz
63 %attr(755,root,root) %{_bindir}/nano
64 %{_mandir}/man1/*
65 %{_infodir}/*info*
This page took 0.067608 seconds and 4 git commands to generate.