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
|
|
|
#
|
2015-02-11 16:42:19 +01:00
|
|
|
# Copyright (c) 2015 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
|
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
|
|
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
|
|
BuildRequires: pkgconfig(Qt5Xml)
|
|
|
|
BuildRequires: kdoctools-devel
|
2013-07-22 17:21:03 +02:00
|
|
|
Summary: KDE SDK POXML Package
|
2013-07-08 07:27:48 +02:00
|
|
|
License: GPL-2.0 and GFDL-1.2
|
|
|
|
Group: System/GUI/KDE
|
|
|
|
Url: http://www.kde.org/
|
2015-12-13 14:34:07 +01:00
|
|
|
Version: 15.12.0
|
2013-07-22 17:21:03 +02:00
|
|
|
Release: 0
|
2013-07-08 07:27:48 +02:00
|
|
|
Source0: %{name}-%{version}.tar.xz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package suggests the packages, built from the kdesdk poxml module.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%ifarch ppc64
|
|
|
|
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mminimal-toc"
|
|
|
|
%endif
|
|
|
|
export CXXFLAGS="$RPM_OPT_FLAGS -fPIC"
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
2015-12-15 20:03:19 +01:00
|
|
|
%cmake_kf5 -d build -- -DCMAKE_CXXFLAGS="$RPM_OPT_FLAGS" -DCMAKE_CFLAGS="$RPM_OPT_FLAGS"
|
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
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
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
|
2013-07-08 07:27:48 +02:00
|
|
|
|
2015-12-15 20:03:19 +01:00
|
|
|
%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
|
|
|
|
|
|
|
|
%changelog
|