2015-01-20 10:22:19 +00:00
|
|
|
%global framework kfilemetadata
|
|
|
|
|
2015-12-18 18:12:05 +00:00
|
|
|
# Define to 1 to enable ffmpeg extractor
|
|
|
|
#global ffmpeg 1
|
2015-01-20 10:22:19 +00:00
|
|
|
|
2016-04-05 22:12:54 +00:00
|
|
|
%if 0%{?fedora}
|
|
|
|
%global ebook 1
|
|
|
|
%global poppler 1
|
2016-05-18 01:53:37 +00:00
|
|
|
%global taglib 1
|
2016-04-05 22:12:54 +00:00
|
|
|
%endif
|
|
|
|
|
2015-01-20 10:22:19 +00:00
|
|
|
Name: kf5-%{framework}
|
|
|
|
Summary: A Tier 2 KDE Framework for extracting file metadata
|
2017-04-03 13:13:04 +00:00
|
|
|
Version: 5.33.0
|
2017-02-06 18:06:06 +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
|
2017-04-03 13:13:04 +00:00
|
|
|
URL: https://cgit.kde.org/%{framework}.git
|
2015-01-20 10:22:19 +00:00
|
|
|
|
2015-08-19 14:52:41 +00:00
|
|
|
%global versiondir %(echo %{version} | cut -d. -f1-2)
|
2015-01-20 10:22:19 +00:00
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
|
%if %{revision} >= 50
|
|
|
|
%global stable unstable
|
|
|
|
%else
|
|
|
|
%global stable stable
|
|
|
|
%endif
|
2015-08-19 14:52:41 +00:00
|
|
|
Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz
|
2015-01-20 10:22:19 +00:00
|
|
|
|
2017-01-02 16:33:54 +00:00
|
|
|
# filter plugin provides
|
|
|
|
%global __provides_exclude_from ^(%{_kf5_plugindir}/.*\\.so)$
|
|
|
|
|
2016-04-05 22:12:54 +00:00
|
|
|
%if 0%{?ebook}
|
2015-12-18 18:12:05 +00:00
|
|
|
BuildRequires: ebook-tools-devel
|
2016-04-05 22:12:54 +00:00
|
|
|
%endif
|
2015-08-19 14:52:41 +00:00
|
|
|
BuildRequires: extra-cmake-modules >= %{version}
|
|
|
|
BuildRequires: kf5-karchive-devel >= %{version}
|
2015-12-18 18:12:05 +00:00
|
|
|
BuildRequires: kf5-ki18n-devel >= %{version}
|
|
|
|
BuildRequires: kf5-rpm-macros >= %{version}
|
|
|
|
BuildRequires: libattr-devel
|
2015-01-20 10:22:19 +00:00
|
|
|
BuildRequires: pkgconfig(exiv2) >= 0.20
|
2016-04-05 22:12:54 +00:00
|
|
|
%if 0%{?poppler}
|
2015-01-20 10:22:19 +00:00
|
|
|
BuildRequires: pkgconfig(poppler-qt5)
|
2016-04-05 22:12:54 +00:00
|
|
|
%endif
|
2016-05-18 01:53:37 +00:00
|
|
|
%if 0%{?taglib}
|
|
|
|
BuildRequires: pkgconfig(taglib) >= 1.9
|
|
|
|
%endif
|
2015-12-18 18:12:05 +00:00
|
|
|
BuildRequires: qt5-qtbase-devel
|
2015-01-20 10:22:19 +00:00
|
|
|
%if 0%{?ffmpeg}
|
|
|
|
BuildRequires: ffmpeg-devel
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Developer files for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2015-08-19 14:52:41 +00:00
|
|
|
Requires: qt5-qtbase-devel
|
2015-01-20 10:22:19 +00:00
|
|
|
%description devel
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{framework}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
2015-12-18 18:12:05 +00:00
|
|
|
mkdir %{_target_platform}
|
2015-01-20 10:22:19 +00:00
|
|
|
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
|
|
|
|
|
2016-05-18 02:01:46 +00:00
|
|
|
mkdir -p %{buildroot}%{_kf5_plugindir}/kfilemetadata/writers/
|
|
|
|
|
2015-12-18 18:12:05 +00:00
|
|
|
|
2015-01-20 10:22:19 +00:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -f kfilemetadata5_qt.lang
|
2015-12-18 18:12:05 +00:00
|
|
|
%license COPYING.LGPL*
|
2015-01-20 10:22:19 +00:00
|
|
|
%{_kf5_libdir}/libKF5FileMetaData.so.*
|
2016-05-16 17:46:22 +00:00
|
|
|
%dir %{_kf5_plugindir}/kfilemetadata/
|
2015-01-20 10:22:19 +00:00
|
|
|
%{_kf5_plugindir}/kfilemetadata/kfilemetadata_*.so
|
2016-05-16 17:46:22 +00:00
|
|
|
%dir %{_kf5_plugindir}/kfilemetadata/writers/
|
2016-05-18 01:53:37 +00:00
|
|
|
%if 0%{?taglib}
|
2016-05-16 17:46:22 +00:00
|
|
|
%{_kf5_plugindir}/kfilemetadata/writers/kfilemetadata_taglibwriter.so
|
2016-05-18 01:53:37 +00:00
|
|
|
%endif
|
2015-01-20 10:22:19 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_kf5_libdir}/libKF5FileMetaData.so
|
|
|
|
%{_kf5_libdir}/cmake/KF5FileMetaData
|
2015-12-18 18:12:05 +00:00
|
|
|
%{_kf5_includedir}/KFileMetaData/
|
|
|
|
|
2015-01-20 10:22:19 +00:00
|
|
|
|
|
|
|
%changelog
|
2017-04-03 13:13:04 +00:00
|
|
|
* Mon Apr 03 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.33.0-1
|
|
|
|
- 5.33.0
|
|
|
|
|
2017-03-04 20:26:47 +00:00
|
|
|
* Sat Mar 04 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.32.0-1
|
|
|
|
- 5.32.0
|
|
|
|
|
2017-02-06 18:06:06 +00:00
|
|
|
* Mon Feb 06 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.31.0-1
|
|
|
|
- 5.31.0
|
|
|
|
|
2017-01-02 16:33:54 +00:00
|
|
|
* Mon Jan 02 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.29.0-2
|
|
|
|
- filter plugin provides
|
|
|
|
|
2016-12-16 14:53:33 +00:00
|
|
|
* Fri Dec 16 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.29.0-1
|
|
|
|
- 5.29.0
|
|
|
|
|
2016-10-04 02:28:36 +00:00
|
|
|
* Tue Oct 04 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.27.0-1
|
|
|
|
- 5.27.0
|
|
|
|
|
2016-09-08 08:23:12 +00:00
|
|
|
* Wed Sep 07 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.26.0-1
|
|
|
|
- KDE Frameworks 5.26.0
|
|
|
|
|
2016-08-08 08:11:31 +00:00
|
|
|
* Mon Aug 08 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.25.0-1
|
|
|
|
- KDE Frameworks 5.25.0
|
|
|
|
|
2016-07-06 15:48:23 +00:00
|
|
|
* Wed Jul 06 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.24.0-1
|
|
|
|
- KDE Frameworks 5.24.0
|
|
|
|
|
2016-06-07 15:32:31 +00:00
|
|
|
* Tue Jun 07 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.23.0-1
|
|
|
|
- KDE Frameworks 5.23.0
|
|
|
|
|
2016-05-16 14:55:20 +00:00
|
|
|
* Mon May 16 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.22.0-1
|
|
|
|
- KDE Frameworks 5.22.0
|
|
|
|
|
2016-04-05 22:12:54 +00:00
|
|
|
* Tue Apr 05 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.21.0-2
|
|
|
|
- update URL, make some deps fedora-only
|
|
|
|
|
2016-04-04 13:26:06 +00:00
|
|
|
* Mon Apr 04 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.21.0-1
|
|
|
|
- KDE Frameworks 5.21.0
|
|
|
|
|
2016-03-14 10:42:15 +00:00
|
|
|
* Mon Mar 14 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.20.0-1
|
|
|
|
- KDE Frameworks 5.20.0
|
|
|
|
|
2016-02-11 14:18:08 +00:00
|
|
|
* Thu Feb 11 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.19.0-1
|
|
|
|
- KDE Frameworks 5.19.0
|
|
|
|
|
2016-02-04 02:01:56 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.18.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2016-01-03 16:56:52 +00:00
|
|
|
* Sun Jan 03 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.18.0-1
|
|
|
|
- KDE Frameworks 5.18.0
|
|
|
|
|
2015-12-18 18:12:05 +00:00
|
|
|
* Fri Dec 18 2015 Rex Dieter <rdieter@fedoraproject.org> 5.17.0-2
|
|
|
|
- .spec cosmetics, update URL, use %%license
|
|
|
|
|
2015-12-08 21:14:46 +00:00
|
|
|
* Tue Dec 08 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.17.0-1
|
|
|
|
- KDE Frameworks 5.17.0
|
|
|
|
|
2015-11-09 22:07:51 +00:00
|
|
|
* Sun Nov 08 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.16.0-1
|
|
|
|
- KDE Frameworks 5.16.0
|
|
|
|
|
2015-10-08 13:09:26 +00:00
|
|
|
* Thu Oct 08 2015 Daniel Vrátil <dvratil@redhat.com> - 5.15.0-1
|
|
|
|
- KDE Frameworks 5.15.0
|
|
|
|
|
2015-09-16 11:49:56 +00:00
|
|
|
* Wed Sep 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.14.0-1
|
|
|
|
- KDE Frameworks 5.14.0
|
|
|
|
|
2015-08-19 14:52:41 +00:00
|
|
|
* Wed Aug 19 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-1
|
|
|
|
- KDE Frameworks 5.13.0
|
|
|
|
|
|
|
|
* Wed Aug 19 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-1
|
|
|
|
- KDE Frameworks 5.13.0
|
|
|
|
|
|
|
|
* Tue Aug 11 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-0.1
|
|
|
|
- KDE Frameworks 5.13 (moved from Plasma 5 to KF5)
|
|
|
|
|
2015-06-25 16:21:00 +00:00
|
|
|
* Thu Jun 25 2015 Daniel Vrátil <dvratil@redhat.com> - 5.9.2-1
|
|
|
|
- Plasma 5.3.2
|
|
|
|
|
2015-06-24 19:34:05 +00:00
|
|
|
* Wed Jun 24 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.9.1-3
|
|
|
|
- rebuild (exiv2)
|
|
|
|
|
2015-06-17 13:13:27 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.9.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
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
|