2024-06-14 16:04:58 +00:00
|
|
|
#
|
|
|
|
# spec file for package rsyntaxtextarea
|
|
|
|
#
|
|
|
|
# Copyright (c) 2024 SUSE LLC
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: rsyntaxtextarea
|
|
|
|
Version: 3.4.0
|
|
|
|
Release: 0
|
|
|
|
Summary: A syntax highlighting, code folding text editor for Java Swing applications
|
|
|
|
License: BSD-3-Clause
|
|
|
|
Group: Development/Libraries/Java
|
|
|
|
URL: https://github.com/bobbylight/RSyntaxTextArea
|
|
|
|
Source0: %{url}/archive/refs/tags/%{version}.tar.gz
|
|
|
|
Source1: https://repo1.maven.org/maven2/com/fifesoft/%{name}/%{version}/%{name}-%{version}.pom
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: maven-local
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
RSyntaxTextArea is a customizable, syntax highlighting text component for Java
|
|
|
|
Swing applications. Out of the box, it supports syntax highlighting for 50+
|
|
|
|
programming languages, code folding, search and replace, and has add-on
|
|
|
|
libraries for code completion and spell checking. Syntax highlighting for
|
|
|
|
additional languages can be added via tools such as JFlex.
|
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
Summary: API documentation for %{name}
|
|
|
|
Group: Documentation/HTML
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
API documentation for %{name}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n RSyntaxTextArea-%{version}
|
|
|
|
|
|
|
|
chmod 0644 *.md
|
|
|
|
|
|
|
|
cp %{SOURCE1} RSyntaxTextArea/pom.xml
|
|
|
|
|
|
|
|
%{mvn_file} : %{name}
|
|
|
|
|
|
|
|
%build
|
2025-03-27 21:48:42 +00:00
|
|
|
pushd RSyntaxTextArea
|
|
|
|
%{mvn_build} -f
|
|
|
|
popd
|
2024-06-14 16:04:58 +00:00
|
|
|
|
|
|
|
%install
|
2025-03-27 21:48:42 +00:00
|
|
|
pushd RSyntaxTextArea
|
2024-06-14 16:04:58 +00:00
|
|
|
%mvn_install
|
|
|
|
%fdupes %{buildroot}%{_javadocdir}/%{name}
|
2025-03-27 21:48:42 +00:00
|
|
|
popd
|
2024-06-14 16:04:58 +00:00
|
|
|
|
2025-03-27 21:48:42 +00:00
|
|
|
%files -f RSyntaxTextArea/.mfiles
|
2024-06-14 16:04:58 +00:00
|
|
|
%license LICENSE.md
|
|
|
|
%doc README.md
|
|
|
|
|
2025-03-27 21:48:42 +00:00
|
|
|
%files javadoc -f RSyntaxTextArea/.mfiles-javadoc
|
2024-06-14 16:04:58 +00:00
|
|
|
%license LICENSE.md
|
|
|
|
|
|
|
|
%changelog
|