Summary(pl.UTF-8): Podświetlanie składni z projektu GNU
Name: source-highlight
Version: 3.1.9
-Release: 1
+Release: 3
License: GPL v3+
Group: Applications/Publishing
Source0: https://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz
%patch0 -p1
%build
+export CXXFLAGS="%{rpmcxxflags} -std=c++14"
%configure \
--with-boost-libdir=%{_libdir}
%{__make}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-%{__rm} -rf docdir-%{name}-%{version}
-%{__mv} -f $RPM_BUILD_ROOT%{_docdir}/%{name} docdir-%{name}-%{version}
-
%{__rm} $RPM_BUILD_ROOT%{_libdir}/libsource-highlight.la
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README THANKS TODO.txt doc/{*.css,*.html,*.java}
-%doc docdir-%{name}-%{version}/*
%attr(755,root,root) %{_bindir}/check-regexp
%attr(755,root,root) %{_bindir}/cpp2html
%attr(755,root,root) %{_bindir}/java2html