[packages/highlight] up to 4.4

atler atler at pld-linux.org
Fri Dec 30 12:16:28 CET 2022


commit bdbc0fc7569e2b83db46f49c3c1ea090a182c561
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri Dec 30 12:08:31 2022 +0100

    up to 4.4

 highlight-Makefile.patch |  2 +-
 highlight.spec           | 47 +++++++++++++++++++++++++++++++++++++++++++++--
 2 files changed, 46 insertions(+), 3 deletions(-)
---
diff --git a/highlight.spec b/highlight.spec
index b977520..e83f5c6 100644
--- a/highlight.spec
+++ b/highlight.spec
@@ -6,12 +6,12 @@
 Summary:	A source code converter to HTML, XHTML, RTF, TeX, LaTeX, XSL-FO, and XML
 Summary(pl.UTF-8):	Konwerter kodu źródłowego do formatów HTML, XHTML, RTF, TeX, LaTeX, XSL-FO oraz XML
 Name:		highlight
-Version:	4.2
+Version:	4.4
 Release:	1
 License:	GPL v3
 Group:		Applications/Publishing
 Source0:	http://www.andre-simon.de/zip/%{name}-%{version}.tar.bz2
-# Source0-md5:	bb325c237ed1175e23acac55f2106a7c
+# Source0-md5:	e61056f9cfe5f865ea7f87c74f05d22f
 Patch0:		%{name}-Makefile.patch
 URL:		http://www.andre-simon.de/
 BuildRequires:	boost-devel
@@ -75,6 +75,36 @@ Requires:	hicolor-icon-theme
 Qt4 GUI for for highlight - a source code converter to HTML, XHTML,
 RTF, TeX, LaTeX, XSL-FO, and XML.
 
+%package -n bash-completion-highlight
+Summary:	Bash completion for highlight
+Group:		Applications/Shells
+Requires:	%{name} = %{version}-%{release}
+Requires:	bash-completion >= 1:2.0
+BuildArch:	noarch
+
+%description -n bash-completion-highlight
+Bash completion for highlight.
+
+%package -n fish-completion-highlight
+Summary:	fish-completion for highlight
+Group:		Applications/Shells
+Requires:	%{name} = %{version}-%{release}
+Requires:	fish
+BuildArch:	noarch
+
+%description -n fish-completion-highlight
+fish-completion for highlight.
+
+%package -n zsh-completion-highlight
+Summary:	ZSH completion for highlight
+Group:		Applications/Shells
+Requires:	%{name} = %{version}-%{release}
+Requires:	zsh
+BuildArch:	noarch
+
+%description -n zsh-completion-highlight
+ZSH completion for highlight.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -148,8 +178,21 @@ rm -rf $RPM_BUILD_ROOT
 %lang(es) %{_datadir}/%{name}/gui_files/l10n/highlight_es_ES.qm
 %lang(fr) %{_datadir}/%{name}/gui_files/l10n/highlight_fr_FR.qm
 %lang(it) %{_datadir}/%{name}/gui_files/l10n/highlight_it_IT.qm
+%lang(ja) %{_datadir}/%{name}/gui_files/l10n/highlight_ja_JP.qm
 %lang(zh) %{_datadir}/%{name}/gui_files/l10n/highlight_zh_CN.qm
 %{_datadir}/%{name}/gui_files/ext
 %{_desktopdir}/*.desktop
 %{_iconsdir}/hicolor/*x*/apps/highlight.png
 %endif
+
+%files -n bash-completion-highlight
+%defattr(644,root,root,755)
+%{bash_compdir}/highlight
+
+%files -n fish-completion-highlight
+%defattr(644,root,root,755)
+%{fish_compdir}/highlight.fish
+
+%files -n zsh-completion-highlight
+%defattr(644,root,root,755)
+%{zsh_compdir}/_highlight
diff --git a/highlight-Makefile.patch b/highlight-Makefile.patch
index f088b5b..87a4966 100644
--- a/highlight-Makefile.patch
+++ b/highlight-Makefile.patch
@@ -36,7 +36,7 @@ diff -urN highlight-3.34.orig/src/makefile highlight-3.34/src/makefile
 +	CXXFLAGS+=-fPIC
  endif
  
- LDFLAGS = -ldl
+ ifneq ($(OS), Windows_NT)
 @@ -73,7 +73,7 @@
  #LDFLAGS = ${LDFLAGS} -s
  #LDFLAGS= -Wl,--as-needed
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/highlight.git/commitdiff/bdbc0fc7569e2b83db46f49c3c1ea090a182c561



More information about the pld-cvs-commit mailing list