diff --git a/kf5-kfilemetadata.spec b/kf5-kfilemetadata.spec index bca5733..119e942 100644 --- a/kf5-kfilemetadata.spec +++ b/kf5-kfilemetadata.spec @@ -1,16 +1,16 @@ %global framework kfilemetadata -# Enable to build ffmpeg extractor -%global ffmpeg 0 +# Define to 1 to enable ffmpeg extractor +#global ffmpeg 1 Name: kf5-%{framework} Summary: A Tier 2 KDE Framework for extracting file metadata Version: 5.17.0 -Release: 1%{?dist} +Release: 2%{?dist} # # KDE e.V. may determine that future LGPL versions are accepted License: LGPLv2 or LGPLv3 -URL: https://www.kde.org +URL: http://projects.kde.org/kfilemetadata %global versiondir %(echo %{version} | cut -d. -f1-2) %global revision %(echo %{version} | cut -d. -f3) @@ -21,22 +21,21 @@ URL: https://www.kde.org %endif Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz +BuildRequires: cmake +BuildRequires: ebook-tools-devel BuildRequires: extra-cmake-modules >= %{version} -BuildRequires: kf5-rpm-macros >= %{version} -BuildRequires: kf5-ki18n-devel >= %{version} BuildRequires: kf5-karchive-devel >= %{version} -BuildRequires: qt5-qtbase-devel - -BuildRequires: ebook-tools-devel +BuildRequires: kf5-ki18n-devel >= %{version} +BuildRequires: kf5-rpm-macros >= %{version} +BuildRequires: libattr-devel BuildRequires: pkgconfig(exiv2) >= 0.20 BuildRequires: pkgconfig(poppler-qt5) BuildRequires: pkgconfig(taglib) +BuildRequires: qt5-qtbase-devel %if 0%{?ffmpeg} BuildRequires: ffmpeg-devel %endif -BuildRequires: libattr-devel - %description %{summary}. @@ -44,7 +43,6 @@ BuildRequires: libattr-devel Summary: Developer files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: qt5-qtbase-devel - %description devel %{summary}. @@ -54,7 +52,7 @@ Requires: qt5-qtbase-devel %build -mkdir -p %{_target_platform} +mkdir %{_target_platform} pushd %{_target_platform} %{cmake_kf5} .. popd @@ -66,20 +64,25 @@ make %{?_smp_mflags} -C %{_target_platform} make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %find_lang kfilemetadata5_qt --with-qt --all-name + %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f kfilemetadata5_qt.lang -%doc COPYING.LGPL* +%license COPYING.LGPL* %{_kf5_libdir}/libKF5FileMetaData.so.* %{_kf5_plugindir}/kfilemetadata/kfilemetadata_*.so %files devel %{_kf5_libdir}/libKF5FileMetaData.so %{_kf5_libdir}/cmake/KF5FileMetaData -%{_kf5_includedir}/KFileMetaData +%{_kf5_includedir}/KFileMetaData/ + %changelog +* Fri Dec 18 2015 Rex Dieter 5.17.0-2 +- .spec cosmetics, update URL, use %%license + * Tue Dec 08 2015 Daniel Vrátil - 5.17.0-1 - KDE Frameworks 5.17.0