SHA256
1
0
forked from pool/breeze

Use kf5_find_lang everywhere

OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5:LTS/breeze?expand=0&rev=3
This commit is contained in:
Fabian Vogt 2016-09-15 19:40:47 +00:00 committed by Git OBS Bridge
parent e8148d7356
commit 535878cf32

View File

@ -22,6 +22,7 @@ Version: 5.7.95
Release: 0
BuildRequires: cmake >= 2.8.12
BuildRequires: extra-cmake-modules >= 0.0.13
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
BuildRequires: kf5-filesystem
BuildRequires: cmake(KDecoration2) >= %{_plasma5_version}
@ -48,7 +49,6 @@ Summary: Plasma Desktop artwork, styles and assets
License: GPL-2.0+
Group: System/GUI/KDE
Url: http://www.kde.org
#Source: http://download.kde.org/unstable/plasma/%{version}/http://download.kde.org/stable/plasma/%{version}/%{name}-%{version}.tar.xz
Source: http://download.kde.org/unstable/plasma/%{version}/%{name}-%{version}.tar.xz
Source99: %{name}-rpmlintrc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -102,17 +102,19 @@ This package provides Breeze KWin decoration.
%setup -q
%build
%cmake_kf5 -d build -- -DBUILD_po=OFF -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5
%cmake_kf5 -d build -- -DBUILD_po=OFF -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}
%make_jobs
%install
%kf5_makeinstall -C build
%if %{with lang}
%kf5_find_lang
%endif
%fdupes %buildroot/%_prefix
%if %{with lang}
%files -n breeze5-style-lang
%defattr(-,root,root)
%files -n breeze5-style-lang -f %{name}.lang
%doc COPYING*
%{_kf5_localedir}/
%endif
%files -n breeze5-cursors