diff --git a/breeze.spec b/breeze.spec index dd0a70c..e6a94b6 100644 --- a/breeze.spec +++ b/breeze.spec @@ -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