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