Accepting request 443470 from home:luca_b:test_KA

KDE Applications - please review

OBS-URL: https://build.opensuse.org/request/show/443470
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/poxml?expand=0&rev=38
This commit is contained in:
Raymond Wooninck 2016-12-03 12:16:42 +00:00 committed by Git OBS Bridge
parent 8d9e1c1dda
commit 1250988ca8
4 changed files with 35 additions and 28 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8e855b28e2dba6e21cb33d89a84d8aafdf49d4138c8046d653d7160569a6e07e
size 31780

3
poxml-16.11.80.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d40fa9886f230526071798d29a39cfbbda024d6db8f04cea23db62468fe96f0a
size 31780

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Nov 29 12:44:14 UTC 2016 - tittiatcoke@gmail.com
- Update to KDE Applications 16.11.80
* KDE Applications 16.12.0 Beta
* https://www.kde.org/announcements/announce-applications-16.12-beta.php
-------------------------------------------------------------------
Wed Nov 9 06:29:08 UTC 2016 - lbeltrame@kde.org

View File

@ -1,7 +1,7 @@
#
# spec file for package poxml
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 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
@ -17,35 +17,39 @@
Name: poxml
BuildRequires: antlr
BuildRequires: antlr-devel
BuildRequires: extra-cmake-modules
BuildRequires: gettext-devel
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Xml)
BuildRequires: kdoctools-devel
Version: 16.11.80
Release: 0
%define kf5_version 5.26.0
# Latest stable Applications (e.g. 16.08 in KA, but 16.11.80 in KUA)
%{!?_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/
Version: 16.08.3
Release: 0
Source0: %{name}-%{version}.tar.xz
BuildRequires: antlr
BuildRequires: antlr-devel
BuildRequires: extra-cmake-modules
BuildRequires: gettext-devel
BuildRequires: kdoctools-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Xml)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package suggests the packages, built from the kdesdk poxml module.
%prep
%setup -q -n %{name}-%{version}
%setup -q
%build
%ifarch ppc64
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mminimal-toc"
RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
%endif
export CXXFLAGS="$RPM_OPT_FLAGS -fPIC"
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
%cmake_kf5 -d build -- -DCMAKE_CXXFLAGS="$RPM_OPT_FLAGS" -DCMAKE_CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="%{optflags} -fPIC"
export CFLAGS="%{optflags} -fPIC"
%cmake_kf5 -d build -- -DCMAKE_CXXFLAGS="%{optflags}" -DCMAKE_CFLAGS="%{optflags}"
%make_jobs
make
@ -53,12 +57,8 @@ export CFLAGS="$RPM_OPT_FLAGS -fPIC"
%kf5_makeinstall -C build
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%package -n kde-l10n-devel
Summary: KDE SDK Package
Group: System/GUI/KDE
@ -69,16 +69,15 @@ Provides: kde4-l10n-devel = %{version}
This package suggests the packages, built from the kdesdk module.
%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/*.*.gz
%{_bindir}/po2xml
%{_bindir}/split2po
%{_bindir}/swappo
%{_bindir}/xml2pot
%{_mandir}/man1/*.*%{ext_man}
%changelog