1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
Name: mcedit-editor Version: 0.2 Release: alt1 Group: System/Configuration/Other Summary: Set EDITOR environment variable to mcedit by default License: GPL BuildArch: noarch Requires: /usr/bin/mcedit Source0: mcedit-editor.sh Source1: mcedit-editor.csh %description Set EDITOR environment variable to mcedit by default %prep %install install -D -m 0755 %SOURCE0 %buildroot/%_sysconfdir/profile.d/mcedit-editor.sh install -D -m 0755 %SOURCE1 %buildroot/%_sysconfdir/profile.d/mcedit-editor.csh %files %config(noreplace) %_sysconfdir/profile.d/mcedit-editor.sh %config(noreplace) %_sysconfdir/profile.d/mcedit-editor.csh %changelog * Thu Jan 21 2021 Sergey V Turchin <zerg@altlinux.org> 0.2-alt1 - fix editor program * Wed Dec 16 2020 Sergey V Turchin <zerg@altlinux.org> 0.1-alt1 - initial build