osc copypac from project:home:wolfi323:test package:libksysguard5 revision:13

OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/libksysguard5?expand=0&rev=92
This commit is contained in:
Wolfgang Bauer 2016-07-06 16:38:09 +00:00 committed by Git OBS Bridge
parent 49a35001cf
commit 12e231fbdc
3 changed files with 12 additions and 7 deletions

View File

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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Jul 5 11:42:21 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:27 UTC 2016 - hrvoje.senjan@gmail.com Thu Jun 30 12:02:27 UTC 2016 - hrvoje.senjan@gmail.com

View File

@ -26,7 +26,6 @@ Group: Development/Libraries/C and C++
Url: http://www.kde.org Url: http://www.kde.org
Source: libksysguard-%{version}.tar.xz Source: libksysguard-%{version}.tar.xz
Source1: baselibs.conf Source1: baselibs.conf
Source99: %{name}-rpmlintrc
BuildRequires: extra-cmake-modules >= 1.2.0 BuildRequires: extra-cmake-modules >= 1.2.0
BuildRequires: kf5-filesystem BuildRequires: kf5-filesystem
BuildRequires: xz BuildRequires: xz
@ -89,11 +88,14 @@ for actions that require elevated privileges.
%setup -q -n libksysguard-%{version} %setup -q -n libksysguard-%{version}
%build %build
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5 %cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}
%make_jobs %make_jobs
%install %install
%kf5_makeinstall -C build %kf5_makeinstall -C build
%if %{with lang}
%kf5_find_lang
%endif
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
@ -129,9 +131,7 @@ for actions that require elevated privileges.
%{_kf5_libdir}/libprocessui.so %{_kf5_libdir}/libprocessui.so
%if %{with lang} %if %{with lang}
%files lang %files lang -f %{name}.lang
%defattr(-,root,root)
%{_kf5_localedir}/
%endif %endif
%changelog %changelog