1 Name: xnedit
2 Summary: A Motif based GUI text editor
3 Version: 1.6.0
4 Release: 1%{?dist}
5 Source: https://unixwork.de/downloads/files/xnedit/xnedit-%{version}.tar.gz
6 URL: https://unixwork.de/xnedit/
7 License: GPLv2
8 Group: Applications/Editors
9 BuildRequires: motif-devel
10 BuildRequires: pkgconf
11 BuildRequires: desktop-file-utils
12 Requires: motif
13
14 %description
15 A fast and classic X11 text editor, based on NEdit, with full unicode support and antialiased text rendering.
16
17 %prep
18 %setup -q
19
20 %build
21 make linux C_OPT_FLAGS="$RPM_OPT_FLAGS"
22
23 %install
24 rm -rf %{buildroot}
25 make install DESTDIR=%{buildroot}
26
27 %files
28 %{_bindir}/xnedit
29 %{_bindir}/xnc
30 %{_datadir}/icons/xnedit.png
31 %{_datadir}/applications/xnedit.desktop
32
33 %changelog
34 * Wed Nov 06 2024 Olaf Wintermann <olaf.wintermann@gmail.com>
35 - first version
36