rename from libkipi5 and add provides/obsoletes [release 20.08.1-2mamba;Wed Sep 09 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 04:50:20 +01:00
parent dd10aac9c5
commit 2be1e1510e

View File

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