added qt5 subpackages [release 24.02.1-2mamba;Thu Mar 28 2024]

This commit is contained in:
Silvan Calarco 2024-03-29 18:54:39 +01:00
parent 66a675f5a3
commit 3af7aae1b7

View File

@ -1,25 +1,25 @@
Name: libkdcraw Name: libkdcraw
Version: 23.08.5 Version: 24.02.1
Release: 1mamba Release: 2mamba
Summary: A C++ interface around LibRaw library used to decode RAW picture files Summary: A C++ interface around LibRaw library used to decode RAW picture files
Group: Graphical Desktop/Libraries/KDE Group: Graphical Desktop/Libraries/KDE
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://kde.org/ URL: https://kde.org/
Source: http://download.kde.org/stable/release-service/%{version}/src/libkdcraw-%{version}.tar.xz Source: https://download.kde.org/%{stable_kde6}/release-service/%{version}/src/libkdcraw-%{version}.tar.xz
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libraw-devel BuildRequires: libraw-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtbase-devel
BuildRequires: qt6-qtbase-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: cmake BuildRequires: cmake
BuildRequires: libraw-devel >= 0.15 BuildRequires: libraw-devel >= 0.15
Provides: libkdcraw5
Obsoletes: libkdcraw5 < 21.04.0
%description %description
Libkdcraw is a C++ interface around LibRaw library used to decode RAW picture files. Libkdcraw is a C++ interface around LibRaw library used to decode RAW picture files.
@ -30,50 +30,87 @@ 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: libkdcraw5-devel
Obsoletes: libkdcraw5-devel < 21.04.0
%description devel %description devel
KDE interface library for dcraw command line program to decode RAW picture files. KDE interface library for dcraw command line program to decode RAW picture files.
This package contains static libraries and header files needed for development. This package contains static libraries and header files needed for development.
%package -n %{name}5
Group: System/Libraries
Summary: A C++ interface around LibRaw library used to decode RAW picture files
%description -n %{name}5
KDE interface library for dcraw command line program to decode RAW picture files.
%package -n %{name}5-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name}5 = %{?epoch:%epoch:}%{version}-%{release}
%description -n %{name}5-devel
KDE interface library for dcraw command line program to decode RAW picture files.
This package contains static libraries and header files needed for development.
%debug_package %debug_package
%prep %prep
%setup -q %setup -q
%build %build
%cmake_kde5 -d build %cmake_kf6
%cmake_build
%cmake_kde5 -d build5
%make %make
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build %makeinstall -C build5
%cmake_install
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_kde5_libdir}/libKF5KDcraw.so.* %{_libdir}/libKDcrawQt6.so.*
%{_datadir}/qlogging-categories5/libkdcraw.categories %{_datadir}/qlogging-categories6/libkdcraw.categories
%doc AUTHORS LICENSES %doc AUTHORS LICENSES
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_kde5_libdir}/libKF5KDcraw.so %dir %{_includedir}/KDcrawQt6
%dir %{_kde5_includedir}/KDCRAW %{_includedir}/KDcrawQt6/*
%{_kde5_includedir}/KDCRAW/libkdcraw_version.h %{_libdir}/libKDcrawQt6.so
%dir %{_kde5_includedir}/KDCRAW %dir %{_libdir}/cmake/KDcrawQt6
%dir %{_kde5_includedir}/KDCRAW/KDCRAW %{_libdir}/cmake/KDcrawQt6/KDcrawQt6*.cmake
%{_kde5_includedir}/KDCRAW/KDCRAW/*
%dir %{_kde5_includedir}/KDCRAW/kdcraw
%{_kde5_includedir}/KDCRAW/kdcraw/*.h
%dir %{_kde5_libdir}/cmake/KF5KDcraw
%{_kde5_libdir}/cmake/KF5KDcraw/KF5KDcraw*.cmake
%doc README TODO %doc README TODO
%files -n %{name}5
%defattr(-,root,root)
%{_kde5_libdir}/libKF5KDcraw.so.*
%{_datadir}/qlogging-categories5/libkdcraw.categories
%doc AUTHORS LICENSES
%files -n %{name}5-devel
%defattr(-,root,root)
%dir %{_kde5_includedir}/KDCRAW
%{_kde5_includedir}/KDCRAW/*
%dir %{_kde5_libdir}/cmake/KF5KDcraw
%{_kde5_libdir}/cmake/KF5KDcraw/KF5KDcraw*.cmake
%{_kde5_libdir}/libKF5KDcraw.so
%changelog %changelog
* Thu Mar 28 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 24.02.1-2mamba
- added qt5 subpackages
* Sun Mar 24 2024 Automatic Build System <autodist@openmamba.org> 24.02.1-1mamba
- automatic version update by autodist
* 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 * Fri Feb 16 2024 Automatic Build System <autodist@openmamba.org> 23.08.5-1mamba
- automatic version update by autodist - automatic version update by autodist