source: projects/specs/branches/6/n/nano/nano-vl.spec @ 2042

Revision 2042, 1.6 KB checked in by inagaki, 14 years ago (diff)

update: bluefish, nano

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