2011-01-13 18:13:46 +00:00
|
|
|
Summary: Color daemon
|
|
|
|
Name: colord
|
2012-01-17 12:04:42 +00:00
|
|
|
Version: 0.1.16
|
2012-01-20 18:16:05 +00:00
|
|
|
Release: 4%{?dist}
|
2011-02-28 13:17:03 +00:00
|
|
|
License: GPLv2+ and LGPLv2+
|
2011-08-01 09:09:13 +00:00
|
|
|
URL: http://www.freedesktop.org/software/colord/
|
|
|
|
Source0: http://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz
|
2011-01-13 18:13:46 +00:00
|
|
|
|
2012-01-20 05:29:18 +00:00
|
|
|
# https://bugs.freedesktop.org/show_bug.cgi?id=44966
|
|
|
|
Patch0: variant-iter.patch
|
|
|
|
|
2011-04-24 16:39:07 +00:00
|
|
|
BuildRequires: dbus-devel
|
2011-01-13 18:13:46 +00:00
|
|
|
BuildRequires: docbook-utils
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: lcms2-devel
|
2011-01-26 11:08:59 +00:00
|
|
|
BuildRequires: libgudev1-devel
|
2012-01-17 12:04:42 +00:00
|
|
|
BuildRequires: polkit-devel >= 0.103
|
2011-01-26 11:08:59 +00:00
|
|
|
BuildRequires: sane-backends-devel
|
2011-04-24 16:39:07 +00:00
|
|
|
BuildRequires: sqlite-devel
|
2011-08-01 09:09:13 +00:00
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
|
BuildRequires: vala-tools
|
2011-11-26 08:49:06 +00:00
|
|
|
BuildRequires: libgusb-devel
|
|
|
|
|
2011-07-06 08:40:36 +00:00
|
|
|
Requires: shared-color-profiles
|
2011-11-26 08:49:06 +00:00
|
|
|
Requires: color-filesystem
|
2012-01-17 12:04:42 +00:00
|
|
|
Requires(pre): shadow-utils
|
2011-01-13 18:13:46 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
colord is a low level system activated daemon that maps color devices
|
|
|
|
to color profiles in the system context.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development package for %{name}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Files for development with %{name}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2012-01-20 17:55:19 +00:00
|
|
|
%patch0 -p1 -b .iter
|
2011-01-13 18:13:46 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
2012-01-17 12:04:42 +00:00
|
|
|
--with-daemon-user=colord \
|
2011-01-13 18:13:46 +00:00
|
|
|
--disable-static \
|
2011-02-28 13:17:03 +00:00
|
|
|
--disable-rpath \
|
|
|
|
--disable-examples \
|
2011-01-13 18:13:46 +00:00
|
|
|
--disable-dependency-tracking
|
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
# Remove static libs and libtool archives.
|
|
|
|
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
|
|
find %{buildroot} -name '*.a' -exec rm -f {} ';'
|
|
|
|
|
2011-04-26 11:17:05 +00:00
|
|
|
# databases
|
|
|
|
touch $RPM_BUILD_ROOT%{_localstatedir}/lib/colord/mapping.db
|
|
|
|
touch $RPM_BUILD_ROOT%{_localstatedir}/lib/colord/storage.db
|
|
|
|
|
2011-01-13 18:13:46 +00:00
|
|
|
%find_lang %{name}
|
|
|
|
|
2012-01-17 12:04:42 +00:00
|
|
|
%pre
|
|
|
|
getent group colord >/dev/null || groupadd -r colord
|
|
|
|
getent passwd colord >/dev/null || \
|
|
|
|
useradd -r -g colord -d /var/lib/colord -s /sbin/nologin \
|
|
|
|
-c "User for colord" colord
|
|
|
|
exit 0
|
|
|
|
|
2011-01-13 18:13:46 +00:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README AUTHORS NEWS COPYING
|
|
|
|
%{_libexecdir}/colord
|
2012-01-17 12:04:42 +00:00
|
|
|
%attr(755,colord,colord) %dir %{_localstatedir}/lib/colord
|
2011-04-24 16:39:07 +00:00
|
|
|
%{_bindir}/*
|
2011-01-13 18:13:46 +00:00
|
|
|
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.ColorManager.conf
|
|
|
|
%{_datadir}/dbus-1/interfaces/org.freedesktop.ColorManager*.xml
|
|
|
|
%{_datadir}/polkit-1/actions/org.freedesktop.color.policy
|
|
|
|
%{_datadir}/dbus-1/system-services/org.freedesktop.ColorManager.service
|
2011-04-24 16:39:07 +00:00
|
|
|
%{_datadir}/man/man1/*.1.gz
|
2011-01-13 18:13:46 +00:00
|
|
|
%{_libdir}/libcolord.so.*
|
2011-01-26 11:08:59 +00:00
|
|
|
%config %{_sysconfdir}/colord.conf
|
|
|
|
/lib/udev/rules.d/*.rules
|
2011-04-24 16:39:07 +00:00
|
|
|
%dir %{_datadir}/color/icc/colord
|
|
|
|
%{_datadir}/color/icc/colord/*.ic?
|
2011-06-02 22:02:41 +00:00
|
|
|
%{_libdir}/colord-sensors
|
2011-08-01 09:09:13 +00:00
|
|
|
%{_libdir}/girepository-1.0/*.typelib
|
2011-04-26 11:17:05 +00:00
|
|
|
%ghost %{_localstatedir}/lib/colord/*.db
|
2012-01-17 12:04:42 +00:00
|
|
|
/lib/systemd/system/*.service
|
2011-01-13 18:13:46 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
2011-07-06 08:40:36 +00:00
|
|
|
%{_includedir}/colord-1
|
2011-01-13 18:13:46 +00:00
|
|
|
%{_libdir}/libcolord.so
|
|
|
|
%{_libdir}/pkgconfig/colord.pc
|
2011-08-01 09:09:13 +00:00
|
|
|
%{_datadir}/gir-1.0/*.gir
|
|
|
|
%{_datadir}/vala/vapi/*.vapi
|
2011-01-13 18:13:46 +00:00
|
|
|
|
|
|
|
%changelog
|
2012-01-20 18:16:05 +00:00
|
|
|
* Fri Jan 20 2012 Matthias Clasen <mclasen@redha.com> - 0.1.16-4
|
2012-01-20 05:29:18 +00:00
|
|
|
- Fix some obvious bugs
|
|
|
|
|
2012-01-17 12:04:42 +00:00
|
|
|
* Tue Jan 17 2012 Richard Hughes <richard@hughsie.com> 0.1.16-1
|
|
|
|
- New upstream version
|
|
|
|
- Now runs as a colord user rather than as root.
|
|
|
|
- Support more ICC metadata keys
|
|
|
|
- Install a systemd service file
|
|
|
|
- Support 2nd generation Huey hardware
|
|
|
|
|
2012-01-12 23:38:20 +00:00
|
|
|
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.15-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-11-26 08:49:06 +00:00
|
|
|
* Sat Nov 26 2011 Richard Hughes <richard@hughsie.com> 0.1.15-1
|
|
|
|
- New upstream version
|
|
|
|
- This release fixes an important security bug: CVE-2011-4349.
|
|
|
|
- Do not crash the daemon if adding the device to the db failed
|
|
|
|
- Fix a memory leak when getting properties from a device
|
|
|
|
|
2011-11-01 10:28:31 +00:00
|
|
|
* Tue Nov 01 2011 Richard Hughes <richard@hughsie.com> 0.1.14-1
|
|
|
|
- New upstream version
|
|
|
|
- Remove upstreamed patches
|
|
|
|
|
2011-10-03 09:45:05 +00:00
|
|
|
* Mon Oct 03 2011 Richard Hughes <richard@hughsie.com> 0.1.13-1
|
|
|
|
- New upstream version
|
|
|
|
- Ensure uid 0 can always create devices and profiles
|
|
|
|
- Reduce the CPU load of clients when assigning profiles
|
|
|
|
|
2011-08-30 11:53:50 +00:00
|
|
|
* Tue Aug 30 2011 Richard Hughes <richard@hughsie.com> 0.1.12-1
|
|
|
|
- New upstream version
|
|
|
|
|
2011-08-01 14:56:50 +00:00
|
|
|
* Mon Aug 01 2011 Richard Hughes <richard@hughsie.com> 0.1.11-2
|
|
|
|
- Remove the sedding libtool's internals as it breaks
|
|
|
|
generation of the GObject Introspection data.
|
|
|
|
|
2011-08-01 09:09:13 +00:00
|
|
|
* Mon Aug 01 2011 Richard Hughes <richard@hughsie.com> 0.1.11-1
|
|
|
|
- New upstream version
|
|
|
|
|
2011-07-06 08:40:36 +00:00
|
|
|
* Wed Jul 06 2011 Richard Hughes <richard@hughsie.com> 0.1.10-1
|
|
|
|
- New upstream version
|
|
|
|
|
2011-06-13 15:58:42 +00:00
|
|
|
* Mon Jun 13 2011 Richard Hughes <richard@hughsie.com> 0.1.9-1
|
|
|
|
- New upstream version
|
|
|
|
|
2011-06-02 22:02:41 +00:00
|
|
|
* Fri Jun 02 2011 Richard Hughes <richard@hughsie.com> 0.1.8-1
|
|
|
|
- New upstream version
|
|
|
|
- Add a webcam device kind
|
|
|
|
- Add a timestamp when making profiles default
|
|
|
|
- Add support for reading and writing ICC profile metadata
|
|
|
|
- Allow the client to pass file descriptors out of band to CreateProfile
|
|
|
|
- Prettify the device vendor and model names
|
|
|
|
- Split out the sensors into runtime-loadable shared objects
|
|
|
|
- Provide some GIO async variants for the methods in CdClient
|
|
|
|
- Ensure GPhoto2 devices get added to the device list
|
|
|
|
|
2011-05-06 11:00:25 +00:00
|
|
|
* Fri May 06 2011 Richard Hughes <richard@hughsie.com> 0.1.7-1
|
|
|
|
- New upstream version.
|
|
|
|
- Create /var/lib/colord at buildtime not runtime for SELinux
|
|
|
|
- Ensure profiles with embedded profile checksums are parsed correctly
|
|
|
|
- Move the colorimeter rules to be run before 70-acl.rules
|
|
|
|
- Stop watching the client when the sensor is finalized
|
|
|
|
- Ensure the source is destroyed when we unref CdUsb to prevent a crash
|
|
|
|
- Only enable the volume mount tracking when searching volumes
|
|
|
|
|
2011-04-26 11:17:05 +00:00
|
|
|
* Tue Apr 26 2011 Richard Hughes <rhughes@redhat.com> 0.1.6-2
|
|
|
|
- Own /var/lib/colord and /var/lib/colord/*.db
|
|
|
|
|
2011-04-24 16:39:07 +00:00
|
|
|
* Sun Apr 24 2011 Richard Hughes <richard@hughsie.com> 0.1.6-1
|
|
|
|
- New upstream version.
|
|
|
|
|
2011-03-31 11:11:17 +00:00
|
|
|
* Thu Mar 31 2011 Richard Hughes <richard@hughsie.com> 0.1.5-1
|
|
|
|
- New upstream version.
|
|
|
|
|
2011-03-09 16:48:05 +00:00
|
|
|
* Wed Mar 09 2011 Richard Hughes <richard@hughsie.com> 0.1.4-1
|
|
|
|
- New upstream version.
|
|
|
|
|
2011-02-28 13:17:03 +00:00
|
|
|
* Mon Feb 28 2011 Richard Hughes <richard@hughsie.com> 0.1.3-1
|
|
|
|
- New upstream version.
|
|
|
|
|
2011-02-08 10:02:58 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-28 17:07:06 +00:00
|
|
|
* Fri Jan 28 2011 Richard Hughes <richard@hughsie.com> 0.1.1-2
|
|
|
|
- Rebuild in the vain hope koji isn't broken today.
|
|
|
|
|
2011-01-26 11:08:59 +00:00
|
|
|
* Wed Jan 26 2011 Richard Hughes <richard@hughsie.com> 0.1.1-1
|
|
|
|
- New upstream version.
|
|
|
|
|
2011-01-13 18:13:46 +00:00
|
|
|
* Thu Jan 13 2011 Richard Hughes <richard@hughsie.com> 0.1.0-1
|
|
|
|
- Initial version for Fedora package review.
|