]> git.pld-linux.org Git - packages/nano.git/blame - nano.spec
- updated gettext BR
[packages/nano.git] / nano.spec
CommitLineData
c702279a 1Summary: nano - Nano's ANOther editor, an enhanced free Pico clone
253774de 2Summary(pl.UTF-8): nano - jeszcze jeden edytor, darmowy, rozbudowany klon Pico
73c55e77 3Name: nano
593198c5 4Version: 2.2.6
62b517ee 5Release: 5
65d41850 6License: GPL v3+
73c55e77 7Group: Applications/Editors
fb58fead 8Source0: http://www.nano-editor.org/dist/v2.2/%{name}-%{version}.tar.gz
593198c5 9# Source0-md5: 03233ae480689a008eb98feb1b599807
663d5965 10Source1: %{name}.desktop
8aba7ac1 11Source2: %{name}.png
12Patch0: %{name}-info.patch
388a4e07 13Patch1: %{name}-ncurses-ncurses.h.patch
9d8efbf5 14URL: http://www.nano-editor.org/
70f31c9e 15BuildRequires: autoconf
16BuildRequires: automake
c97a9cd3 17BuildRequires: gettext-tools
d668e20e 18BuildRequires: glib2-devel
95672197 19BuildRequires: groff
73c55e77 20BuildRequires: ncurses-devel >= 5.0
c0a89782 21BuildRequires: texinfo
dc38c714 22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
73c55e77 23
24%description
c702279a 25nano (Nano's ANOther editor) is a small, free and friendly editor
26which aims to replace Pico, the default editor included in the
27non-free Pine package. Rather than just copying Pico's look and feel,
28nano also implements some missing (or disabled by default) features in
29Pico, such as "search and replace" and "go to line number".
73c55e77 30
e1d07199
JR
31%description -l pl.UTF-8
32nano to mały, otwarty i przyjazny edytor, którego celem jest
33zastąpienie Pico, standardowego edytora zawartego w niewolnym pakiecie
34Pine. Oprócz wyglądu oraz interfejsu, nano posiada kilka brakujących
35(lub wyłączonych standardowo) w Pico funkcji, takich jak: "znajdź i
36zastąp" lub "idź do wiersza numer".
5617a770 37
73c55e77 38%prep
39%setup -q
c702279a 40%patch0 -p1
41%patch1 -p2
1e1d3339 42
73c55e77 43%build
cb5d3d12 44%{__gettextize}
c702279a 45%{__aclocal} -I m4
ed992bca 46%{__autoconf}
388a4e07 47%{__autoheader}
ed992bca 48%{__automake}
c702279a 49%configure \
50 --enable-all
9605f910 51%{__make}
73c55e77 52
53%install
26732ec3 54rm -rf $RPM_BUILD_ROOT
d936a6d9 55install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
73c55e77 56
bed1b070
PG
57%{__make} install \
58 DESTDIR=$RPM_BUILD_ROOT
73c55e77 59
d936a6d9 60install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
8aba7ac1 61install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
663d5965 62
73c55e77 63%find_lang %{name}
64
26732ec3 65%clean
66rm -rf $RPM_BUILD_ROOT
73c55e77 67
6199d524
ER
68%post -p /sbin/postshell
69-/usr/sbin/fix-info-dir -c %{_infodir}
c0a89782 70
6199d524
ER
71%postun -p /sbin/postshell
72-/usr/sbin/fix-info-dir -c %{_infodir}
c0a89782 73
73c55e77 74%files -f %{name}.lang
75%defattr(644,root,root,755)
c702279a 76%doc AUTHORS BUGS ChangeLog NEWS README THANKS TODO UPGRADE doc/nanorc.sample doc/faq.html
73c55e77 77%attr(755,root,root) %{_bindir}/nano
bf60c6fd 78%attr(755,root,root) %{_bindir}/rnano
d936a6d9 79%{_desktopdir}/nano.desktop
6447cc1f 80%{_mandir}/man[15]/*
c702279a 81%lang(fr) %{_mandir}/fr/man[15]/*
c0a89782 82%{_infodir}/*info*
65d41850 83%{_pixmapsdir}/nano.png
c702279a 84%{_datadir}/nano
This page took 0.043701 seconds and 4 git commands to generate.