2024-01-05 21:28:38 +01:00
|
|
|
%define colord_uid 65441
|
|
|
|
%define colord_gid 65441
|
2024-01-05 21:28:38 +01:00
|
|
|
Name: colord
|
2024-01-23 22:16:38 +01:00
|
|
|
Version: 1.4.7
|
2024-01-05 21:28:38 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 21:28:38 +01:00
|
|
|
Summary: A system service that makes it easy to manage, install and generate color profiles
|
|
|
|
Group: System/Servers
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 21:28:39 +01:00
|
|
|
URL: https://www.freedesktop.org/software/colord/
|
2024-01-05 21:28:38 +01:00
|
|
|
Source: http://www.freedesktop.org/software/colord/releases/colord-%{version}.tar.xz
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libglib-devel
|
2024-01-05 21:28:38 +01:00
|
|
|
BuildRequires: libgudev-devel
|
2024-01-05 21:28:38 +01:00
|
|
|
BuildRequires: libgusb-devel
|
|
|
|
BuildRequires: liblcms2-devel
|
2024-01-05 21:28:38 +01:00
|
|
|
BuildRequires: libpolkit-devel
|
2024-01-05 21:28:38 +01:00
|
|
|
BuildRequires: libsqlite-devel
|
2024-01-05 21:28:38 +01:00
|
|
|
BuildRequires: libsystemd-devel
|
|
|
|
BuildRequires: libudev-devel
|
2024-01-05 21:28:38 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: vala-tools
|
2024-01-05 21:28:38 +01:00
|
|
|
BuildRequires: argyllcms
|
2024-01-05 21:28:38 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
colord is a system service that makes it easy to manage, install and generate color profiles to accurately color manage input and output devices.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: liblcms2-devel
|
|
|
|
Provides: colord-devel
|
2024-01-05 21:28:39 +01:00
|
|
|
Obsoletes: colord-devel < 1.4.6
|
2024-01-05 21:28:38 +01:00
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
2024-01-05 21:28:39 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-05 21:28:38 +01:00
|
|
|
|
|
|
|
%package apidocs
|
|
|
|
Group: Documentation
|
|
|
|
Summary: %{name} API documentation
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: gtk-doc
|
|
|
|
|
|
|
|
%description apidocs
|
|
|
|
This package includes the %{name} API documentation.
|
|
|
|
|
2024-01-05 21:28:39 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 21:28:38 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-05 21:28:39 +01:00
|
|
|
%meson
|
|
|
|
|
|
|
|
#\
|
|
|
|
# -Denable-vala=true \
|
|
|
|
# -Denable-sane=true
|
2024-01-05 21:28:38 +01:00
|
|
|
|
2024-01-05 21:28:38 +01:00
|
|
|
%meson_build
|
2024-01-05 21:28:38 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 21:28:38 +01:00
|
|
|
%meson_install
|
2024-01-05 21:28:38 +01:00
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 21:28:38 +01:00
|
|
|
%pre
|
|
|
|
if [ $1 -ge 1 ]; then
|
|
|
|
# add Colord user
|
|
|
|
/usr/sbin/groupadd colord -g %{colord_gid} &>/dev/null
|
|
|
|
/usr/sbin/useradd -u %{colord_uid} -c 'Colord user' -d /dev/null \
|
|
|
|
-s /bin/false colord -g %{colord_gid} 2>/dev/null
|
|
|
|
systemctl -q daemon-reload
|
|
|
|
systemd-tmpfiles --create colord.conf
|
|
|
|
fi
|
|
|
|
:
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
:
|
|
|
|
|
|
|
|
%preun
|
|
|
|
# erase
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
userdel colord || true
|
|
|
|
groupdel colord || true
|
|
|
|
fi
|
|
|
|
:
|
|
|
|
|
2024-01-05 21:28:38 +01:00
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
2024-01-05 21:28:38 +01:00
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 21:28:38 +01:00
|
|
|
#%{_sysconfdir}/colord.conf
|
2024-01-05 21:28:38 +01:00
|
|
|
#%{_sysconfdir}/dbus-1/system.d/org.freedesktop.ColorManager.conf
|
2024-01-05 21:28:38 +01:00
|
|
|
#%{_sysconfdir}/dbus-1/system.d/org.freedesktop.colord-sane.conf
|
|
|
|
%{_bindir}/cd-create-profile
|
|
|
|
%{_bindir}/cd-fix-profile
|
|
|
|
%{_bindir}/cd-iccdump
|
2024-01-05 21:28:38 +01:00
|
|
|
%{_bindir}/cd-it8
|
2024-01-05 21:28:38 +01:00
|
|
|
%{_bindir}/colormgr
|
2024-01-05 21:28:39 +01:00
|
|
|
%{_udevrulesdir}/69-cd-sensors.rules
|
|
|
|
%{_udevrulesdir}/95-cd-devices.rules
|
2024-01-05 21:28:38 +01:00
|
|
|
%{_unitdir}/colord.service
|
|
|
|
%{_userunitdir}/colord-session.service
|
|
|
|
%{_tmpfilesdir}/colord.conf
|
2024-01-05 21:28:38 +01:00
|
|
|
%dir %{_datadir}/color/icc/colord
|
|
|
|
%{_datadir}/color/icc/colord/*.icc
|
|
|
|
%dir %{_datadir}/colord
|
2024-01-05 21:28:38 +01:00
|
|
|
%dir %{_datadir}/colord/cmf
|
|
|
|
%{_datadir}/colord/cmf/*
|
2024-01-05 21:28:38 +01:00
|
|
|
%dir %{_datadir}/colord/icons
|
|
|
|
%{_datadir}/colord/icons/*.svg
|
2024-01-05 21:28:38 +01:00
|
|
|
%dir %{_datadir}/colord/illuminant
|
|
|
|
%{_datadir}/colord/illuminant/*
|
|
|
|
%dir %{_datadir}/colord/ref
|
|
|
|
%{_datadir}/colord/ref/*
|
2024-01-05 21:28:38 +01:00
|
|
|
%dir %{_datadir}/colord/ti1
|
|
|
|
%{_datadir}/colord/ti1/*.ti1
|
|
|
|
%{_datadir}/bash-completion/completions/colormgr
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.freedesktop.ColorHelper.gschema.xml
|
|
|
|
%{_datadir}/dbus-1/interfaces/org.freedesktop.ColorManager*.xml
|
|
|
|
%{_datadir}/dbus-1/interfaces/org.freedesktop.ColorHelper.xml
|
|
|
|
%{_datadir}/dbus-1/system-services/org.freedesktop.ColorManager.service
|
|
|
|
%{_datadir}/dbus-1/services/org.freedesktop.ColorHelper.service
|
2024-01-05 21:28:38 +01:00
|
|
|
%{_datadir}/dbus-1/system.d/org.freedesktop.ColorManager.conf
|
2024-01-05 21:28:38 +01:00
|
|
|
%{_datadir}/polkit-1/actions/org.freedesktop.color.policy
|
|
|
|
%{_mandir}/man1/*.1*
|
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libcolord*.so.*
|
|
|
|
%{_libdir}/libcolorhug.so.*
|
|
|
|
%dir %{_libdir}/colord-plugins
|
2024-01-05 21:28:38 +01:00
|
|
|
%{_libdir}/colord-plugins/libcolord_sensor_camera.so
|
|
|
|
%{_libdir}/colord-plugins/libcolord_sensor_scanner.so
|
|
|
|
%{_libdir}/girepository-1.0/Colord-1.0.typelib
|
|
|
|
%{_libdir}/girepository-1.0/Colorhug-1.0.typelib
|
2024-01-05 21:28:38 +01:00
|
|
|
%dir %{_libdir}/colord-sensors
|
|
|
|
%{_libdir}/colord-sensors/libcolord*
|
|
|
|
%{_libexecdir}/colord
|
|
|
|
%{_libexecdir}/colord-session
|
2024-01-05 21:28:38 +01:00
|
|
|
%doc AUTHORS COPYING
|
2024-01-05 21:28:38 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/colord-1
|
|
|
|
%{_includedir}/colord-1/colord-session/cd-session.h
|
|
|
|
%{_includedir}/colord-1/colord.h
|
|
|
|
%{_includedir}/colord-1/colord-private.h
|
|
|
|
%dir %{_includedir}/colord-1/colord
|
|
|
|
%{_includedir}/colord-1/colord/*.h
|
|
|
|
%dir %{_includedir}/colord-1/colorhug
|
|
|
|
%{_includedir}/colord-1/colorhug/*.h
|
|
|
|
#%{_datadir}/vala/vapi/colord.vapi
|
|
|
|
%{_libdir}/libcolord.so
|
|
|
|
%{_libdir}/libcolorhug.so
|
|
|
|
%{_libdir}/lib*private.so
|
2024-01-05 21:28:38 +01:00
|
|
|
%{_datadir}/gir-1.0/Colorhug-1.0.gir
|
2024-01-05 21:28:38 +01:00
|
|
|
%{_datadir}/gir-1.0/Colord-1.0.gir
|
2024-01-05 21:28:38 +01:00
|
|
|
#%{_datadir}/vala/vapi/colord.vapi
|
2024-01-05 21:28:38 +01:00
|
|
|
%{_libdir}/pkgconfig/colorhug.pc
|
|
|
|
%{_libdir}/pkgconfig/colord.pc
|
2024-01-05 21:28:38 +01:00
|
|
|
#%doc ChangeLog NEWS TODO
|
2024-01-05 21:28:38 +01:00
|
|
|
|
|
|
|
%files apidocs
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_datadir}/gtk-doc/html/%{name}
|
|
|
|
%{_datadir}/gtk-doc/html/%{name}/*
|
|
|
|
|
|
|
|
%changelog
|
2024-01-23 22:16:38 +01:00
|
|
|
* Mon Jan 22 2024 Automatic Build System <autodist@openmamba.org> 1.4.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:28:39 +01:00
|
|
|
* Thu Jun 09 2022 Automatic Build System <autodist@mambasoft.it> 1.4.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:28:38 +01:00
|
|
|
* Wed Nov 04 2020 Automatic Build System <autodist@mambasoft.it> 1.4.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:28:38 +01:00
|
|
|
* Tue Aug 13 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.4-2mamba
|
|
|
|
- rebuilt
|
|
|
|
|
2024-01-05 21:28:38 +01:00
|
|
|
* Sun Mar 10 2019 Automatic Build System <autodist@mambasoft.it> 1.4.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:28:38 +01:00
|
|
|
* Mon Aug 13 2018 Automatic Build System <autodist@mambasoft.it> 1.4.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:28:38 +01:00
|
|
|
* Mon Apr 24 2017 Automatic Build System <autodist@mambasoft.it> 1.3.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:28:38 +01:00
|
|
|
* Mon Dec 05 2016 Automatic Build System <autodist@mambasoft.it> 1.3.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:28:38 +01:00
|
|
|
* Sat Sep 17 2016 Automatic Build System <autodist@mambasoft.it> 1.3.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 21:28:38 +01:00
|
|
|
* Sun Jul 03 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.2-2mamba
|
|
|
|
- create user and group required by systemd tmpfile conf
|
|
|
|
|
2024-01-05 21:28:38 +01:00
|
|
|
* Tue Apr 19 2016 Automatic Build System <autodist@mambasoft.it> 1.3.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:28:38 +01:00
|
|
|
* Fri Mar 11 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.12-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: libcolord-devel>=1.2.12-1mamba
|
|
|
|
|
|
|
|
* Fri Mar 11 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.12-1mamba
|
|
|
|
- update to 1.2.12
|
2024-01-05 21:28:38 +01:00
|
|
|
- add libcolord and rename colord-devel to libcolord-devel
|
|
|
|
|
2024-01-05 21:28:38 +01:00
|
|
|
* Sat Nov 22 2014 Automatic Build System <autodist@mambasoft.it> 1.2.5-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Oct 13 2014 Automatic Build System <autodist@mambasoft.it> 1.2.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Sep 11 2014 Automatic Build System <autodist@mambasoft.it> 1.2.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed May 28 2014 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Apr 30 2014 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Oct 01 2013 Automatic Build System <autodist@mambasoft.it> 1.1.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Aug 29 2013 Automatic Build System <autodist@mambasoft.it> 1.1.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 21:28:38 +01:00
|
|
|
* Tue Jul 16 2013 Automatic Build System <autodist@mambasoft.it> 1.0.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Jun 14 2013 Automatic Build System <autodist@mambasoft.it> 1.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon May 13 2013 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri May 03 2013 Automatic Build System <autodist@mambasoft.it> 0.1.34-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Apr 19 2013 Automatic Build System <autodist@mambasoft.it> 0.1.33-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Apr 10 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.31-2mamba
|
|
|
|
- rebuilt with vala
|
|
|
|
|
|
|
|
* Thu Mar 21 2013 Automatic Build System <autodist@mambasoft.it> 0.1.31-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Mar 02 2013 Automatic Build System <autodist@mambasoft.it> 0.1.30-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Jan 20 2013 Automatic Build System <autodist@mambasoft.it> 0.1.28-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Jan 10 2013 Automatic Build System <autodist@mambasoft.it> 0.1.27-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Oct 31 2012 Automatic Build System <autodist@mambasoft.it> 0.1.24-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Oct 13 2012 Automatic Build System <autodist@mambasoft.it> 0.1.23-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Aug 13 2012 Automatic Build System <autodist@mambasoft.it> 0.1.22-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue May 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.18-2mamba
|
|
|
|
- colord-devel: require liblcms2-devel needed by pkg-config file
|
|
|
|
|
|
|
|
* Tue Apr 10 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.18-1mamba
|
|
|
|
- update to 0.1.18
|
|
|
|
|
|
|
|
* Mon Nov 28 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.15-1mamba
|
|
|
|
- package created by autospec
|