2015-01-20 10:22:19 +00:00
|
|
|
%global framework kfilemetadata
|
2015-04-23 15:43:46 +00:00
|
|
|
%global plasma_version 5.2.95
|
2015-01-20 10:22:19 +00:00
|
|
|
|
|
|
|
# Enable to build ffmpeg extractor
|
|
|
|
%global ffmpeg 0
|
|
|
|
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
Summary: A Tier 2 KDE Framework for extracting file metadata
|
2015-05-25 22:33:46 +00:00
|
|
|
Version: 5.9.1
|
2015-03-20 12:28:08 +00:00
|
|
|
Release: 1%{?dist}
|
2015-01-20 10:22:19 +00:00
|
|
|
|
|
|
|
# # KDE e.V. may determine that future LGPL versions are accepted
|
|
|
|
License: LGPLv2 or LGPLv3
|
|
|
|
URL: https://www.kde.org
|
|
|
|
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
|
%if %{revision} >= 50
|
|
|
|
%global stable unstable
|
|
|
|
%else
|
|
|
|
%global stable stable
|
|
|
|
%endif
|
|
|
|
Source0: http://download.kde.org/%{stable}/plasma/%{plasma_version}/%{framework}-%{version}.tar.xz
|
|
|
|
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
BuildRequires: kf5-ki18n-devel
|
|
|
|
BuildRequires: kf5-karchive-devel
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
|
|
|
|
BuildRequires: ebook-tools-devel
|
|
|
|
BuildRequires: pkgconfig(exiv2) >= 0.20
|
|
|
|
BuildRequires: pkgconfig(poppler-qt5)
|
|
|
|
BuildRequires: pkgconfig(taglib)
|
|
|
|
%if 0%{?ffmpeg}
|
|
|
|
BuildRequires: ffmpeg-devel
|
|
|
|
%endif
|
|
|
|
|
2015-04-23 15:43:46 +00:00
|
|
|
BuildRequires: libattr-devel
|
|
|
|
|
2015-01-20 10:22:19 +00:00
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Developer files for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: kf5-ki18n-devel
|
|
|
|
Requires: kf5-kservice-devel
|
|
|
|
Requires: kf5-karchive-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{framework}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
mkdir -p %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
%{cmake_kf5} ..
|
|
|
|
popd
|
|
|
|
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
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*
|
|
|
|
%{_kf5_libdir}/libKF5FileMetaData.so.*
|
|
|
|
%{_kf5_plugindir}/kfilemetadata/kfilemetadata_*.so
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_kf5_libdir}/libKF5FileMetaData.so
|
|
|
|
%{_kf5_libdir}/cmake/KF5FileMetaData
|
|
|
|
%{_kf5_includedir}/KFileMetaData
|
|
|
|
|
|
|
|
%changelog
|
2015-05-25 22:33:46 +00:00
|
|
|
* Tue May 26 2015 Daniel Vrátil <dvratil@redhat.com> - 5.9.1-1
|
|
|
|
- Plasma 5.3.1
|
|
|
|
|
2015-04-27 11:07:21 +00:00
|
|
|
* Mon Apr 27 2015 Daniel Vrátil <dvratil@redhat.com> - 5.9.0-1
|
|
|
|
- Plasma 5.3.0
|
|
|
|
|
2015-04-23 15:43:46 +00:00
|
|
|
* Wed Apr 22 2015 Daniel Vrátil <dvratil@redhat.com> - 5.6.95-1
|
|
|
|
- Plasma 5.2.95
|
|
|
|
|
2015-03-20 12:28:08 +00:00
|
|
|
* Fri Mar 20 2015 Daniel Vrátil <dvratil@redhat.com> - 5.6.2-1
|
|
|
|
- Plasma 5.2.2
|
|
|
|
|
2015-02-27 18:55:46 +00:00
|
|
|
* Fri Feb 27 2015 Daniel Vrátil <dvratil@redhat.com> - 5.6.1-2
|
|
|
|
- Rebuild (GCC 5)
|
|
|
|
|
2015-02-24 10:02:42 +00:00
|
|
|
* Tue Feb 24 2015 Daniel Vrátil <dvratil@redhat.com> - 5.6.1-1
|
|
|
|
- Plasma 5.2.1
|
|
|
|
|
2015-01-26 16:13:25 +00:00
|
|
|
* Mon Jan 26 2015 Daniel Vrátil <dvratil@redhat.com> - 5.6.0-1
|
|
|
|
- Plasma 5.2.0
|
|
|
|
|
2015-01-20 10:22:19 +00:00
|
|
|
* Mon Jan 12 2015 Daniel Vrátil <dvratil@redhat.com> - 5.5.95-1
|
|
|
|
- Plasma 5.1.95 Beta (KFileMetaData 5.5.95)
|
2015-02-27 18:55:46 +00:00
|
|
|
|
2015-01-20 10:22:19 +00:00
|
|
|
* Wed Dec 17 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.2-1
|
|
|
|
- Plasma 5.1.2
|
|
|
|
|
|
|
|
* Fri Nov 07 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.1-1
|
|
|
|
- Plasma 5.1.1
|
|
|
|
|
|
|
|
* Tue Oct 14 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.0.1-1
|
|
|
|
- Plasma 5.1.0.1
|
|
|
|
|
|
|
|
* Thu Oct 09 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.0-1
|
|
|
|
- Plasma 5.1.0
|
|
|
|
|
|
|
|
* Tue Sep 16 2014 Daniel Vrátil <dvratil@redhat.com> - 5.0.2-1
|
|
|
|
- Plasma 5.0.2
|
|
|
|
|
|
|
|
* Sun Aug 10 2014 Daniel Vrátil <dvratil@redhat.com> - 5.0.1-1
|
|
|
|
- Plasma 5.0.1
|
|
|
|
|
|
|
|
* Wed Jul 16 2014 Daniel Vrátil <dvratil@redhat.com> - 5.0.0-1
|
|
|
|
- Plasma 5.0.0
|
|
|
|
|
|
|
|
* Wed Jun 11 2014 Daniel Vrátil <dvratil@redhat.com> - 4.97.0-3.20140611git034abaa
|
|
|
|
- Update to latest git snapshot
|
|
|
|
|
|
|
|
* Wed May 14 2014 Daniel Vrátil <dvratil@redhat.com> - 4.97.0-2.20140611gitdcc52ae
|
|
|
|
- Updated to latest git snapshot
|
|
|
|
|
|
|
|
* Fri Apr 18 2014 Daniel Vrátil <dvratil@redhat.com> - 4.97.0-1
|
|
|
|
- Fork kfilemetadata into kf5-kfilemetadata
|