SHA256
1
0
forked from pool/krfb

Accepting request 443399 from home:luca_b:test_KA

KDE Applications - please review

OBS-URL: https://build.opensuse.org/request/show/443399
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/krfb?expand=0&rev=40
This commit is contained in:
Raymond Wooninck 2016-12-03 13:58:41 +00:00 committed by Git OBS Bridge
parent c22dc9a068
commit 6e2038b36a
4 changed files with 45 additions and 38 deletions

View File

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

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

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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Nov 29 12:36:03 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
-------------------------------------------------------------------
Thu Nov 10 08:37:31 UTC 2016 - wbauer@tmo.at

View File

@ -1,7 +1,7 @@
#
# spec file for package krfb
#
# 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,45 +17,46 @@
Name: krfb
BuildRequires: systemd-devel
BuildRequires: telepathy-qt5-devel
BuildRequires: ktp-common-internals-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: Desktop Sharing
License: GPL-2.0+
# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
Group: Productivity/Networking/Remote Desktop
Source0: %{name}-%{version}.tar.xz
BuildRequires: LibVNCServer-devel
BuildRequires: pkgconfig(xdamage)
BuildRequires: pkgconfig(xt)
BuildRequires: pkgconfig(xtst)
BuildRequires: extra-cmake-modules
BuildRequires: kcompletion-devel
BuildRequires: kconfig-devel
BuildRequires: kcoreaddons-devel
BuildRequires: kcrash-devel
BuildRequires: kdbusaddons-devel
BuildRequires: kdelibs4support-devel
BuildRequires: kdnssd-framework-devel
BuildRequires: kdoctools-devel
BuildRequires: ki18n-devel
BuildRequires: knotifications-devel
BuildRequires: kwallet-devel
BuildRequires: ktp-common-internals-devel
BuildRequires: kwidgetsaddons-devel
BuildRequires: kxmlgui-devel
BuildRequires: oxygen5-icon-theme-large
BuildRequires: pkgconfig
BuildRequires: systemd-devel
BuildRequires: telepathy-qt5-devel
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5X11Extras)
BuildRequires: update-desktop-files
BuildRequires: oxygen-icon-theme-large
Version: 16.08.3
Release: 0
Summary: Desktop Sharing
License: GPL-2.0+
Group: Productivity/Networking/Remote Desktop
Source0: %{name}-%{version}.tar.xz
BuildRequires: pkgconfig(xdamage)
BuildRequires: pkgconfig(xt)
BuildRequires: pkgconfig(xtst)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
VNC-compatible server to share KDE desktops.
%prep
%setup -q -n %{name}-%{version}
%setup -q
%build
%ifarch ppc ppc64
@ -66,25 +67,23 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
%install
cd build
%makeinstall
cd ..
for i in 128 16 22 32 48 64
make %{?_smp_mflags} DESTDIR=%{buildroot} install
for i in 128 64 48 32 22 16
do
mkdir -p %{buildroot}%{_kf5_iconsdir}/hicolor/${i}x${i}/apps
cp %{_kf5_iconsdir}/oxygen/${i}x${i}/apps/krfb.png %{buildroot}%{_kf5_iconsdir}/hicolor/${i}x${i}/apps/ \
|| cp %{_kf5_iconsdir}/oxygen/base/${i}x${i}/apps/krfb.png %{buildroot}%{_kf5_iconsdir}/hicolor/${i}x${i}/apps/
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps/
done
cp %{_datadir}/icons/oxygen/base/128x128/apps/krfb.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/
cp %{_datadir}/icons/oxygen/base/16x16/apps/krfb.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/
cp %{_datadir}/icons/oxygen/base/22x22/apps/krfb.png %{buildroot}%{_datadir}/icons/hicolor/22x22/apps/
cp %{_datadir}/icons/oxygen/base/32x32/apps/krfb.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/
cp %{_datadir}/icons/oxygen/base/48x48/apps/krfb.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/
cp %{_datadir}/icons/oxygen/base/64x64/apps/krfb.png %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/
cd ..
%suse_update_desktop_file -r org.kde.krfb System RemoteAccess
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc README
@ -94,7 +93,7 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
%{_kf5_htmldir}/en/krfb/
%{_kf5_servicetypesdir}/krfb-framebuffer*.desktop
%{_kf5_iconsdir}/hicolor/*/apps/krfb.*
%_kf5_plugindir/krfb/
%_datadir/krfb/
%{_kf5_plugindir}/krfb/
%{_datadir}/krfb/
%changelog