summaryrefslogtreecommitdiff
path: root/nano.spec
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2010-11-22 11:34:29 +0000
committer <>2013-04-03 16:08:29 +0000
commit8b74abeb02c01ddc768c465a826360cf33cec063 (patch)
tree8047ac5b4a29496a9417d019641156e9cb1f9797 /nano.spec
downloadnano-tarball-8b74abeb02c01ddc768c465a826360cf33cec063.tar.gz
Imported from /home/lorry/working-area/delta_nano-tarball/nano-2.2.6.tar.gz.nano-2.2.6baserock/morph
Diffstat (limited to 'nano.spec')
-rw-r--r--nano.spec39
1 files changed, 39 insertions, 0 deletions
diff --git a/nano.spec b/nano.spec
new file mode 100644
index 0000000..117bbae
--- /dev/null
+++ b/nano.spec
@@ -0,0 +1,39 @@
+%define name nano
+%define version 2.2.6
+%define release 1
+
+Summary : Pico editor clone with enhancements
+Name : %{name}
+Version : %{version}
+Release : %{release}
+License : GPL
+Group : Applications/Editors
+URL : http://www.nano-editor.org/
+Source : http://www.nano-editor.org/dist/v2.0/%{name}-%{version}.tar.gz
+BuildRoot : %{_tmppath}/%{name}-%{version}-root
+BuildRequires : autoconf, automake, gettext-devel, ncurses-devel
+
+%description
+GNU nano is a small and friendly text editor. It aims to emulate the
+Pico text editor while also offering a few enhancements.
+
+%prep
+%setup -q
+
+%build
+%configure --enable-all
+make
+
+%install
+rm -rf %{buildroot}
+make DESTDIR="%{buildroot}" install
+
+%files
+%defattr(-,root,root)
+%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS TODO doc/faq.html doc/nanorc.sample
+%{_bindir}/*
+%{_mandir}/man*/*
+%{_mandir}/fr/man*/*
+%{_infodir}/nano.info*
+%{_datadir}/locale/*/LC_MESSAGES/nano.mo
+%{_datadir}/nano/*