2024-01-06 00:17:02 +01:00
|
|
|
Name: jedit
|
2024-08-06 09:37:09 +02:00
|
|
|
Version: 5.7.0
|
2024-01-06 00:17:02 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Programmer's Text Editor
|
|
|
|
Group: Graphical Desktop/Applications/Development
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 00:17:03 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-08-06 09:37:09 +02:00
|
|
|
URL: https://www.jedit.org/
|
2024-01-06 00:17:03 +01:00
|
|
|
Source0: https://sourceforge.net/projects/jedit/files/jedit/%{version}/jedit-%{version}-noarch-1sao.tgz
|
2024-01-06 00:17:02 +01:00
|
|
|
Source1: jedit.desktop
|
|
|
|
Source2: jedit-script
|
2024-01-06 00:17:03 +01:00
|
|
|
Source3: jedit.props
|
|
|
|
Source4: jedit.sh
|
|
|
|
Source5: jeditbg.sh
|
2024-01-06 00:17:02 +01:00
|
|
|
License: GPL
|
2024-01-06 00:17:03 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: javapackages
|
2024-01-06 00:17:02 +01:00
|
|
|
|
|
|
|
%description
|
2024-01-06 00:17:03 +01:00
|
|
|
jEdit is a mature programmer's text editor with hundreds (counting the time developing plugins) of person-years of development behind it.
|
2024-01-06 00:17:02 +01:00
|
|
|
|
|
|
|
Some of jEdit's features include:
|
|
|
|
* Written in Java, so it runs on Mac OS X, OS/2, Unix, VMS and Windows.
|
|
|
|
* Built-in macro language; extensible plugin architecture. Dozens of macros and plugins available.
|
|
|
|
* Plugins can be downloaded and installed from within jEdit using the "plugin manager" feature.
|
|
|
|
* Auto indent, and syntax highlighting for more than 130 languages.
|
|
|
|
* Supports a large number of character encodings including UTF8 and Unicode.
|
|
|
|
* Folding for selectively hiding regions of text.
|
|
|
|
* Word wrap.
|
|
|
|
* Highly configurable and customizable.
|
|
|
|
* Every other feature, both basic and advanced, you would expect to find in a text editor.
|
|
|
|
See the Features page for a full list.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c %{name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-06 00:17:03 +01:00
|
|
|
install -d %{buildroot}%{_javadir}
|
|
|
|
cp -r usr/share/%{name}-%{version} %{buildroot}%{_javadir}/jedit
|
2024-01-06 00:17:02 +01:00
|
|
|
|
2024-01-06 00:17:03 +01:00
|
|
|
install -Dm755 %{SOURCE4} %{buildroot}%{_bindir}/jedit
|
|
|
|
install -Dm755 %{SOURCE5} %{buildroot}%{_bindir}/jeditbg
|
|
|
|
install -Dm644 %{SOURCE3} %{buildroot}%{_datadir}/jedit/default.props
|
|
|
|
install -Dm644 usr/share/%{name}-%{version}/doc/jedit.png \
|
|
|
|
%{buildroot}%{_datadir}/pixmaps/jedit.png
|
|
|
|
install -Dm644 %{SOURCE1} %{buildroot}%{_datadir}/applications/jedit.desktop
|
2024-01-06 00:17:02 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post
|
|
|
|
%{_bindir}/update-desktop-database -q %{_datadir}/applications
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%{_bindir}/update-desktop-database -q %{_datadir}/applications
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
|
|
%{_bindir}/gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
%posttrans
|
|
|
|
%{_bindir}/gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 00:17:03 +01:00
|
|
|
%{_bindir}/jedit
|
|
|
|
%{_bindir}/jeditbg
|
2024-01-06 00:17:02 +01:00
|
|
|
%{_datadir}/applications/jedit.desktop
|
2024-01-06 00:17:03 +01:00
|
|
|
%{_datadir}/pixmaps/jedit.png
|
|
|
|
%dir %{_datadir}/jedit
|
|
|
|
%{_datadir}/jedit/default.props
|
|
|
|
%dir %{_datadir}/java/jedit
|
|
|
|
%{_datadir}/java/jedit/*
|
|
|
|
%doc usr/doc/jedit-%{version}/COPYING.* usr/doc/jedit-%{version}/Apache.LICENSE.txt
|
2024-01-06 00:17:02 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-08-06 09:37:09 +02:00
|
|
|
* Tue Aug 06 2024 Automatic Build System <autodist@openmamba.org> 5.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 00:17:03 +01:00
|
|
|
* Sat Apr 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.6.0-1mamba
|
|
|
|
- update to 5.6.0
|
|
|
|
|
2024-01-06 00:17:02 +01:00
|
|
|
* Fri Jun 25 2010 gil <puntogil@libero.it> 4.3.2-1mamba
|
|
|
|
- update to 4.3.2
|
|
|
|
|
|
|
|
* Tue Mar 09 2010 gil <puntogil@libero.it> 4.3.1-1mamba
|
|
|
|
- update to 4.3.1
|
|
|
|
|
|
|
|
* Tue Jan 05 2010 gil <puntogil@libero.it> 4.3-2mamba
|
|
|
|
- added %{_datadir}/jedit/jars default plugins directory
|
|
|
|
|
|
|
|
* Tue Jan 05 2010 gil <puntogil@libero.it> 4.3-1mamba
|
|
|
|
- update to 4.3
|
|
|
|
|
|
|
|
* Thu Jul 23 2009 gil <puntogil@libero.it> 4.3pre17-2mamba
|
|
|
|
- rebuilt with system java-bsh2
|
|
|
|
|
|
|
|
* Tue Jul 14 2009 gil <puntogil@libero.it> 4.3pre17-1mamba
|
|
|
|
- package created by autospec
|