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