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

OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kfilemetadata5?expand=0&rev=107
This commit is contained in:
Wolfgang Bauer 2016-07-06 16:37:40 +00:00 committed by Git OBS Bridge
parent 6127d123a1
commit 1928e04d5c
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

@ -5,6 +5,13 @@ Wed Jul 6 15:03:41 UTC 2016 - hrvoje.senjan@gmail.com
* For more details please see: * For more details please see:
https://www.kde.org/announcements/kde-frameworks-5.24.0.php https://www.kde.org/announcements/kde-frameworks-5.24.0.php
-------------------------------------------------------------------
Tue Jul 5 11:20:40 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
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jun 6 21:25:10 UTC 2016 - hrvoje.senjan@gmail.com Mon Jun 6 21:25:10 UTC 2016 - hrvoje.senjan@gmail.com

View File

@ -28,7 +28,6 @@ Group: Development/Libraries/KDE
Url: http://www.kde.org/ Url: http://www.kde.org/
Source: http://download.kde.org/stable/frameworks/%{_tar_path}/kfilemetadata-%{version}.tar.xz Source: http://download.kde.org/stable/frameworks/%{_tar_path}/kfilemetadata-%{version}.tar.xz
Source1: baselibs.conf Source1: baselibs.conf
Source99: kfilemetadata5-rpmlintrc
Patch0: ffmpeg-buildrequires.patch Patch0: ffmpeg-buildrequires.patch
BuildRequires: extra-cmake-modules >= %{_tar_path} BuildRequires: extra-cmake-modules >= %{_tar_path}
%if 0%{?suse_version} > 1314 && "%{suse_version}" != "1320" %if 0%{?suse_version} > 1314 && "%{suse_version}" != "1320"
@ -71,11 +70,14 @@ A library for extracting file metadata. Development files
%patch0 -p1 %patch0 -p1
%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
@ -95,10 +97,8 @@ A library for extracting file metadata. Development files
%{_kf5_libdir}/cmake/KF5FileMetaData/ %{_kf5_libdir}/cmake/KF5FileMetaData/
%if %{with lang} %if %{with lang}
%files lang %files lang -f %{name}.lang
%defattr(-,root,root)
%doc COPYING* %doc COPYING*
%{_kf5_localedir}/
%endif %endif
%changelog %changelog