]> git.pld-linux.org Git - packages/highlight.git/commitdiff
up to 4.4 auto/th/highlight-4.4-1
authorJan Palus <atler@pld-linux.org>
Fri, 30 Dec 2022 11:08:31 +0000 (12:08 +0100)
committerJan Palus <atler@pld-linux.org>
Fri, 30 Dec 2022 11:08:31 +0000 (12:08 +0100)
highlight-Makefile.patch
highlight.spec

index f088b5b383f04a6689e44d679078a3a1f72caf7c..87a4966ee4f384c90152ae6ef08e3ae454b8555b 100644 (file)
@@ -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
index b977520c6c15b5753d99a96e2d561db3b3c3aa99..e83f5c6a10a0b9447f3cc8b03a13e53d206a84d4 100644 (file)
@@ -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
This page took 0.197754 seconds and 4 git commands to generate.