Accepting request 252518 from KDE:Frameworks5

- Update to 5.0.95:
   * Ported Wayland KCM to KWayland, instead of using Wayland directly
- Install translations
- Add rpmlintrc file for file-not-in-%lang warnings: we don't use
  find_lang macro as it doesn't searches in subdirectories
- Swap pkgconfig(wayland-client) for kwayland-devel >= 5.0.95
- Drop kwindowsystem-devel BuildRequires, no longer used

OBS-URL: https://build.opensuse.org/request/show/252518
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kinfocenter5?expand=0&rev=5
This commit is contained in:
Stephan Kulow 2014-10-01 09:22:42 +00:00 committed by Git OBS Bridge
commit 6e59b7f434
5 changed files with 30 additions and 9 deletions

View File

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

View File

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

2
kinfocenter5-rpmlintrc Normal file
View File

@ -0,0 +1,2 @@
# we don't use find_lang macro as it doesn't searches in subdirectories
addFilter("file-not-in-%lang .*")

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Sep 26 13:45:30 UTC 2014 - hrvoje.senjan@gmail.com
- Update to 5.0.95:
* Ported Wayland KCM to KWayland, instead of using Wayland directly
- Install translations
- Add rpmlintrc file for file-not-in-%lang warnings: we don't use
find_lang macro as it doesn't searches in subdirectories
- Swap pkgconfig(wayland-client) for kwayland-devel >= 5.0.95
- Drop kwindowsystem-devel BuildRequires, no longer used
-------------------------------------------------------------------
Mon Aug 11 21:16:54 UTC 2014 - hrvoje.senjan@gmail.com

View File

@ -17,13 +17,14 @@
Name: kinfocenter5
Version: 5.0.1
Version: 5.0.95
Release: 0
Summary: Utility that provides information about a computer system
License: GPL-2.0+
Group: System/GUI/KDE
Url: http://www.kde.org/
Source: http://download.kde.org/stable/plasma/%{version}/kinfocenter-%{version}.tar.xz
Source: kinfocenter-%{version}.tar.xz
Source99: %{name}-rpmlintrc
# PATCH-FIX-OPENSUSE opensuse-kinfocenter.diff (created by Alin M. Elena to have some openSUSE distro info in kinfocenter)
Patch0: opensuse-kinfocenter.diff
BuildRequires: extra-cmake-modules
@ -35,7 +36,6 @@ BuildRequires: kdoctools-devel
BuildRequires: kf5-filesystem
BuildRequires: ki18n-devel
BuildRequires: kio-devel
BuildRequires: kwindowsystem-devel
BuildRequires: kxmlgui-devel
BuildRequires: libraw1394-devel
BuildRequires: pciutils-devel
@ -52,7 +52,9 @@ BuildRequires: pkgconfig(glesv2)
BuildRequires: pkgconfig(gl)
%endif
BuildRequires: pkgconfig(glu)
BuildRequires: pkgconfig(wayland-client)
%if 0%{?suse_version} > 1310
BuildRequires: kwayland-devel >= 5.0.95
%endif
Conflicts: kdebase4-workspace
# /etc/xdg/menus/kde-information.menu
Conflicts: kdebase3
@ -61,12 +63,13 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
KDE Utility that provides information about a computer system.
%lang_package
%prep
%setup -q -n kinfocenter-%{version}
%patch0 -p1
%build
%cmake_kf5 -d build -- -DBUILD_po=OFF
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5
%make_jobs
%install
@ -89,8 +92,13 @@ KDE Utility that provides information about a computer system.
%{_kf5_sharedir}/kcmview1394/
%{_kf5_servicesdir}/
%{_kf5_servicetypesdir}/
%{_kf5_sharedir}/kinfocenter/
%{_kf5_sharedir}/kxmlgui5/
%{_kf5_configdir}/menus/kinfocenter.menu
%{_kf5_sharedir}/desktop-directories/
%files lang
%defattr(-,root,root)
%doc COPYING*
%{_kf5_localedir}/
%changelog