diff --git a/poxml.changes b/poxml.changes index 7b9d9f1..0db2d82 100644 --- a/poxml.changes +++ b/poxml.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Aug 11 22:46:35 UTC 2017 - christophe@krop.fr + +- Update to KDE Applications 17.08.0 + * New feature release + * https://www.kde.org/announcements/announce-applications-17.08.0.php +- Changes since 17.04.3 : + * None + ------------------------------------------------------------------- Sat Aug 5 18:19:46 UTC 2017 - christophe@krop.fr diff --git a/poxml.spec b/poxml.spec index cee4f2f..e2bcfe9 100644 --- a/poxml.spec +++ b/poxml.spec @@ -1,7 +1,7 @@ # # spec file for package poxml # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,18 +15,19 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %bcond_without lang Name: poxml Version: 17.07.90 Release: 0 %define kf5_version 5.26.0 -# Latest stable Applications (e.g. 16.08 in KA, but 16.11.80 in KUA) +# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA) %{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} Summary: Tools for translating DocBook XML files with Gettext License: GPL-2.0 and GFDL-1.2 Group: System/GUI/KDE -Url: http://www.kde.org +Url: http://www.kde.org/ Source0: %{name}-%{version}.tar.xz BuildRequires: antlr BuildRequires: antlr-devel @@ -36,12 +37,25 @@ BuildRequires: kdoctools-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Xml) +%if %{with lang} +Recommends: %{name}-lang +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This is a collection of tools that facilitate translating DocBook XML files using Gettext message files (PO files). +%package -n kde-l10n-devel +Summary: Tools for translating DocBook XML files with Gettext +Group: System/GUI/KDE +Obsoletes: kde4-l10n-devel < %{version} +Provides: kde4-l10n-devel = %{version} + +%description -n kde-l10n-devel +This is a collection of tools that facilitate translating DocBook XML +files using Gettext message files (PO files). + %if %{with lang} %lang_package %endif @@ -65,29 +79,17 @@ export CFLAGS="%{optflags} -fPIC" %find_lang %{name} --with-man --all-name %endif -%package -n kde-l10n-devel -Summary: Tools for translating DocBook XML files with Gettext -Group: System/GUI/KDE -Obsoletes: kde4-l10n-devel < %{version} -Provides: kde4-l10n-devel = %{version} -Recommends: %{name}-lang -Provides: %{name} = %{version} - -%description -n kde-l10n-devel -This is a collection of tools that facilitate translating DocBook XML -files using Gettext message files (PO files). - %post -n kde-l10n-devel -p /sbin/ldconfig %postun -n kde-l10n-devel -p /sbin/ldconfig %files -n kde-l10n-devel %defattr(-,root,root) -%doc COPYING COPYING.DOC -%{_bindir}/po2xml -%{_bindir}/split2po -%{_bindir}/swappo -%{_bindir}/xml2pot -%{_mandir}/man1/*.*%{ext_man} +%doc COPYING* +%{_kf5_bindir}/po2xml +%{_kf5_bindir}/split2po +%{_kf5_bindir}/swappo +%{_kf5_bindir}/xml2pot +%{_kf5_mandir}/man1/*.*%{ext_man} %if %{with lang} %files lang -f %{name}.lang