1
0
Hrvoje Senjan 2014-10-03 16:59:46 +00:00 committed by Git OBS Bridge
parent a6935247d9
commit 312a802f89
2 changed files with 9 additions and 3 deletions

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

@ -24,6 +24,7 @@ License: LGPL-2.0+
Group: System/GUI/KDE Group: System/GUI/KDE
Url: https://projects.kde.org/projects/extragear/sdk/kde-gtk-config Url: https://projects.kde.org/projects/extragear/sdk/kde-gtk-config
Source: kde-gtk-config-%{version}.tar.xz Source: kde-gtk-config-%{version}.tar.xz
Source99: kde-gtk-config5-rpmlintrc
Patch0: append5.diff Patch0: append5.diff
BuildRequires: extra-cmake-modules BuildRequires: extra-cmake-modules
BuildRequires: karchive-devel BuildRequires: karchive-devel
@ -43,12 +44,13 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
A small IDE taylored for development of Plasma components, A small IDE taylored for development of Plasma components,
such as Widgets, Runners, Dataengines. such as Widgets, Runners, Dataengines.
%lang_package
%prep %prep
%setup -q -n kde-gtk-config-%{version} %setup -q -n kde-gtk-config-%{version}
%patch0 -p1 %patch0 -p1
%build %build
%cmake_kf5 -d build %cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5
%make_jobs %make_jobs
%install %install
@ -67,8 +69,10 @@ such as Widgets, Runners, Dataengines.
%{_kf5_plugindir}/ %{_kf5_plugindir}/
%{_kf5_libdir}/libexec/ %{_kf5_libdir}/libexec/
%{_kf5_sharedir}/kcm-gtk-module/ %{_kf5_sharedir}/kcm-gtk-module/
%dir %{_kf5_sharedir}/icons/hicolor/8x8
%dir %{_kf5_sharedir}/icons/hicolor/8x8/actions
%{_kf5_sharedir}/icons/hicolor/*/*/*.* %{_kf5_sharedir}/icons/hicolor/*/*/*.*
%files lang
%defattr(-,root,root)
%{_kf5_localedir}/
%changelog %changelog