diff options
author | CoprDistGit <infra@openeuler.org> | 2024-07-25 11:00:01 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-07-25 11:00:01 +0000 |
commit | 808c739184ea684d25b02284b8191a30bbd0ef99 (patch) | |
tree | e8575f3643c01ee06eff910eb6ba799e8f06c527 | |
parent | 38de5779633193b3f3a2f6637e1244adf05ead46 (diff) |
automatic import of nanoopeneuler24.03_LTS
-rw-r--r-- | nano.spec | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -6,8 +6,9 @@ License: GPL-3.0-or-later URL: https://www.nano-editor.org Source0: https://www.nano-editor.org/dist/v8/%{name}-%{version}.tar.xz -BuildRequires: file-devel gettext-devel gcc ncurses-devel sed texinfo groff -Conflicts: filesystem < 3 +BuildRequires: file-devel gettext-devel gcc sed texinfo groff +BuildRequires: pkgconfig(ncursesw) +Conflicts: filesystem < 3 %description Nano is a tiny GNU editor @@ -18,9 +19,6 @@ Nano is a tiny GNU editor %autosetup -p1 %build -install -d build -cd build -%global _configure ../configure %configure %make_build @@ -29,12 +27,12 @@ sed -e 's/^#.*set speller.*$/set speller "hunspell"/' \ doc/sample.nanorc >> ./nanorc %install -%make_install -C build +%make_install rm -rf %{buildroot}%{_infodir}/dir rm -rf %{buildroot}%{_docdir}/nano/{nano,nano.1,nanorc.5,rnano.1}.html install -d %{buildroot}%{_sysconfdir} -install -m 0644 build/nanorc %{buildroot}%{_sysconfdir}/nanorc +install -m 0644 nanorc %{buildroot}%{_sysconfdir}/nanorc mv %{buildroot}%{_datadir}/nano/extra/* %{buildroot}%{_datadir}/nano rm -rf %{buildroot}%{_datadir}/nano/extra |