]> git.pld-linux.org Git - packages/nano.git/blame - nano.spec
- translated kloczkish into english
[packages/nano.git] / nano.spec
CommitLineData
73c55e77 1Summary: nano (Nano's ANOther editor)
2Name: nano
3Version: 0.8.9
4Release: 1
5License: GPL
6Group: Applications/Editors
7Group(pl): Aplikacje/Edytory
8Source0: http://www.asty.org/nano/dist/%{name}-%{version}.tar.gz
9URL: http://www.asty.org/nano/
10BuildRequires: ncurses-devel >= 5.0
11BuildRequires: gettext-devel
12BuildRoot: /tmp/%{name}-%{version}-root
13
14%description
15nano (Nano's ANOther editor) is the editor formerly known as TIP (TIP Isn't
16Pico). It aims to emulate Pico as closely as possible while also offering a
17few enhancements. %Prep
18
19%prep
20%setup -q
21
22%build
23gettextize --copy --force
24LDFLAGS="-s"
25CFLAGS="$RPM_OPT_FLAGS -I/usr/include/ncurses"
26export LDFLAGS CFLAGS
27%configure
26732ec3 28make
73c55e77 29
30%install
26732ec3 31rm -rf $RPM_BUILD_ROOT
73c55e77 32
33make install DESTDIR=$RPM_BUILD_ROOT
34
35gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
36 README ChangeLog AUTHORS NEWS TODO
37
38%find_lang %{name}
39
26732ec3 40%clean
41rm -rf $RPM_BUILD_ROOT
73c55e77 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.081978 seconds and 4 git commands to generate.