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
Version: 23.08.5
Release: 1mamba
Version: 24.02.1
Release: 2mamba
Summary: A C++ interface around LibRaw library used to decode RAW picture files
Group: Graphical Desktop/Libraries/KDE
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/libkdcraw-%{version}.tar.xz
Source: https://download.kde.org/%{stable_kde6}/release-service/%{version}/src/libkdcraw-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libraw-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt6-qtbase-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: libraw-devel >= 0.15
Provides: libkdcraw5
Obsoletes: libkdcraw5 < 21.04.0
%description
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
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: libkdcraw5-devel
Obsoletes: libkdcraw5-devel < 21.04.0
%description 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.
%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
%prep
%setup -q
%build
%cmake_kde5 -d build
%cmake_kf6
%cmake_build
%cmake_kde5 -d build5
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%makeinstall -C build5
%cmake_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_kde5_libdir}/libKF5KDcraw.so.*
%{_datadir}/qlogging-categories5/libkdcraw.categories
%{_libdir}/libKDcrawQt6.so.*
%{_datadir}/qlogging-categories6/libkdcraw.categories
%doc AUTHORS LICENSES
%files devel
%defattr(-,root,root)
%{_kde5_libdir}/libKF5KDcraw.so
%dir %{_kde5_includedir}/KDCRAW
%{_kde5_includedir}/KDCRAW/libkdcraw_version.h
%dir %{_kde5_includedir}/KDCRAW
%dir %{_kde5_includedir}/KDCRAW/KDCRAW
%{_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
%dir %{_includedir}/KDcrawQt6
%{_includedir}/KDcrawQt6/*
%{_libdir}/libKDcrawQt6.so
%dir %{_libdir}/cmake/KDcrawQt6
%{_libdir}/cmake/KDcrawQt6/KDcrawQt6*.cmake
%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
* 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
- automatic version update by autodist