diff --git a/highlight.spec b/highlight.spec index d5055ba..3e6cacd 100644 --- a/highlight.spec +++ b/highlight.spec @@ -1,13 +1,13 @@ %define majver %(echo %version | cut -d. -f1-2) Name: highlight -Version: 4.1 +Version: 4.11 Release: 1mamba Summary: A universal source code to formatted text converter Group: Development/Tools Vendor: openmamba Distribution: openmamba -Packager: Stefano Cotta Ramusino -URL: https://www.andre-simon.de/ +Packager: Silvan Calarco +URL: http://www.andre-simon.de/doku/highlight/highlight.html Source: http://www.andre-simon.de/zip/highlight-%{version}.tar.bz2 Patch: highlight-2.15-doc_dir.patch Patch1: highlight-3.33-termcap.patch @@ -17,10 +17,9 @@ BuildRequires: glibc-devel BuildRequires: libgcc BuildRequires: libglvnd-devel BuildRequires: liblua-devel -BuildRequires: libqt5-devel -BuildRequires: libreadline-devel BuildRequires: libstdc++6-devel BuildRequires: libtermcap-devel +BuildRequires: qt5-qtbase-devel ## AUTOBUILDREQ-END %description @@ -54,33 +53,17 @@ This package contains the Qt-based GUI. %prep %setup -q -n %{name}-%{majver} -#%patch -p1 -sed -i "s|\-llua5\.1||g" src/gui-qt/highlight.pro -%patch1 -p1 - -# Provides: exclude perl(highlight_pipe) from examples -cat <<__EOF__ > %{name}-perl.prov -#!/bin/sh -/usr/lib/rpm/perl.prov \$* | grep -v '^perl(highlight_pipe)$' -__EOF__ -%define __perl_provides %{_builddir}/%{name}-%{majver}/%{name}-perl.prov -chmod +x %{__perl_provides} - -# Requires: exclude perl(IPC::Open3) from examples -cat <<__EOF__ > %{name}-perl.req -#!/bin/sh -/usr/lib/rpm/perl.req \$* | grep -v '^perl(IPC::Open3)$' -__EOF__ -%define __perl_requires %{_builddir}/%{name}-%{majver}/%{name}-perl.req -chmod +x %{__perl_requires} +%patch 1 -p1 %build %make clean all gui \ + LUA_PKG_NAME=lua \ doc_dir=%{_defaultdocdir}/%{name}-%{version}/ %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -install -d %{buildroot}%{_datadir}/{application,pixmap}s +install -d %{buildroot}%{_datadir}/{applications,pixmaps} +install -d %{buildroot}%{_bindir} %makeinstall install-gui @@ -103,6 +86,9 @@ rm -rf examples/plugins/movabletype %{_bindir}/highlight %dir %{_datadir}/highlight %{_datadir}/highlight/* +%{_datadir}/bash-completion/completions/highlight +%{_datadir}/fish/vendor_completions.d/highlight.fish +%{_datadir}/zsh/site-functions/_highlight %{_mandir}/man1/highlight.1* %{_mandir}/man5/filetypes.conf.5* %doc AUTHORS COPYING @@ -115,6 +101,12 @@ rm -rf examples/plugins/movabletype #%doc ChangeLog README* TODO examples %changelog +* Tue May 21 2024 Automatic Build System 4.11-1mamba +- automatic version update by autodist + +* Mon Feb 26 2024 Silvan Calarco 4.10-1mamba +- update to 4.10 + * Thu May 13 2021 Automatic Build System 4.1-1mamba - automatic version update by autodist