Revision 609,
1.5 KB
checked in by inagaki, 14 years ago
(diff) |
updated: bluefish, nano
|
Rev | Line | |
---|
[521] | 1 | Summary: Pico editor clone with enhancements |
---|
| 2 | Name: nano |
---|
[609] | 3 | Version: 2.2.3 |
---|
[521] | 4 | Release: 1%{?_dist_release} |
---|
| 5 | License: GPL |
---|
| 6 | Group: Applications/Editors |
---|
| 7 | URL: http://www.nano-editor.org/ |
---|
| 8 | Source0: http://www.nano-editor.org/dist/v2.0/%{name}-%{version}.tar.gz |
---|
| 9 | |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 11 | BuildRequires: gettext |
---|
| 12 | BuildRequires: ncurses-devel |
---|
| 13 | Requires(post): /sbin/install-info |
---|
| 14 | Requires(preun): /sbin/install-info |
---|
| 15 | |
---|
| 16 | %description |
---|
| 17 | GNU nano is a small and friendly text editor. It aims to emulate the |
---|
| 18 | Pico text editor while also offering a few enhancements. |
---|
| 19 | |
---|
| 20 | %prep |
---|
| 21 | %setup -q |
---|
| 22 | |
---|
| 23 | %build |
---|
| 24 | %configure --enable-all |
---|
| 25 | make |
---|
| 26 | |
---|
| 27 | %install |
---|
| 28 | rm -rf %{buildroot} |
---|
| 29 | make DESTDIR="%{buildroot}" install |
---|
| 30 | |
---|
| 31 | rm -f $RPM_BUILD_ROOT%{_infodir}/dir |
---|
| 32 | |
---|
| 33 | %clean |
---|
| 34 | rm -rf %{buildroot} |
---|
| 35 | |
---|
| 36 | %post |
---|
| 37 | /sbin/install-info --info-dir=%{_infodir} %{_infodir}/nano.info.gz |
---|
| 38 | |
---|
| 39 | %preun |
---|
| 40 | if [ $1 = 0 ] ;then |
---|
| 41 | /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/nano.info.gz |
---|
| 42 | fi |
---|
| 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 |
---|
[609] | 56 | * Fri Mar 19 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.3-1 |
---|
| 57 | - new upstream release |
---|
| 58 | |
---|
[521] | 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.