commit 9a4586557bb8b0c8931de3d04c4822923946d61e
parent 02c48dc8a43da9767882d4f2d147be37f8df4049
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Thu, 26 Mar 2020 16:56:43 +0100
build: stop distributing a nano.spec file
We do not provide an RPM package. And distros like Fedora, Mageia,
and Suse have their own spec files -- they don't need ours. And in
case anyone would like to create their own RPM package from nano,
they can look at the spec files of those distros.
Diffstat:
3 files changed, 1 insertion(+), 54 deletions(-)
diff --git a/Makefile.am b/Makefile.am
@@ -7,6 +7,6 @@ SUBDIRS += syntax
endif
EXTRA_DIST = ChangeLog.1999-2006 ChangeLog.2007-2015 \
- IMPROVEMENTS README.GIT nano.spec
+ IMPROVEMENTS README.GIT
ACLOCAL_AMFLAGS = -I m4
diff --git a/configure.ac b/configure.ac
@@ -738,7 +738,6 @@ m4/Makefile
po/Makefile.in
src/Makefile
syntax/Makefile
-nano.spec
])
AC_OUTPUT
diff --git a/nano.spec.in b/nano.spec.in
@@ -1,52 +0,0 @@
-%define name @PACKAGE@
-%define version @VERSION@
-%define release 1
-
-Name : %{name}
-Version : %{version}
-Release : %{release}
-Summary : a user-friendly editor, a Pico clone with enhancements
-
-License : GPLv3+
-Group : Applications/Editors
-URL : https://nano-editor.org/
-Source : https://nano-editor.org/dist/latest/%{name}-%{version}.tar.gz
-
-BuildRoot : %{_tmppath}/%{name}-%{version}-root
-BuildRequires : autoconf, automake, gettext-devel, ncurses-devel, texinfo
-Requires(post) : info
-Requires(preun) : info
-
-%description
-GNU nano is a small and friendly text editor. It aims to emulate the
-Pico text editor while also offering several enhancements.
-
-%prep
-%setup -q
-
-%build
-%configure
-make
-
-%install
-make DESTDIR="%{buildroot}" install
-#ln -s nano %{buildroot}/%{_bindir}/pico
-rm -f %{buildroot}/%{_infodir}/dir
-
-%post
-/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
-
-%preun
-if [ $1 = 0 ] ; then
-/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
-fi
-
-%files
-%defattr(-,root,root)
-%doc AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO doc/faq.html doc/sample.nanorc
-%{_bindir}/*
-%{_docdir}/nano/*
-%{_mandir}/man*/*
-%{_infodir}/nano.info*
-%{_datadir}/locale/*/LC_MESSAGES/nano.mo
-%{_datadir}/nano/*