automatic version update by autodist [release 24.02.1-1mamba;Sun Mar 24 2024]

This commit is contained in:
Automatic Build System 2024-03-29 18:55:41 +01:00
parent d9573e7a1d
commit 26a9d93906
2 changed files with 60 additions and 29 deletions

View File

@ -1,8 +1,4 @@
# libkexiv2
Libkexiv2 is a wrapper around Exiv2 library to manipulate pictures metadata as EXIF/IPTC and XMP.
Metadata interface follow this paper:
http://www.metadataworkinggroup.com/pdf/mwg_guidance.pdf
This library is used by kipi-plugins, digiKam and others kipi host programs.
The library documentation is available on header files.

View File

@ -1,5 +1,5 @@
Name: libkexiv2
Version: 23.08.5
Version: 24.02.1
Release: 1mamba
Summary: A wrapper library around Exiv2 library
Group: Graphical Desktop/Libraries/KDE
@ -7,14 +7,16 @@ Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://kde.org/
Source: http://download.kde.org/stable/release-service/%{version}/src/libkexiv2-%{version}.tar.xz
Source: https://download.kde.org/%{stable_kde6}/release-service/%{version}/src/libkexiv2-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libexiv2-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt6-qtbase-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Provides: libkexiv2_5
@ -22,10 +24,6 @@ Obsoletes: libkexiv2_5 < 21.04.0
%description
Libkexiv2 is a wrapper around Exiv2 library to manipulate pictures metadata as EXIF/IPTC and XMP.
Metadata interface follow this paper:
http://www.metadataworkinggroup.com/pdf/mwg_guidance.pdf
This library is used by kipi-plugins, digiKam and others kipi host programs.
The library documentation is available on header files.
%package devel
Group: Development/Libraries
@ -35,11 +33,21 @@ Provides: libkexiv2_5-devel
Obsoletes: libkexiv2_5-devel < 21.04.0
%description devel
This package contains static libraries and header files needed for development.
%package qt5
Group: System/Libraries
Summary: A wrapper library around Exiv2 library
%description qt5
Libkexiv2 is a wrapper around Exiv2 library to manipulate pictures metadata as EXIF/IPTC and XMP.
Metadata interface follow this paper:
http://www.metadataworkinggroup.com/pdf/mwg_guidance.pdf
This library is used by kipi-plugins, digiKam and others kipi host programs.
The library documentation is available on header files.
%package qt5-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name}-qt5 = %{?epoch:%epoch:}%{version}-%{release}
%description qt5-devel
This package contains static libraries and header files needed for development.
%debug_package
@ -48,44 +56,71 @@ This package contains static libraries and header files needed for development.
%setup -q
%build
%cmake_kde5 -d build
%cmake_kf6 \
-DQT_MAJOR_VERSION=6
%cmake_build
%cmake -d build-qt5
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%makeinstall -C build-qt5
#install -d %{buildroot}%{_libdir}/pkgconfig
#mv %{buildroot}%{_kde4_libdir}/pkgconfig/*.pc \
# %{buildroot}%{_libdir}/pkgconfig/
%cmake_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post qt5 -p /sbin/ldconfig
%postun qt5 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libKExiv2Qt6.so.*
%{_datadir}/qlogging-categories6/libkexiv2.categories
%doc AUTHORS LICENSES
%files devel
%defattr(-,root,root)
%dir %{_includedir}/KExiv2Qt6
%{_includedir}/KExiv2Qt6/*
%dir %{_libdir}/cmake/KExiv2Qt6
%{_libdir}/cmake/KExiv2Qt6/KExiv2Qt6*.cmake
%{_libdir}/libKExiv2Qt6.so
%doc README TODO
%files qt5
%defattr(-,root,root)
%{_kde5_libdir}/libKF5KExiv2.so.*
%{_datadir}/qlogging-categories5/libkexiv2.categories
%doc AUTHORS LICENSES
%files devel
%files qt5-devel
%defattr(-,root,root)
%dir %{_kde5_includedir}/KExiv2
%dir %{_kde5_includedir}/KExiv2/KExiv2
%{_kde5_includedir}/KExiv2/KExiv2/*
%dir %{_kde5_includedir}/KExiv2/kexiv2
%{_kde5_includedir}/KExiv2/kexiv2/*
%{_kde5_includedir}/KExiv2/libkexiv2_version.h
%dir %{_kde5_libdir}/cmake/KF5KExiv2
%{_kde5_libdir}/cmake/KF5KExiv2/*.cmake
%{_kde5_includedir}/KExiv2/*
%{_kde5_libdir}/libKF5KExiv2.so
%doc README TODO
%dir %{_kde5_libdir}/cmake/KF5KExiv2
%{_kde5_libdir}/cmake/KF5KExiv2/KF5KExiv2*.cmake
%changelog
* Sun Mar 24 2024 Automatic Build System <autodist@openmamba.org> 24.02.1-1mamba
- automatic version update by autodist
* Fri Mar 15 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 24.02.0-3mamba
- added -qt5 subpackages
* Mon Mar 11 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 24.02.0-2mamba
- rebuilt with qt6
* Fri Mar 01 2024 Automatic Build System <autodist@openmamba.org> 24.02.0-1mamba
- automatic version update by autodist
* Fri Feb 16 2024 Automatic Build System <autodist@openmamba.org> 23.08.5-1mamba
- automatic version update by autodist