jhighlight/jhighlight.spec

54 lines
1.6 KiB
RPMSpec
Raw Normal View History

2020-08-06 19:36:43 +08:00
Name: jhighlight
2024-01-15 10:52:55 +08:00
Version: 1.1.0
Release: 1
2020-08-06 19:36:43 +08:00
Summary: An embeddable pure Java syntax highlighting library
2022-05-11 16:47:40 +08:00
License: LGPLv2+ or CDDL-1.0
2020-08-06 19:36:43 +08:00
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}
2024-01-15 10:52:55 +08:00
%patch0 -p1
2020-08-06 19:36:43 +08:00
%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
2024-01-15 10:52:55 +08:00
* Mon Jan 15 2024 Ge Wang <wang__ge@126.com> - 1.1.0-1
- update to version 1.1.0
2022-05-11 16:47:40 +08:00
* Mon May 9 2022 baizhonggui <baizhonggui@h-partners.com> - 1.0.1-2
- modify license identifier
2020-08-06 19:36:43 +08:00
* Wed Jul 29 2020 zhanghua <zhanghua40@huawei.com> - 1.0.1-1
- package init