diff --git a/poxml.spec b/poxml.spec index 318de9d..181f7f6 100644 --- a/poxml.spec +++ b/poxml.spec @@ -1,5 +1,5 @@ Name: poxml -Version: 16.12.3 +Version: 17.04.3 Release: 1mamba Summary: KDE utility to translate DocBook XML files using gettext po files Group: Applications/Development @@ -10,14 +10,14 @@ URL: http://www.kde.org Source: http://download.kde.org/stable/applications/%{version}/src/poxml-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN +BuildRequires: gettext-devel BuildRequires: glibc-devel BuildRequires: libgcc -BuildRequires: libqt4-devel +BuildRequires: libqt5-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRequires: automoc4 BuildRequires: cmake -Requires: kdelibs%{?_kde4_version: >= %{_kde4_version}} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -29,22 +29,24 @@ KDE utility to translate DocBook XML files using gettext po files. %setup -q %build -%cmake_kde4 -d build +%cmake_kde5 -d build %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build +%find_lang %{name}5_qt --with-qt --with-man --all-name || touch %{name}5_qt.lang + %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%files +%files -f %{name}5_qt.lang %defattr(-,root,root) -%{_kde4_bindir}/po2xml -%{_kde4_bindir}/split2po -%{_kde4_bindir}/swappo -%{_kde4_bindir}/xml2pot +%{_kde5_bindir}/po2xml +%{_kde5_bindir}/split2po +%{_kde5_bindir}/swappo +%{_kde5_bindir}/xml2pot %{_mandir}/man1/po2xml.1* %{_mandir}/man1/split2po.1* %{_mandir}/man1/swappo.1* @@ -52,6 +54,9 @@ KDE utility to translate DocBook XML files using gettext po files. %doc COPYING COPYING.DOC %changelog +* Wed Aug 09 2017 Automatic Build System 17.04.3-1mamba +- automatic version update by autodist + * Sat Mar 11 2017 Automatic Build System 16.12.3-1mamba - automatic version update by autodist