]> git.pld-linux.org Git - packages/nano.git/blob - nano.spec
- removed all Group fields translations (oure rpm now can handle translating
[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.6
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 URL:            http://www.nano-editor.org/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
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 %description -l pl
22 nano to edytor wcze¶niej znany jako TIP (Tip to nIe Pico). Jego celem
23 jest emulowanie Pico tak dobrze jk to mo¿liwe, jednocze¶nie oferuj±c
24 kilka rozszerzeñ.
25
26 %prep
27 %setup -q
28 %patch0 -p1
29
30 %build
31 rm -f missing m4/*
32 aclocal
33 autoconf
34 automake -a -c
35 CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
36 %configure
37 %{__make}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41
42 %{__make} install DESTDIR=$RPM_BUILD_ROOT
43
44 gzip -9nf README ChangeLog AUTHORS NEWS TODO
45
46 %find_lang %{name}
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files -f %{name}.lang
52 %defattr(644,root,root,755)
53 %doc *.gz
54 %attr(755,root,root) %{_bindir}/nano
55 %{_mandir}/man1/*
This page took 0.047905 seconds and 3 git commands to generate.