|
@@ -6,15 +6,18 @@
|
|
|
|
|
|
Name: source-highlight
|
|
|
Summary: Syntax highlighting for source documents
|
|
|
-Version: 3.1.8
|
|
|
-Release: 3%{?_dist_release}
|
|
|
+Version: 3.1.9
|
|
|
+Release: 1%{?_dist_release}
|
|
|
Group: programming
|
|
|
Vendor: Project Vine
|
|
|
Distribution: Vine Linux
|
|
|
|
|
|
-License: GPLv3
|
|
|
-URL: http://www.gnu.org/software/src-highlite/
|
|
|
-Source: ftp://ftp.gnu.org/gnu/source-highlight/%{name}-%{version}.tar.gz
|
|
|
+License: GPLv3+
|
|
|
+URL: https://www.gnu.org/software/src-highlite/
|
|
|
+Source0: https://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz
|
|
|
+# Taken from https://git.savannah.gnu.org/cgit/src-highlite.git/patch/?id=904949c9026cb772dc93fbe0947a252ef47127f4
|
|
|
+# and slightly adapted
|
|
|
+Patch0: 904949c9026cb772dc93fbe0947a252ef47127f4.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildRequires: libboost-devel >= 1.33.1
|
|
@@ -56,6 +59,7 @@ source-highlight
|
|
|
|
|
|
|
|
|
%build
|
|
|
+export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS"
|
|
|
%configure --disable-static --with-boost-regex=boost_regex
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
@@ -76,16 +80,6 @@ rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
-%post
|
|
|
-/sbin/install-info %{_infodir}/source-highlight.info.gz %{_infodir}/dir
|
|
|
-/sbin/install-info %{_infodir}/source-highlight-lib.info.gz %{_infodir}/dir
|
|
|
-
|
|
|
-%preun
|
|
|
-if [ $1 = 0 ]; then
|
|
|
- /sbin/install-info --delete %{_infodir}/source-highlight.info.gz %{_infodir}/dir
|
|
|
- /sbin/install-info --delete %{_infodir}/source-highlight-lib.info.gz %{_infodir}/dir
|
|
|
-fi
|
|
|
-
|
|
|
%files
|
|
|
%defattr(-, root, root)
|
|
|
%license COPYING
|
|
@@ -108,6 +102,9 @@ fi
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Sat Nov 05 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.9-1
|
|
|
+- updated to 3.1.9.
|
|
|
+
|
|
|
* Sat Feb 20 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.8-3
|
|
|
- rebuilt with boost-1.75.0.
|
|
|
|