joe/joe.spec

71 lines
1.8 KiB
RPMSpec
Raw Normal View History

Name: joe
Version: 4.6
Release: 1mamba
Summary: Joe's own editor
Group: Applications/Text
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://joe-editor.sourceforge.io/
Source: https://sourceforge.net/projects/joe-editor/files/JOE%20sources/joe-%{version}/joe-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libncurses-devel
## AUTOBUILDREQ-END
%description
JOE is a full featured terminal-based screen editor which is distributed under the GNU General Public License (GPL). JOE has been around since 1988 and comes standard with many Linux distributions.
%debug_package
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%dir %{_sysconfdir}/joe
%{_sysconfdir}/joe/*
%{_bindir}/jmacs
%{_bindir}/joe
%{_bindir}/jpico
%{_bindir}/jstar
%{_bindir}/rjoe
%{_datadir}/applications/jmacs.desktop
%{_datadir}/applications/joe.desktop
%{_datadir}/applications/jpico.desktop
%{_datadir}/applications/jstar.desktop
%dir %{_datadir}/joe
%dir %{_datadir}/joe/charmaps
%{_datadir}/joe/charmaps/*
%dir %{_datadir}/joe/colors
%{_datadir}/joe/colors/*
%dir %{_datadir}/joe/lang
%lang(de) %{_datadir}/joe/lang/de.po
%lang(fr) %{_datadir}/joe/lang/fr.po
%lang(ru) %{_datadir}/joe/lang/ru.po
%lang(uk) %{_datadir}/joe/lang/uk.po
%lang(zh_TW) %{_datadir}/joe/lang/zh_TW.po
%dir %{_datadir}/joe/syntax
%{_datadir}/joe/syntax/*
%dir %{_docdir}/joe
%{_docdir}/joe/*
%{_mandir}/man1/joe.1*
%lang(ru) %{_mandir}/ru/man1/joe.1*
%doc COPYING
%changelog
* Tue Nov 22 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 4.6-1mamba
- package created using the webbuild interface