]> git.pld-linux.org Git - packages/nano.git/blob - nano.spec
- updated (by autoup) to 1.0.0
[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.0.0
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/%{name}-%{version}.tar.gz
12 URL:            http://www.nano-editor.org/
13 BuildRequires:  ncurses-devel >= 5.0
14 BuildRequires:  gettext-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 nano (Nano's ANOther editor) is the editor formerly known as TIP (TIP
19 Isn't Pico). It aims to emulate Pico as closely as possible while also
20 offering a few enhancements.
21
22 %prep
23 %setup -q
24
25 %build
26 gettextize --copy --force
27 CFLAGS="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS} -I/usr/include/ncurses"
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 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.184611 seconds and 4 git commands to generate.