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

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