source: projects/specs/trunk/n/nano/nano-vl.spec @ 609

Revision 609, 1.5 KB checked in by inagaki, 14 years ago (diff)

updated: bluefish, nano

Line 
1Summary: Pico editor clone with enhancements
2Name: nano
3Version: 2.2.3
4Release: 1%{?_dist_release}
5License: GPL
6Group: Applications/Editors
7URL: http://www.nano-editor.org/
8Source0: http://www.nano-editor.org/dist/v2.0/%{name}-%{version}.tar.gz
9
10BuildRoot: %{_tmppath}/%{name}-%{version}-root
11BuildRequires: gettext
12BuildRequires: ncurses-devel
13Requires(post): /sbin/install-info
14Requires(preun): /sbin/install-info
15
16%description
17GNU nano is a small and friendly text editor.  It aims to emulate the
18Pico text editor while also offering a few enhancements.
19
20%prep
21%setup -q
22
23%build
24%configure --enable-all
25make
26
27%install
28rm -rf %{buildroot}
29make DESTDIR="%{buildroot}" install
30
31rm -f $RPM_BUILD_ROOT%{_infodir}/dir
32
33%clean
34rm -rf %{buildroot}
35
36%post
37/sbin/install-info --info-dir=%{_infodir} %{_infodir}/nano.info.gz
38
39%preun
40if [ $1 = 0 ] ;then
41    /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/nano.info.gz
42fi
43
44%files
45%defattr(-,root,root)
46%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS TODO
47%doc doc/faq.html doc/nanorc.sample
48%{_bindir}/*
49%{_mandir}/man*/*
50%{_mandir}/fr/man*/*
51%{_infodir}/nano.info*
52%{_datadir}/locale/*/LC_MESSAGES/nano.mo
53%{_datadir}/nano/*
54
55%changelog
56* Fri Mar 19 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.3-1
57- new upstream release
58
59* Fri Jan  1 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.1-1
60- new upstream release
61- added %post, %preun section
62
63* Fri Mar 20 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.9-1
64- Initial build for Vine Linux.
Note: See TracBrowser for help on using the repository browser.