diff --git a/kimageannotator.spec b/kimageannotator.spec index ae2e2ec..4727339 100644 --- a/kimageannotator.spec +++ b/kimageannotator.spec @@ -1,5 +1,5 @@ Name: kimageannotator -Version: 0.6.1 +Version: 0.7.0 Release: 1mamba Summary: Tool for annotating images Group: Applications/Graphics @@ -53,6 +53,13 @@ This package contains libraries and header files for developing applications tha [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build +# Symlinks for backwards compatibility +mkdir -p %{buildroot}%{_libdir}/cmake/kImageAnnotator +ln -s ../kImageAnnotator-Qt5/kImageAnnotator-Qt5Config.cmake %{buildroot}%{_libdir}/cmake/kImageAnnotator/kImageAnnotatorConfig.cmake +ln -s ../kImageAnnotator-Qt5/kImageAnnotator-Qt5Config-version.cmake %{buildroot}%{_libdir}/cmake/kImageAnnotator/kImageAnnotatorConfig-version.cmake +ln -s ../kImageAnnotator-Qt5/kImageAnnotator-targets.cmake %{buildroot}%{_libdir}/cmake/kImageAnnotator/ +ln -s ../kImageAnnotator-Qt5/kImageAnnotator-targets-noconfig.cmake %{buildroot}%{_libdir}/cmake/kImageAnnotator/ + %find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang %clean @@ -63,19 +70,25 @@ This package contains libraries and header files for developing applications tha %files -n lib%{name} -f %{name}5_qt.lang %defattr(-,root,root) -%{_libdir}/libkImageAnnotator.so.* +%{_libdir}/libkImageAnnotator-Qt5.so.* %doc LICENSE %files -n lib%{name}-devel %defattr(-,root,root) -%dir %{_includedir}/kImageAnnotator -%{_includedir}/kImageAnnotator/KImageAnnotator*.h +%dir %{_includedir}/kImageAnnotator-Qt5 +%dir %{_includedir}/kImageAnnotator-Qt5/kImageAnnotator +%{_includedir}/kImageAnnotator-Qt5/kImageAnnotator/* +%{_libdir}/libkImageAnnotator-Qt5.so +%dir %{_libdir}/cmake/kImageAnnotator-Qt5 +%{_libdir}/cmake/kImageAnnotator-Qt5/kImageAnnotator*.cmake %dir %{_libdir}/cmake/kImageAnnotator -%{_libdir}/cmake/kImageAnnotator/kImageAnnotator*.cmake -%{_libdir}/libkImageAnnotator.so +%{_libdir}/cmake/kImageAnnotator/*.cmake %doc README.md %changelog +* Fri Jan 26 2024 Automatic Build System 0.7.0-1mamba +- automatic version update by autodist + * Thu Mar 16 2023 Automatic Build System 0.6.1-1mamba - automatic version update by autodist