2013-07-08 07:27:48 +02:00
|
|
|
#
|
2013-07-22 17:21:03 +02:00
|
|
|
# spec file for package poxml
|
2013-07-08 07:27:48 +02:00
|
|
|
#
|
2016-12-03 13:16:42 +01:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2013-07-08 07:27:48 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2013-07-22 17:21:03 +02:00
|
|
|
|
2013-07-08 07:27:48 +02:00
|
|
|
Name: poxml
|
2017-01-14 10:08:43 +01:00
|
|
|
Version: 16.12.1
|
2016-12-03 13:16:42 +01:00
|
|
|
Release: 0
|
|
|
|
%define kf5_version 5.26.0
|
2017-01-14 10:08:43 +01:00
|
|
|
# Latest stable Applications (e.g. 16.08 in KA, but 16.12.1 in KUA)
|
2016-12-03 13:16:42 +01:00
|
|
|
%{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
|
|
|
Summary: KDE SDK POXML Package
|
|
|
|
License: GPL-2.0 and GFDL-1.2
|
|
|
|
Group: System/GUI/KDE
|
|
|
|
Url: http://www.kde.org/
|
|
|
|
Source0: %{name}-%{version}.tar.xz
|
2013-07-22 17:21:03 +02:00
|
|
|
BuildRequires: antlr
|
|
|
|
BuildRequires: antlr-devel
|
2015-12-15 20:03:19 +01:00
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: gettext-devel
|
2016-12-03 13:16:42 +01:00
|
|
|
BuildRequires: kdoctools-devel
|
|
|
|
BuildRequires: pkgconfig
|
2015-12-15 20:03:19 +01:00
|
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
|
|
BuildRequires: pkgconfig(Qt5Xml)
|
2013-07-08 07:27:48 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package suggests the packages, built from the kdesdk poxml module.
|
|
|
|
|
|
|
|
%prep
|
2016-12-03 13:16:42 +01:00
|
|
|
%setup -q
|
2013-07-08 07:27:48 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%ifarch ppc64
|
2016-12-03 13:16:42 +01:00
|
|
|
RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
2013-07-08 07:27:48 +02:00
|
|
|
%endif
|
2016-12-03 13:16:42 +01:00
|
|
|
export CXXFLAGS="%{optflags} -fPIC"
|
|
|
|
export CFLAGS="%{optflags} -fPIC"
|
|
|
|
%cmake_kf5 -d build -- -DCMAKE_CXXFLAGS="%{optflags}" -DCMAKE_CFLAGS="%{optflags}"
|
2013-07-08 07:27:48 +02:00
|
|
|
%make_jobs
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
2015-12-15 20:03:19 +01:00
|
|
|
%kf5_makeinstall -C build
|
2013-07-08 07:27:48 +02:00
|
|
|
|
2015-12-15 20:03:19 +01:00
|
|
|
%package -n kde-l10n-devel
|
2013-07-08 07:27:48 +02:00
|
|
|
Summary: KDE SDK Package
|
2013-07-22 17:21:03 +02:00
|
|
|
Group: System/GUI/KDE
|
2015-12-15 20:03:19 +01:00
|
|
|
Obsoletes: kde4-l10n-devel < %{version}
|
|
|
|
Provides: kde4-l10n-devel = %{version}
|
2013-07-08 07:27:48 +02:00
|
|
|
|
2015-12-15 20:03:19 +01:00
|
|
|
%description -n kde-l10n-devel
|
2013-07-08 07:27:48 +02:00
|
|
|
This package suggests the packages, built from the kdesdk module.
|
|
|
|
|
2015-12-15 20:03:19 +01:00
|
|
|
%post -n kde-l10n-devel -p /sbin/ldconfig
|
|
|
|
%postun -n kde-l10n-devel -p /sbin/ldconfig
|
2013-07-08 07:27:48 +02:00
|
|
|
|
2015-12-15 20:03:19 +01:00
|
|
|
%files -n kde-l10n-devel
|
2013-07-08 07:27:48 +02:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING COPYING.DOC
|
2016-12-03 13:16:42 +01:00
|
|
|
%{_bindir}/po2xml
|
|
|
|
%{_bindir}/split2po
|
|
|
|
%{_bindir}/swappo
|
|
|
|
%{_bindir}/xml2pot
|
|
|
|
%{_mandir}/man1/*.*%{ext_man}
|
2013-07-08 07:27:48 +02:00
|
|
|
|
|
|
|
%changelog
|