nano.spec.in 1.08 KB
Newer Older
1
2
3
4
5
6
%define name	@PACKAGE@
%define ver	@VERSION@
%define rel	1

Summary	: Pico editor clone with enhancements
Name		: %{name}
7
8
Version		: %{ver}
Release		: %{rel}
9
10
11
Copyright	: GPL
Group		: Console/Editors
URL		: http://www.nano-editor.org
12
Source		: http://www.nano-editor.org/dist/v1.3/%{name}-%{ver}.tar.gz
13
14
15
16
17
18
19
20
21
22
23
BuildRoot	: /var/tmp/%{name}-buildroot
Requires	: ncurses

%description
GNU nano is a small and friendly text editor.  It aims to emulate the Pico
text editor while also offering a few enhancements.

%prep
%setup -q

%build
24
%configure --enable-all
25
26
27
28
29
30
31
32
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"

%install
rm -rf "$RPM_BUILD_ROOT"
make DESTDIR="$RPM_BUILD_ROOT" install

%files
%defattr(-,root,root)
33
%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS TODO doc/faq.html doc/nanorc.sample
34
%{_bindir}/*
35
36
37
38
39
40
41
42
43
44
%{_mandir}/*/*
%{_datadir}/locale/*/LC_MESSAGES/nano.mo
%{_infodir}/nano.info*

%changelog
* Sat Mar 30 2002 Chris Allegretta <chrisa@asty.org>
- Accepted into main distribution
- Added Packager and URL tage from original spec file.
* Tue Mar 06 2002 Brett Pemberton <generica@email.com>
- Initial spec-file