75 lines
2.1 KiB
RPMSpec
75 lines
2.1 KiB
RPMSpec
%define framework %(echo %name | sed "s|^kf6-||")
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: colord-kde
|
|
Version: 24.08.0
|
|
Release: 1mamba
|
|
Summary: Provides interfaces and session daemon to colord
|
|
Group: Graphical Desktop/Applications/Graphics
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://invent.kde.org/graphics/colord-kde
|
|
Source: https://download.kde.org/stable/release-service/%{version}/src/colord-kde-%{version}.tar.xz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libX11-devel
|
|
BuildRequires: libXext-devel
|
|
BuildRequires: libXrandr-devel
|
|
BuildRequires: libXrender-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libglvnd-devel
|
|
BuildRequires: libkf6-kcmutils-devel
|
|
BuildRequires: libkf6-kcolorscheme-devel
|
|
BuildRequires: libkf6-kconfig-devel
|
|
BuildRequires: libkf6-kconfigwidgets-devel
|
|
BuildRequires: libkf6-kcoreaddons-devel
|
|
BuildRequires: libkf6-kdbusaddons-devel
|
|
BuildRequires: libkf6-ki18n-devel
|
|
BuildRequires: libkf6-kwidgetsaddons-devel
|
|
BuildRequires: libkf6-kwindowsystem-devel
|
|
BuildRequires: liblcms2-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: qt6-qtbase-devel
|
|
BuildRequires: qt6-qtdeclarative-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: cmake
|
|
BuildRequires: kf6-rpm-macros
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
%description
|
|
Provides interfaces and session daemon to colord.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%cmake_kf6
|
|
|
|
%cmake_build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%cmake_install
|
|
|
|
%find_lang %{name} --with-qt --with-man --with-html --all-name || touch %{name}.lang
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%{_bindir}/colord-kde-icc-importer
|
|
%{_kf6_plugindir}/kded/colord.so
|
|
%{_qt6_plugindir}/plasma/kcms/systemsettings/kcm_colord.so
|
|
%{_datadir}/applications/colordkdeiccimporter.desktop
|
|
%{_datadir}/applications/kcm_colord.desktop
|
|
%doc COPYING
|
|
|
|
%changelog
|
|
* Mon Aug 26 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 24.08.0-1mamba
|
|
- package created using the webbuild interface
|