File xnedit.spec of Package xnedit

Name:           xnedit
Version:        kk
Release:        0
Summary:        Text editor, based on NEdit, with full unicode support
License:        GPL-2.0
Group:          Productivity/Text/Editors
Url:            https://www.unixwork.de/xnedit/
Source0:        %{name}-%{version}.tar.gz

BuildRequires:  openmotif-devel

%description
A fast and classic X11 text editor, based on NEdit, with full unicode support and antialiased text rendering

%prep
%setup -q -n %{name}-%{version}

%build
make %{?_smp_mflags} linux
make docs

%install
make %{?_smp_mflags} install DESTDIR=%{buildroot}
mkdir -p %{buildroot}%{_datadir}/pixmaps/
mv %{buildroot}%{_datadir}/icons/xnedit.png %{buildroot}%{_datadir}/pixmaps/xnedit.png

install -d -m 755 %{buildroot}%{_mandir}/man1
install -m 644 doc/xnedit.man %{buildroot}%{_mandir}/man1/xnedit.1x
install -m 644 doc/xnc.man %{buildroot}%{_mandir}/man1/xnc.1x

%files
%license LICENSE
%doc README.md
%doc ReleaseNotes
%{_bindir}/xnedit
%{_bindir}/xnc
%{_datadir}/applications/xnedit.desktop
%{_datadir}/pixmaps/xnedit.png
%{_mandir}/man1/xnedit.1x%{ext_man}
%{_mandir}/man1/xnc.1x%{ext_man}

%changelog
* Mon Sep 2 2019 Axiotis Michail
-Initial release of the xnedit editor
openSUSE Build Service is sponsored by