]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - nano/nano.nm
suricata: Update to 4.0.6
[ipfire-3.x.git] / nano / nano.nm
index 8a69aad69d0aea86e9a0d09ecc45bf9b82f06459..d8edbee40515d4007aee9ffd4a8901ccecd16589 100644 (file)
@@ -4,8 +4,8 @@
 ###############################################################################
 
 name       = nano
-version    = 2.3.0
-release    = 2
+version    = 3.2
+release    = 1
 
 groups     = Application/Editors
 url        = http://www.nano-editor.org/
@@ -16,7 +16,7 @@ description
        GNU nano is a small and friendly text editor.
 end
 
-source_dl  =
+source_dl  = http://www.nano-editor.org/dist/v3/
 
 build
        requires
@@ -25,19 +25,17 @@ build
        end
 
        configure_options += \
-               --sysconfdir=/etc/nano \
                --enable-color \
                --enable-multibuffer \
                --enable-nanorc
-
-       install_cmds
-               install -v -m644 -D doc/nanorc.sample \
-                       %{BUILDROOT}/etc/nano/nanorc.sample
-       end
 end
 
 packages
        package %{name}
+               configfiles
+                       %{sysconfdir}/nanorc
+               end
+       end
 
        package %{name}-debuginfo
                template DEBUGINFO