jhighlight/jhighlight.spec
2024-06-13 14:54:20 +08:00

51 lines
1.5 KiB
RPMSpec

Name: jhighlight
Version: 1.0.1
Release: 2
Summary: An embeddable pure Java syntax highlighting library
License: LGPLv2+ or CDDL-1.0
URL: http://svn.rifers.org/jhighlight
Source0: https://github.com/codelibs/jhighlight/archive/jhighlight-%{version}.tar.gz
Patch0: servlet31.patch
BuildArch: noarch
BuildRequires: maven-local mvn(javax.servlet:servlet-api)
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
%description
JHighlight is an embeddable pure Java syntax highlighting library that supports
Java, Groovy, C++, HTML, XHTML, XML and LZX languages and outputs to XHTML. It
also supports RIFE (http://rifers.org) templates tags and highlights them
clearly so that you can easily identify the difference between your RIFE markup
and the actual marked up source.
%package javadoc
Summary: Javadocs for %{name}
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n %{name}-%{name}-%{version}
%patch0
%mvn_alias : com.uwyn:
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc README.md
%doc COPYING
%doc LICENSE_LGPL.txt LICENSE_CDDL.txt
%files javadoc -f .mfiles-javadoc
%doc LICENSE_LGPL.txt LICENSE_CDDL.txt
%doc COPYING
%changelog
* Thu Jun 13 2024 wulei <wu_lei@hoperun.com> - 1.0.1-2
- Regulate license information
* Wed Jul 29 2020 zhanghua <zhanghua40@huawei.com> - 1.0.1-1
- package init