Blame SPECS/nano.spec

958069
Summary:         A small text editor
958069
Name:            nano
958069
Version:         2.3.1
f4c59c
Release:         10%{?dist}
958069
License:         GPLv3+
958069
Group:           Applications/Editors
958069
URL:             http://www.nano-editor.org
958069
Source:          http://www.nano-editor.org/dist/v2.3/%{name}-%{version}.tar.gz
958069
Source2:         nanorc
958069
Patch0:          nano-2.3.0-warnings.patch
958069
958069
# http://lists.gnu.org/archive/html/nano-devel/2010-08/msg00004.html
958069
Patch1:          0001-check-stat-s-result-and-avoid-calling-stat-on-a-NULL.patch
958069
958069
# http://lists.gnu.org/archive/html/nano-devel/2010-08/msg00005.html
958069
Patch2:          0002-use-futimens-if-available-instead-of-utime.patch
958069
958069
# http://thread.gmane.org/gmane.editors.nano.devel/3081
958069
Patch3:          0003-Document-the-poslog-P-option-in-nano.1-man-page.patch
958069
958069
BuildRoot:       %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
958069
BuildRequires:   automake
958069
BuildRequires:   gettext-devel
958069
BuildRequires:   groff
958069
BuildRequires:   ncurses-devel
958069
BuildRequires:   sed
958069
Conflicts:       filesystem < 3
958069
Requires(post):  /sbin/install-info
958069
Requires(preun): /sbin/install-info
958069
958069
%description
958069
GNU nano is a small and friendly text editor.
958069
958069
%prep
958069
%setup -q
958069
%patch0 -p1
958069
%patch1 -p1
958069
%patch2 -p1
958069
%patch3 -p1
958069
958069
for f in doc/man/fr/{nano.1,nanorc.5,rnano.1} ; do
958069
  iconv -f iso-8859-1 -t utf-8 -o $f.tmp $f && mv $f.tmp $f
958069
  touch $f.html
958069
done
958069
958069
# needed by 0002-use-futimens-if-available-instead-of-utime.patch and bz #926195
958069
autoreconf -fiv
958069
958069
%build
958069
%configure
958069
make %{?_smp_mflags}
958069
958069
%install
958069
make DESTDIR="%{buildroot}" install
958069
#ln -s nano %{buildroot}%{_bindir}/pico
958069
rm -f %{buildroot}%{_infodir}/dir
958069
cp %{SOURCE2} ./nanorc
958069
958069
# disable line wrapping by default and set hunspell as the default spell-checker
958069
sed -e 's/# set nowrap/set nowrap/' \
958069
    -e 's/^#.*set speller.*$/set speller "hunspell"/' \
958069
    doc/nanorc.sample >> ./nanorc
958069
mkdir -p %{buildroot}%{_sysconfdir}
958069
install -m 644 ./nanorc %{buildroot}%{_sysconfdir}/nanorc
958069
958069
%find_lang %{name}
958069
958069
%post
958069
if [ -f %{_infodir}/%{name}.info.gz ]; then
958069
  /sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir
958069
fi
958069
exit 0
958069
958069
%preun
958069
if [ $1 -eq 0 ]; then
958069
  if [ -f %{_infodir}/%{name}.info.gz ]; then
958069
    /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir
958069
  fi
958069
fi
958069
exit 0
958069
958069
%files -f %{name}.lang
958069
%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS TODO
958069
%doc doc/nanorc.sample
958069
%doc doc/faq.html
958069
%{_bindir}/*
958069
%config(noreplace) %{_sysconfdir}/nanorc
958069
%{_mandir}/man*/*
958069
%lang(fr) %{_mandir}/fr/man*/*
958069
%{_infodir}/nano.info*
958069
%{_datadir}/nano
958069
958069
%changelog
f4c59c
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2.3.1-10
f4c59c
- Mass rebuild 2014-01-24
f4c59c
f4c59c
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.3.1-9
f4c59c
- Mass rebuild 2013-12-27
f4c59c
958069
* Fri Aug 09 2013 Kamil Dudka <kdudka@redhat.com> - 2.3.1-8
958069
- document the --poslog (-P) option in nano.1 man page
958069
958069
* Thu Apr 04 2013 Kamil Dudka <kdudka@redhat.com> - 2.3.1-7
958069
- run autoreconf in %%prep to support aarch64 with autoconf 2.69+ (#926195)
958069
958069
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.1-6
958069
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
958069
958069
* Tue Aug 28 2012 Kamil Dudka <kdudka@redhat.com> - 2.3.1-5
958069
- fix specfile issues reported by the fedora-review script
958069
958069
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.1-4
958069
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
958069
958069
* Wed Jan 25 2012 Harald Hoyer <harald@redhat.com> 2.3.1-3
958069
- install everything in /usr
958069
  https://fedoraproject.org/wiki/Features/UsrMove
958069
958069
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.1-2
958069
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
958069
958069
* Wed May 11 2011 Kamil Dudka <kdudka@redhat.com> - 2.3.1-1
958069
- new upstream release
958069
958069
* Thu Mar 03 2011 Kamil Dudka <kdudka@redhat.com> - 2.3.0-1
958069
- new upstream release (#680736)
958069
- use hunspell as default spell-checker (#681000)
958069
- fix for http://thread.gmane.org/gmane.editors.nano.devel/2911
958069
958069
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.6-3
958069
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
958069
958069
* Sun Nov 28 2010 Kamil Dudka <kdudka@redhat.com> - 2.2.6-2
958069
- fix bugs introduced by patches added in 2.2.6-1 (#657875)
958069
958069
* Mon Nov 22 2010 Kamil Dudka <kdudka@redhat.com> - 2.2.6-1
958069
- new upstream release (#655978)
958069
- increase code robustness (patches related to CVE-2010-1160, CVE-2010-1161)
958069
958069
* Sat Aug 07 2010 Kamil Dudka <kdudka@redhat.com> - 2.2.5-1
958069
- new upstream release (#621857)
958069
958069
* Thu Apr 15 2010 Kamil Dudka <kdudka@redhat.com> - 2.2.4-1
958069
- new upstream release
958069
- CVE-2010-1160, CVE-2010-1161 (#582739)
958069
958069
* Wed Mar 03 2010 Kamil Dudka <kdudka@redhat.com> - 2.2.3-1
958069
- new upstream release
958069
958069
* Fri Jan 29 2010 Kamil Dudka <kdudka@redhat.com> - 2.2.2-1
958069
- new upstream release
958069
958069
* Sun Dec 27 2009 Kamil Dudka <kdudka@redhat.com> - 2.2.1-1
958069
- new upstream release
958069
958069
* Tue Dec 01 2009 Kamil Dudka <kdudka@redhat.com> - 2.2.0-1
958069
- new upstream release
958069
958069
* Wed Nov 25 2009 Kamil Dudka <kdudka@redhat.com> - 2.0.9-7
958069
- sanitize specfile according to Fedora Packaging Guidelines 
958069
958069
* Thu Oct 15 2009 Kamil Dudka <kdudka@redhat.com> - 2.0.9-6
958069
- use nanorc.sample as base of /etc/nanorc
958069
958069
* Tue Oct 13 2009 Kamil Dudka <kdudka@redhat.com> - 2.0.9-5
958069
- fix build failure of the last build
958069
958069
* Tue Oct 13 2009 Kamil Dudka <kdudka@redhat.com> - 2.0.9-4
958069
- ship a system-wide configuration file along with the nano package
958069
- disable line wrapping by default (#528359)
958069
958069
* Mon Sep 21 2009 Kamil Dudka <kdudka@redhat.com> - 2.0.9-3
958069
- suppress warnings for __attribute__((warn_unused_result)) (#523951)
958069
958069
* Fri Sep 18 2009 Kamil Dudka <kdudka@redhat.com> - 2.0.9-2
958069
- install binaries to /bin (#168340)
958069
958069
* Fri Sep 18 2009 Kamil Dudka <kdudka@redhat.com> - 2.0.9-1
958069
- new upstream release
958069
- dropped patch no longer needed (possible change in behavior though negligible)
958069
- fixed broken HTML doc in FR locales (#523951)
958069
958069
* Thu Sep 17 2009 Kamil Dudka <kdudka@redhat.com> - 2.0.6-8
958069
- do process install-info only without --excludedocs(#515943)
958069
958069
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.6-7
958069
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
958069
958069
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.6-6
958069
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
958069
958069
* Fri Apr  4 2008 Ville Skyttä <ville.skytta at iki.fi> - 2.0.6-5
958069
- Mark localized man pages with %%lang, fix French nanorc(5) (#322271).
958069
958069
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.0.6-4
958069
- Autorebuild for GCC 4.3
958069
958069
* Fri Dec 07 2007 Jason L Tibbitts III <tibbs@math.uh.edu> - 2.0.6-3
958069
- Pass rnano.1 through iconv to silence the final rpmlint complaint
958069
  and finish up the merge review.
958069
958069
* Wed Aug 22 2007 David Woodhouse <dwmw2@infradead.org> - 2.0.6-2
958069
- Update licence
958069
- Fix open(O_CREAT) calls without mode
958069
958069
* Sun Jun 03 2007 Florian La Roche <laroche@redhat.com> - 2.0.6-1
958069
- update to 2.0.6
958069
958069
* Mon Feb 05 2007 Florian La Roche <laroche@redhat.com> - 2.0.3-1
958069
- update to 2.0.3
958069
- update spec file syntax, fix scripts rh#220527
958069
958069
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.3.12-1.1
958069
- rebuild
958069
958069
* Mon Jul 10 2006 David Woodhouse <dwmw2@redhat.com> - 1.3.12-1
958069
- Update to 1.3.12
958069
958069
* Tue May 16 2006 David Woodhouse <dwmw2@redhat.com> - 1.3.11-1
958069
- Update to 1.3.11
958069
- BuildRequires: groff (#191946)
958069
958069
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.3.8-1.2.1
958069
- bump again for double-long bug on ppc(64)
958069
958069
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.3.8-1.2
958069
- rebuilt for new gcc4.1 snapshot and glibc changes
958069
958069
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
958069
- rebuilt
958069
958069
* Mon Sep 5 2005 David Woodhouse <dwmw2@redhat.com> 1.3.8-1
958069
- 1.3.8
958069
958069
* Wed Mar 2 2005 David Woodhouse <dwmw2@redhat.com> 1.3.5-0.20050302
958069
- Update to post-1.3.5 CVS tree to get UTF-8 support.
958069
958069
* Wed Aug 04 2004 David Woodhouse <dwmw2@redhat.com> 1.2.4-1
958069
- 1.2.4
958069
958069
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
958069
- rebuilt
958069
958069
* Fri Apr 02 2004 Florian La Roche <Florian.LaRoche@redhat.de>
958069
- 1.2.3
958069
958069
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
958069
- rebuilt
958069
958069
* Mon Aug 11 2003 Bill Nottingham <notting@redhat.com> 1.2.1-4
958069
- build in different environment
958069
958069
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
958069
- rebuilt
958069
958069
* Tue May  6 2003 Bill Nottingham <notting@redhat.com> 1.2.1-2
958069
- description tweaks
958069
958069
* Mon May  5 2003 Bill Nottingham <notting@redhat.com> 1.2.1-1
958069
- initial build, tweak upstream spec file