osc copypac from project:home:wolfi323:test package:kde-cli-tools5 revision:11
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kde-cli-tools5?expand=0&rev=107
This commit is contained in:
parent
7ddd4794ff
commit
b4a0781024
@ -1,2 +0,0 @@
|
||||
# we don't use find_lang macro as it doesn't searches in subdirectories
|
||||
addFilter("file-not-in-%lang .*")
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 5 11:13:41 UTC 2016 - wbauer@tmo.at
|
||||
|
||||
- Use the new %kf5_find_lang macro to create the file list for the
|
||||
lang package
|
||||
- Remove rpmlintrc file, it is not needed any more now
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 30 12:02:19 UTC 2016 - hrvoje.senjan@gmail.com
|
||||
|
||||
|
@ -25,7 +25,6 @@ License: GPL-2.0+
|
||||
Group: System/GUI/KDE
|
||||
Url: http://www.kde.org
|
||||
Source: kde-cli-tools-%{version}.tar.xz
|
||||
Source99: %{name}-rpmlintrc
|
||||
# PATCH-FIX-OPENSUSE kdesu-add-some-i18n-love.patch -- boo#852256
|
||||
Patch0: kdesu-add-some-i18n-love.patch
|
||||
BuildRequires: extra-cmake-modules >= 1.3.0
|
||||
@ -66,11 +65,14 @@ Additional CLI tools for KDE applications and workspaces.
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5
|
||||
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}
|
||||
%make_jobs
|
||||
|
||||
%install
|
||||
%kf5_makeinstall -C build
|
||||
%if %{with lang}
|
||||
%kf5_find_lang
|
||||
%endif
|
||||
|
||||
# create a dummy target for /etc/alternatives/kdesu
|
||||
install -d -m 755 %{buildroot}%{_sysconfdir}/alternatives/
|
||||
@ -124,9 +126,7 @@ fi
|
||||
%{_kf5_mandir}/man1/kdesu*.*
|
||||
|
||||
%if %{with lang}
|
||||
%files lang
|
||||
%defattr(-,root,root)
|
||||
%{_kf5_localedir}/
|
||||
%files lang -f %{name}.lang
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user