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

OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kinfocenter5?expand=0&rev=108
This commit is contained in:
Wolfgang Bauer 2016-07-06 16:37:52 +00:00 committed by Git OBS Bridge
parent 352803ca71
commit 1ff4d334c2
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:27:46 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:22 UTC 2016 - hrvoje.senjan@gmail.com

View File

@ -25,7 +25,6 @@ License: GPL-2.0+
Group: System/GUI/KDE
Url: http://www.kde.org/
Source: kinfocenter-%{version}.tar.xz
Source99: %{name}-rpmlintrc
# PATCH-FIX-OPENSUSE plasma-session-name.patch
Patch0: plasma-session-name.patch
BuildRequires: extra-cmake-modules >= 1.2.0
@ -81,11 +80,14 @@ KDE Utility that provides information about a computer system.
%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
%files
%defattr(-,root,root)
@ -106,10 +108,8 @@ KDE Utility that provides information about a computer system.
%{_kf5_sharedir}/desktop-directories/
%if %{with lang}
%files lang
%defattr(-,root,root)
%files lang -f %{name}.lang
%doc COPYING*
%{_kf5_localedir}/
%doc %lang(ca) %{_kf5_htmldir}/ca/
%doc %lang(de) %{_kf5_htmldir}/de/
%doc %lang(it) %{_kf5_htmldir}/it/