automatic version update by autodist [release 4.11-1mamba;Tue May 21 2024]
This commit is contained in:
parent
4a49055575
commit
973f2d6841
@ -1,13 +1,13 @@
|
|||||||
%define majver %(echo %version | cut -d. -f1-2)
|
%define majver %(echo %version | cut -d. -f1-2)
|
||||||
Name: highlight
|
Name: highlight
|
||||||
Version: 4.1
|
Version: 4.11
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A universal source code to formatted text converter
|
Summary: A universal source code to formatted text converter
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://www.andre-simon.de/
|
URL: http://www.andre-simon.de/doku/highlight/highlight.html
|
||||||
Source: http://www.andre-simon.de/zip/highlight-%{version}.tar.bz2
|
Source: http://www.andre-simon.de/zip/highlight-%{version}.tar.bz2
|
||||||
Patch: highlight-2.15-doc_dir.patch
|
Patch: highlight-2.15-doc_dir.patch
|
||||||
Patch1: highlight-3.33-termcap.patch
|
Patch1: highlight-3.33-termcap.patch
|
||||||
@ -17,10 +17,9 @@ BuildRequires: glibc-devel
|
|||||||
BuildRequires: libgcc
|
BuildRequires: libgcc
|
||||||
BuildRequires: libglvnd-devel
|
BuildRequires: libglvnd-devel
|
||||||
BuildRequires: liblua-devel
|
BuildRequires: liblua-devel
|
||||||
BuildRequires: libqt5-devel
|
|
||||||
BuildRequires: libreadline-devel
|
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
BuildRequires: libtermcap-devel
|
BuildRequires: libtermcap-devel
|
||||||
|
BuildRequires: qt5-qtbase-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -54,33 +53,17 @@ This package contains the Qt-based GUI.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{majver}
|
%setup -q -n %{name}-%{majver}
|
||||||
#%patch -p1
|
%patch 1 -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}
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%make clean all gui \
|
%make clean all gui \
|
||||||
|
LUA_PKG_NAME=lua \
|
||||||
doc_dir=%{_defaultdocdir}/%{name}-%{version}/
|
doc_dir=%{_defaultdocdir}/%{name}-%{version}/
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
install -d %{buildroot}%{_datadir}/{application,pixmap}s
|
install -d %{buildroot}%{_datadir}/{applications,pixmaps}
|
||||||
|
install -d %{buildroot}%{_bindir}
|
||||||
|
|
||||||
%makeinstall install-gui
|
%makeinstall install-gui
|
||||||
|
|
||||||
@ -103,6 +86,9 @@ rm -rf examples/plugins/movabletype
|
|||||||
%{_bindir}/highlight
|
%{_bindir}/highlight
|
||||||
%dir %{_datadir}/highlight
|
%dir %{_datadir}/highlight
|
||||||
%{_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}/man1/highlight.1*
|
||||||
%{_mandir}/man5/filetypes.conf.5*
|
%{_mandir}/man5/filetypes.conf.5*
|
||||||
%doc AUTHORS COPYING
|
%doc AUTHORS COPYING
|
||||||
@ -115,6 +101,12 @@ rm -rf examples/plugins/movabletype
|
|||||||
#%doc ChangeLog README* TODO examples
|
#%doc ChangeLog README* TODO examples
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu May 13 2021 Automatic Build System <autodist@mambasoft.it> 4.1-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user