Make a merry car great again

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/poxml?expand=0&rev=50
This commit is contained in:
Luca Beltrame 2017-04-15 13:29:10 +00:00 committed by Git OBS Bridge
parent 1f6901c13f
commit 38d93f1263

View File

@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%bcond_without lang
Name: poxml
Version: 17.03.90
@ -41,6 +42,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
This is a collection of tools that facilitate translating DocBook XML
files using Gettext message files (PO files).
%if %{with lang}
%lang_package
%endif
%prep
%setup -q
@ -56,6 +61,9 @@ export CFLAGS="%{optflags} -fPIC"
%install
%kf5_makeinstall -C build
%if %{with lang}
%find_lang %{name} --with-man --all-name
%endif
%package -n kde-l10n-devel
Summary: Tools for translating DocBook XML files with Gettext
@ -79,4 +87,9 @@ files using Gettext message files (PO files).
%{_bindir}/xml2pot
%{_mandir}/man1/*.*%{ext_man}
%if %{with lang}
%files lang -f %{name}.lang
%doc COPYING*
%endif
%changelog