From b1be1e4b06813875cef74aa22aa21e04805c1b98 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 01:28:41 +0100 Subject: [PATCH] renamed from kfilemetadata5; rebuilt with ffmpeg 4.1 [release 5.52.0-2mamba;Sun Dec 09 2018] --- README.md | 2 +- kfilemetadata.spec | 221 ++++++++++++++++++++++++++++++++++----------- 2 files changed, 167 insertions(+), 56 deletions(-) diff --git a/README.md b/README.md index ec76f28..26a812f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ # kfilemetadata -KFileMetaData Extractor. +KFileMetaData provides a simple library for extracting the text and metadata from a number of different files. This library is typically used by file indexers to retreive the metadata. diff --git a/kfilemetadata.spec b/kfilemetadata.spec index 94d521e..a36c492 100644 --- a/kfilemetadata.spec +++ b/kfilemetadata.spec @@ -1,110 +1,221 @@ +%define majver %(echo %version | cut -d. -f1-2) Name: kfilemetadata -Version: 4.14.3 +Version: 5.52.0 Release: 2mamba -Summary: KFileMetaData Extractor +Summary: a simple library for extracting the text and metadata from a number of different files Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.kde.org -Source: http://download.kde.org/stable/applications/%{version}/src/kfilemetadata-%{version}.tar.xz +Source: http://download.kde.org/stable/frameworks/%{majver}/kfilemetadata-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: kdegraphics-mobipocket-devel -BuildRequires: kdelibs-devel BuildRequires: libavcodec-ffmpeg-devel BuildRequires: libavformat-ffmpeg-devel BuildRequires: libavutil-ffmpeg-devel BuildRequires: libebook-devel BuildRequires: libexiv2-devel BuildRequires: libgcc -BuildRequires: libpoppler-qt4-devel -BuildRequires: libqt4-devel +BuildRequires: libkarchive-devel +BuildRequires: libki18n-devel +BuildRequires: libpoppler-qt5-devel +BuildRequires: libqt5-devel BuildRequires: libstdc++6-devel -BuildRequires: libtag-devel ## AUTOBUILDREQ-END -BuildRequires: libtag-devel >= 1.9.1 -BuildRequires: automoc4 BuildRequires: cmake -BuildRequires: libqt4-devel -BuildRequires: kdelibs-devel -Requires: kdelibs%{?_kde4_version: >= %{_kde4_version}} +BuildRequires: libavcodec-ffmpeg-devel >= 4.1 +BuildRequires: libavformat-ffmpeg-devel >= 4.1 +BuildRequires: libavutil-ffmpeg-devel >= 4.1 BuildRoot: %{_tmppath}/%{name}-%{version}-root %description -KFileMetaData Extractor. +KFileMetaData provides a simple library for extracting the text and metadata from a number of different files. This library is typically used by file indexers to retreive the metadata. -%package devel +%package -n libkfilemetadata +Group: System/Libraries +Summary: a simple library for extracting the text and metadata from a number of different files +Provides: kfilemetadata +Obsoletes: kfilemetadata +Provides: kfilemetadata5 +Obsoletes: kfilemetadata5 + +%description -n libkfilemetadata +KFileMetaData provides a simple library for extracting the text and metadata from a number of different files. This library is typically used by file indexers to retreive the metadata. + +%package -n libkfilemetadata-devel Group: Development/Libraries -Summary: Development files for %{name} -Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} -Requires: kdelibs-devel +Summary: Development files for libkfilemetadata +Requires: libkfilemetadata = %{?epoch:%epoch:}%{version}-%{release} +Provides: kfilemetadata-devel +Obsoletes: kfilemetadata-devel -%description devel +%description -n libkfilemetadata-devel This package contains libraries and header files for developing applications that use %{name}. %debug_package %prep -%setup -q +%setup -q -n kfilemetadata-%{version} %build -%cmake_kde4 -d build +%cmake_kde5 -d build %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build +%find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang + %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%post +%post -n libkfilemetadata /sbin/ldconfig exit 0 -%postun +%postun -n libkfilemetadata /sbin/ldconfig exit 0 -%files +%files -n libkfilemetadata -f %{name}5_qt.lang %defattr(-,root,root) -%{_kde4_libdir}/libkfilemetadata.so.* -%{_kde4_libdir}/kde4/kfilemetadata_epubextractor.so -%{_kde4_libdir}/kde4/kfilemetadata_exiv2extractor.so -%{_kde4_libdir}/kde4/kfilemetadata_ffmpegextractor.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_servicesdir}/kfilemetadata_epubextractor.desktop -%{_kde4_servicesdir}/kfilemetadata_exiv2extractor.desktop -%{_kde4_servicesdir}/kfilemetadata_ffmpegextractor.desktop -%{_kde4_servicesdir}/kfilemetadata_mobiextractor.desktop -%{_kde4_servicesdir}/kfilemetadata_odfextractor.desktop -%{_kde4_servicesdir}/kfilemetadata_office2007extractor.desktop -%{_kde4_servicesdir}/kfilemetadata_officeextractor.desktop -%{_kde4_servicesdir}/kfilemetadata_plaintextextractor.desktop -%{_kde4_servicesdir}/kfilemetadata_popplerextractor.desktop -%{_kde4_servicesdir}/kfilemetadata_taglibextractor.desktop -%{_kde4_servicetypesdir}/kfilemetadataextractor.desktop +%{_sysconfdir}/xdg/kfilemetadata.categories +%{_kde5_libdir}/libKF5FileMetaData.so.* +%dir %{_libdir}/qt5/plugins/kf5/kfilemetadata +%{_libdir}/qt5/plugins/kf5/kfilemetadata/kfilemetadata_*.so +%dir %{_libdir}/qt5/plugins/kf5/kfilemetadata/writers +%{_libdir}/qt5/plugins/kf5/kfilemetadata/writers/kfilemetadata_taglibwriter.so +%doc COPYING.LGPL-2 COPYING.LGPL-2.1 COPYING.LGPL-3 -%files devel +%files -n libkfilemetadata-devel %defattr(-,root,root) -%dir %{_kde4_includedir}/kfilemetadata -%{_kde4_includedir}/kfilemetadata/*.h -%{_kde4_libdir}/cmake/KFileMetaData/KFileMetaDataConfig.cmake -%{_kde4_libdir}/cmake/KFileMetaData/KFileMetaDataTargetsWithPrefix-relwithdebinfo.cmake -%{_kde4_libdir}/cmake/KFileMetaData/KFileMetaDataTargetsWithPrefix.cmake -%{_kde4_libdir}/libkfilemetadata.so +%dir %{_kde5_includedir}/KFileMetaData +%dir %{_kde5_includedir}/KFileMetaData/KFileMetaData +%{_kde5_includedir}/KFileMetaData/KFileMetaData/* +%dir %{_kde5_includedir}/KFileMetaData/kfilemetadata +%{_kde5_includedir}/KFileMetaData/kfilemetadata/*.h +%dir %{_kde5_libdir}/cmake/KF5FileMetaData +%{_kde5_libdir}/cmake/KF5FileMetaData/KF5FileMetaData*.cmake +%{_kde5_libdir}/libKF5FileMetaData.so +%{_kde5_mkspecsdir}/qt_KFileMetaData.pri %changelog -* Tue Dec 29 2015 Silvan Calarco 4.14.3-2mamba -- mass rebuild with libtag 1.9.1 +* Sun Dec 09 2018 Silvan Calarco 5.52.0-2mamba +- renamed from kfilemetadata5; rebuilt with ffmpeg 4.1 + +* Fri Nov 16 2018 Automatic Build System 5.52.0-1mamba +- automatic version update by autodist + +* Sun Oct 21 2018 Automatic Build System 5.51.0-1mamba +- automatic version update by autodist + +* Mon Sep 10 2018 Automatic Build System 5.50.0-1mamba +- automatic version update by autodist + +* Tue Aug 21 2018 Automatic Build System 5.49.0-1mamba +- automatic version update by autodist + +* Mon Jul 16 2018 Automatic Build System 5.48.0-1mamba +- automatic version update by autodist + +* Sun Jun 17 2018 Automatic Build System 5.47.0-1mamba +- automatic version update by autodist + +* Thu May 17 2018 Automatic Build System 5.46.0-1mamba +- automatic version update by autodist + +* Tue Apr 17 2018 Automatic Build System 5.45.0-1mamba +- automatic version update by autodist + +* Fri Mar 16 2018 Automatic Build System 5.44.0-1mamba +- automatic version update by autodist + +* Wed Feb 28 2018 Automatic Build System 5.43.0-1mamba +- automatic version update by autodist + +* Thu Jan 18 2018 Automatic Build System 5.42.0-1mamba +- automatic version update by autodist + +* Tue Jan 02 2018 Automatic Build System 5.41.0-1mamba +- automatic version update by autodist + +* Tue Nov 14 2017 Automatic Build System 5.40.0-1mamba +- automatic version update by autodist + +* Sat Oct 21 2017 Automatic Build System 5.39.0-1mamba +- automatic version update by autodist + +* Tue Sep 12 2017 Automatic Build System 5.38.0-1mamba +- automatic version update by autodist + +* Sun Aug 20 2017 Automatic Build System 5.37.0-1mamba +- automatic version update by autodist + +* Sat Aug 05 2017 Automatic Build System 5.36.0-1mamba +- automatic version update by autodist + +* Wed Mar 15 2017 Automatic Build System 5.32.0-1mamba +- automatic version update by autodist + +* Sun Mar 05 2017 Automatic Build System 5.31.0-1mamba +- automatic version update by autodist + +* Tue Jan 24 2017 Automatic Build System 5.30.0-1mamba +- automatic version update by autodist + +* Sun Dec 18 2016 Automatic Build System 5.29.0-1mamba +- automatic version update by autodist + +* Mon Nov 21 2016 Automatic Build System 5.28.0-1mamba +- automatic version update by autodist + +* Fri Oct 14 2016 Automatic Build System 5.27.0-1mamba +- automatic version update by autodist + +* Fri Sep 23 2016 Automatic Build System 5.26.0-1mamba +- automatic version update by autodist + +* Sat Aug 20 2016 Automatic Build System 5.25.0-1mamba +- automatic version update by autodist + +* Mon Jul 18 2016 Automatic Build System 5.24.0-1mamba +- automatic version update by autodist + +* Thu Jun 23 2016 Automatic Build System 5.23.0-1mamba +- automatic version update by autodist + +* Thu May 26 2016 Automatic Build System 5.22.0-1mamba +- automatic version update by autodist + +* Sun Apr 17 2016 Automatic Build System 5.21.0-1mamba +- automatic version update by autodist + +* Wed Mar 30 2016 Automatic Build System 5.20.0-1mamba +- automatic version update by autodist + +* Sun Feb 21 2016 Automatic Build System 5.19.0-1mamba +- automatic version update by autodist + +* Fri Jan 15 2016 Automatic Build System 5.18.0-1mamba +- automatic version update by autodist + +* Thu Dec 17 2015 Automatic Build System 5.17.0-1mamba +- automatic version update by autodist + +* Mon Nov 23 2015 Automatic Build System 5.16.0-1mamba +- automatic version update by autodist + +* Fri Oct 23 2015 Automatic Build System 5.15.0-1mamba +- automatic version update by autodist + +* Sat Oct 10 2015 Silvan Calarco 5.14.0-1mamba +- update to 5.14.0 + +* Sat May 09 2015 Silvan Calarco 5.9.0-1mamba +- update to 5.9.0 * Thu Nov 20 2014 Automatic Build System 4.14.3-1mamba - automatic version update by autodist