diff --git a/libkipi.spec b/libkipi.spec index a30400a..bd2e924 100644 --- a/libkipi.spec +++ b/libkipi.spec @@ -1,5 +1,5 @@ Name: libkipi -Version: 15.08.3 +Version: 20.08.1 Release: 2mamba Summary: An interface to use kipi-plugins from a KDE image management program Group: Graphical Desktop/Libraries/KDE @@ -7,19 +7,26 @@ Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan URL: http://www.kipi-plugins.org/ -Source: http://download.kde.org/stable/applications/%{version}/src/libkipi-%{version}.tar.xz +Source: http://download.kde.org/stable/release-service/%{version}/src/libkipi-%{version}.tar.xz License: GPL -BuildRequires: cmake -BuildRequires: libqt4-devel ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: kdelibs-devel -BuildRequires: kde-runtime-devel +BuildRequires: ldconfig BuildRequires: libgcc -BuildRequires: libqt4-devel -BuildRequires: libsoprano-devel +BuildRequires: libkauth-devel +BuildRequires: libkcodecs-devel +BuildRequires: libkconfig-devel +BuildRequires: libkconfigwidgets-devel +BuildRequires: libkcoreaddons-devel +BuildRequires: libkservice-devel +BuildRequires: libkwidgetsaddons-devel +BuildRequires: libkxmlgui-devel +BuildRequires: libqt5-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END +BuildRequires: cmake +Provides: libkipi5 +Obsoletes: libkipi5 BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -30,78 +37,237 @@ The library documentation is available on header files. Group: Development/Libraries Summary: Development files for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: libkipi5-devel +Obsoletes: libkipi5-devel %description devel Libkipi is an interface to use kipi-plugins from a KDE image management program like digiKam (http://www.digikam.org). The library documentation is available on header files. - This package contains static libraries and header files need for development. +%debug_package + %prep %setup -q %build -%cmake_kde4 -d build +%cmake_kde5 -d build %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build -install -d %{buildroot}%{_libdir}/pkgconfig -mv %{buildroot}%{_kde4_libdir}/pkgconfig/*.pc \ - %{buildroot}%{_libdir}/pkgconfig/ - %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post /sbin/ldconfig -touch --no-create %{_kde4_icondir}/hicolor &>/dev/null +touch --no-create %{_kde5_icondir}/hicolor &>/dev/null exit 0 %posttrans /sbin/ldconfig update-desktop-database -q &>/dev/null -update-mime-database %{_kde4_mimedir} &>/dev/null -gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null +update-mime-database %{_kde5_mimedir} &>/dev/null +gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null exit 0 %postun /sbin/ldconfig if [ $1 -eq 0 ]; then update-desktop-database -q &>/dev/null - update-mime-database %{_kde4_mimedir} &>/dev/null - touch --no-create %{_kde4_icondir}/hicolor &>/dev/null - gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null + update-mime-database %{_kde5_mimedir} &>/dev/null + touch --no-create %{_kde5_icondir}/hicolor &>/dev/null + gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null fi exit 0 %files %defattr(-,root,root) -%{_kde4_bindir}/kxmlkipicmd -%{_kde4_libdir}/libkipi.so.* -%{_kde4_libdir}/kde4/kipiplugin_kxmlhelloworld.so -%{_kde4_datadir}/kipi/kipiplugin_kxmlhelloworldui.rc -%{_kde4_datadir}/kxmlkipicmd/kxmlkipicmd_defaultui.rc -%{_kde4_datadir}/kxmlkipicmd/kxmlkipicmd_gwenviewui.rc -%{_kde4_datadir}/kipi/data/kipi-*.svg -%{_kde4_datadir}/kipi/data/kipi-*.png -%{_kde4_icondir}/hicolor/*/apps/kipi.png -%{_kde4_servicetypesdir}/kipiplugin.desktop -%{_kde4_servicesdir}/kipiplugin_kxmlhelloworld.desktop +%{_kde5_libdir}/libKF5Kipi.so.* +%{_datadir}/icons/hicolor/*/apps/kipi.png +#%{_kde5_datadir}/kf5/kipi/pics/kipi-icon.svg +#%{_kde5_datadir}/kf5/kipi/pics/kipi-logo.svg +#%{_kde5_datadir}/kf5/kipi/pics/kipi-plugins_logo.png +%{_kde5_servicetypesdir}/kipiplugin.desktop %doc AUTHORS COPYING %files devel %defattr(-,root,root) -%{_kde4_includedir}/libkipi/*.h -%{_kde4_libdir}/libkipi.so -%{_libdir}/pkgconfig/libkipi.pc +%dir %{_kde5_includedir}/KIPI +%dir %{_kde5_includedir}/KIPI/KIPI +%{_kde5_includedir}/KIPI/KIPI/* +%dir %{_kde5_includedir}/KIPI/kipi +%{_kde5_includedir}/KIPI/kipi/* +%{_kde5_includedir}/libkipi_version.h +%dir %{_kde5_libdir}/cmake/KF5Kipi +%{_kde5_libdir}/cmake/KF5Kipi/*.cmake +%{_kde5_libdir}/libKF5Kipi.so %doc README %changelog -* Fri Jan 08 2016 Silvan Calarco 15.08.3-2mamba -- don't obsolete libkipi5 +* Wed Sep 09 2020 Silvan Calarco 20.08.1-2mamba +- rename from libkipi5 and add provides/obsoletes + +* Fri Sep 04 2020 Automatic Build System 20.08.1-1mamba +- automatic version update by autodist + +* Sat Aug 15 2020 Automatic Build System 20.08.0-1mamba +- automatic version update by autodist + +* Fri Jul 10 2020 Automatic Build System 20.04.3-1mamba +- automatic version update by autodist + +* Fri Jun 12 2020 Automatic Build System 20.04.2-1mamba +- automatic version update by autodist + +* Sat May 16 2020 Automatic Build System 20.04.1-1mamba +- automatic version update by autodist + +* Fri Apr 24 2020 Automatic Build System 20.04.0-1mamba +- automatic version update by autodist + +* Thu Mar 05 2020 Automatic Build System 19.12.3-1mamba +- automatic version update by autodist + +* Fri Feb 07 2020 Automatic Build System 19.12.2-1mamba +- automatic version update by autodist + +* Fri Jan 10 2020 Automatic Build System 19.12.1-1mamba +- automatic version update by autodist + +* Mon Dec 30 2019 Automatic Build System 19.12.0-1mamba +- automatic version update by autodist + +* Fri Nov 08 2019 Automatic Build System 19.08.3-1mamba +- automatic version update by autodist + +* Fri Oct 11 2019 Automatic Build System 19.08.2-1mamba +- automatic version update by autodist + +* Tue Sep 10 2019 Automatic Build System 19.08.1-1mamba +- automatic version update by autodist + +* Thu Aug 29 2019 Automatic Build System 19.08.0-1mamba +- automatic version update by autodist + +* Fri Jul 12 2019 Automatic Build System 19.04.3-1mamba +- automatic version update by autodist + +* Fri Jun 07 2019 Automatic Build System 19.04.2-1mamba +- automatic version update by autodist + +* Sat May 11 2019 Automatic Build System 19.04.1-1mamba +- automatic version update by autodist + +* Fri Apr 19 2019 Automatic Build System 19.04.0-1mamba +- automatic version update by autodist + +* Thu Mar 07 2019 Automatic Build System 18.12.3-1mamba +- automatic version update by autodist + +* Sat Feb 09 2019 Automatic Build System 18.12.2-1mamba +- automatic version update by autodist + +* Fri Jan 11 2019 Automatic Build System 18.12.1-1mamba +- automatic version update by autodist + +* Sat Dec 15 2018 Automatic Build System 18.12.0-1mamba +- automatic version update by autodist + +* Mon Nov 12 2018 Automatic Build System 18.08.3-1mamba +- automatic version update by autodist + +* Fri Oct 12 2018 Automatic Build System 18.08.2-1mamba +- automatic version update by autodist + +* Thu Sep 06 2018 Automatic Build System 18.08.1-1mamba +- automatic version update by autodist + +* Sat Aug 18 2018 Automatic Build System 18.08.0-1mamba +- automatic version update by autodist + +* Fri Jul 13 2018 Automatic Build System 18.04.3-1mamba +- automatic version update by autodist + +* Fri Jun 08 2018 Automatic Build System 18.04.2-1mamba +- automatic version update by autodist + +* Thu May 10 2018 Automatic Build System 18.04.1-1mamba +- automatic version update by autodist + +* Sun Apr 22 2018 Automatic Build System 18.04.0-1mamba +- automatic version update by autodist + +* Fri Mar 09 2018 Automatic Build System 17.12.3-1mamba +- automatic version update by autodist + +* Fri Feb 09 2018 Automatic Build System 17.12.2-1mamba +- automatic version update by autodist + +* Thu Jan 11 2018 Automatic Build System 17.12.1-1mamba +- automatic version update by autodist + +* Thu Dec 21 2017 Automatic Build System 17.12.0-1mamba +- automatic version update by autodist + +* Fri Nov 10 2017 Automatic Build System 17.08.3-1mamba +- automatic version update by autodist + +* Thu Oct 12 2017 Automatic Build System 17.08.2-1mamba +- automatic version update by autodist + +* Fri Sep 08 2017 Automatic Build System 17.08.1-1mamba +- automatic version update by autodist + +* Tue Aug 22 2017 Automatic Build System 17.08.0-1mamba +- automatic version update by autodist + +* Sun Aug 06 2017 Automatic Build System 17.04.3-1mamba +- automatic version update by autodist + +* Fri Mar 10 2017 Automatic Build System 16.12.3-1mamba +- automatic version update by autodist + +* Fri Feb 10 2017 Automatic Build System 16.12.2-1mamba +- automatic version update by autodist + +* Fri Jan 13 2017 Automatic Build System 16.12.1-1mamba +- automatic version update by autodist + +* Sun Dec 18 2016 Automatic Build System 16.12.0-1mamba +- automatic version update by autodist + +* Fri Nov 11 2016 Automatic Build System 16.08.3-1mamba +- automatic version update by autodist + +* Fri Oct 14 2016 Automatic Build System 16.08.2-1mamba +- automatic version update by autodist + +* Fri Sep 09 2016 Automatic Build System 16.08.1-1mamba +- automatic version update by autodist + +* Sat Aug 20 2016 Silvan Calarco 16.08.0-1mamba +- update to 16.08.0 + +* Wed Jul 13 2016 Automatic Build System 16.04.3-1mamba +- automatic version update by autodist + +* Wed Jun 15 2016 Automatic Build System 16.04.2-1mamba +- automatic version update by autodist + +* Mon May 16 2016 Automatic Build System 16.04.1-1mamba +- automatic version update by autodist + +* Tue Feb 16 2016 Automatic Build System 15.12.2-1mamba +- automatic version update by autodist + +* Tue Jan 12 2016 Automatic Build System 15.12.1-1mamba +- automatic version update by autodist + +* Wed Dec 23 2015 Automatic Build System 15.12.0-1mamba +- automatic version update by autodist * Wed Nov 11 2015 Automatic Build System 15.08.3-1mamba - automatic version update by autodist