Name: kfilemetadata Summary: A library for extracting file metadata Version: 4.14.3 Release: 4%{?dist} # # KDE e.V. may determine that future LGPL versions are accepted License: LGPLv2 or LGPLv3 URL: https://projects.kde.org/projects/kde/kdelibs/%{name} %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif Source0: http://download.kde.org/%{stable}/%{version}/src/%{name}-%{version}.tar.xz ## upstream patches BuildRequires: ebook-tools-devel BuildRequires: kdelibs4-devel >= %{version} BuildRequires: pkgconfig(exiv2) >= 0.20 BuildRequires: pkgconfig(poppler-qt4) BuildRequires: pkgconfig(taglib) BuildRequires: qmobipocket-devel >= %{version} Requires: kdelibs4%{?_isa}%{?_kde4_version: >= %{_kde4_version}} %description %{summary}. %package devel Summary: Developer files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: kdelibs4-devel %description devel %{summary}. %prep %setup -q %build mkdir -p %{_target_platform} pushd %{_target_platform} %{cmake_kde4} .. popd make %{?_smp_mflags} -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc COPYING.LGPL* %{_kde4_libdir}/libkfilemetadata.so.4* %{_kde4_libdir}/kde4/kfilemetadata_epubextractor.so %{_kde4_libdir}/kde4/kfilemetadata_exiv2extractor.so %{_kde4_libdir}/kde4/kfilemetadata_mobiextractor.so %{_kde4_libdir}/kde4/kfilemetadata_odfextractor.so %{_kde4_libdir}/kde4/kfilemetadata_office2007extractor.so %{_kde4_libdir}/kde4/kfilemetadata_officeextractor.so %{_kde4_libdir}/kde4/kfilemetadata_plaintextextractor.so %{_kde4_libdir}/kde4/kfilemetadata_popplerextractor.so %{_kde4_libdir}/kde4/kfilemetadata_taglibextractor.so %{_kde4_datadir}/kde4/services/kfilemetadata_epubextractor.desktop %{_kde4_datadir}/kde4/services/kfilemetadata_exiv2extractor.desktop %{_kde4_datadir}/kde4/services/kfilemetadata_mobiextractor.desktop %{_kde4_datadir}/kde4/services/kfilemetadata_odfextractor.desktop %{_kde4_datadir}/kde4/services/kfilemetadata_office2007extractor.desktop %{_kde4_datadir}/kde4/services/kfilemetadata_officeextractor.desktop %{_kde4_datadir}/kde4/services/kfilemetadata_plaintextextractor.desktop %{_kde4_datadir}/kde4/services/kfilemetadata_popplerextractor.desktop %{_kde4_datadir}/kde4/services/kfilemetadata_taglibextractor.desktop %{_kde4_datadir}/kde4/servicetypes/kfilemetadataextractor.desktop %files devel %{_kde4_includedir}/kfilemetadata/ %{_kde4_libdir}/libkfilemetadata.so %{_kde4_libdir}/cmake/KFileMetaData %changelog * Wed Jun 24 2015 Rex Dieter - 4.14.3-4 - rebuild (exiv2) * Wed Jun 17 2015 Fedora Release Engineering - 4.14.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 4.14.3-2 - Rebuilt for GCC 5 C++11 ABI change * Sat Nov 08 2014 Rex Dieter - 4.14.3-1 - 4.14.3 * Sat Oct 11 2014 Rex Dieter - 4.14.2-1 - 4.14.2 * Mon Sep 15 2014 Rex Dieter - 4.14.1-1 - 4.14.1 * Sun Aug 17 2014 Fedora Release Engineering - 4.14.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Thu Aug 14 2014 Rex Dieter - 4.14.0-1 - 4.14.0 * Tue Aug 05 2014 Rex Dieter - 4.13.97-1 - 4.13.97 * Mon Jul 14 2014 Rex Dieter - 4.13.3-1 - 4.13.3 * Mon Jun 09 2014 Rex Dieter - 4.13.2-1 - 4.13.2 * Sun Jun 08 2014 Fedora Release Engineering - 4.13.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat May 10 2014 Rex Dieter 4.13.1-1 - 4.13.1 * Fri Apr 11 2014 Rex Dieter - 4.13.0-1 - 4.13.0 * Thu Apr 03 2014 Rex Dieter - 4.12.97-1 - 4.12.97 * Sat Mar 22 2014 Rex Dieter - 4.12.95-1 - 4.12.95 * Mon Mar 17 2014 Rex Dieter 4.12.90-2 - drop -libs subpkg * Mon Mar 17 2014 Rex Dieter 4.12.90-1 - baloo-4.12.90, first try