]> git.pld-linux.org Git - packages/nano.git/blob - nano.spec
- updated to 0.9.15.
[packages/nano.git] / nano.spec
1 Summary:        nano (Nano's ANOther editor)
2 Name:           nano
3 Version:        0.9.15
4 Release:        1
5 License:        GPL
6 Group:          Applications/Editors
7 Group(pt):      X11/Aplicações/Editores
8 Group(pl):      Aplikacje/Edytory
9 Source0:        ftp://ftp.asty.org/pub/nano/%{name}-%{version}.tar.gz
10 URL:            http://www.asty.org/nano/
11 BuildRequires:  ncurses-devel >= 5.0
12 BuildRequires:  gettext-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 nano (Nano's ANOther editor) is the editor formerly known as TIP (TIP
17 Isn't Pico). It aims to emulate Pico as closely as possible while also
18 offering a few enhancements.
19
20 %prep
21 %setup -q
22
23 %build
24 gettextize --copy --force
25 LDFLAGS="-s"
26 CFLAGS="$RPM_OPT_FLAGS -I/usr/include/ncurses"
27 export LDFLAGS CFLAGS
28 %configure
29 %{__make}
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33
34 %{__make} install DESTDIR=$RPM_BUILD_ROOT
35
36 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
37         README ChangeLog AUTHORS NEWS TODO
38
39 %find_lang %{name}
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files -f %{name}.lang
45 %defattr(644,root,root,755)
46 %doc *.gz
47 %attr(755,root,root) %{_bindir}/nano
48 %{_mandir}/man1/*
This page took 0.03334 seconds and 4 git commands to generate.