automatic version update by autodist [release 4.11-1mamba;Tue May 21 2024]

This commit is contained in:
Automatic Build System 2024-05-22 10:00:45 +02:00
parent 4a49055575
commit 973f2d6841

View File

@ -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 <stefano.cotta@openmamba.org>
URL: https://www.andre-simon.de/
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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 <autodist@openmamba.org> 4.11-1mamba
- automatic version update by autodist
* Mon Feb 26 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 4.10-1mamba
- update to 4.10
* Thu May 13 2021 Automatic Build System <autodist@mambasoft.it> 4.1-1mamba
- automatic version update by autodist