osc copypac from project:home:wolfi323:test package:oxygen5 revision:11

OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/oxygen5?expand=0&rev=106
This commit is contained in:
Wolfgang Bauer 2016-07-06 16:38:15 +00:00 committed by Git OBS Bridge
parent 7037170665
commit faf1ea89a1
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:47:34 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:28 UTC 2016 - hrvoje.senjan@gmail.com

View File

@ -29,7 +29,6 @@ Url: http://www.kde.org
#Source: http://download.kde.org/stable/plasma/%{version}/oxygen-%{version}.tar.xz
Source: oxygen-%{version}.tar.xz
Source1: baselibs.conf
Source99: %{name}-rpmlintrc
BuildRequires: extra-cmake-modules >= 0.0.9
BuildRequires: kf5-filesystem
BuildRequires: cmake(KF5Completion)
@ -138,11 +137,14 @@ This package contains the libraries Oxygen's KWin decoration.
%setup -q -n oxygen-%{version}
%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
%post style -p /sbin/ldconfig
@ -202,9 +204,7 @@ This package contains the libraries Oxygen's KWin decoration.
%{_kf5_libdir}/liboxygenstyle5.so
%if %{with lang}
%files lang
%defattr(-,root,root)
%{_kf5_localedir}/
%files lang -f %{name}.lang
%endif
%changelog