Richard Hughes 7bc695
Summary:   Color daemon
Richard Hughes 7bc695
Name:      colord
Richard Hughes ab09d0
Version:   0.1.15
Richard Hughes 01dd07
Release:   1%{?dist}
Richard Hughes b1cc79
License:   GPLv2+ and LGPLv2+
Richard Hughes ab09d0
URL:       http://www.freedesktop.org/software/colord/
Richard Hughes ab09d0
Source0:   http://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz
Richard Hughes 7bc695
Richard Hughes 8d1633
BuildRequires: dbus-devel
Richard Hughes 7bc695
BuildRequires: docbook-utils
Richard Hughes 7bc695
BuildRequires: gettext
Richard Hughes 7bc695
BuildRequires: glib2-devel
Richard Hughes 7bc695
BuildRequires: intltool
Richard Hughes 7bc695
BuildRequires: lcms2-devel
Richard Hughes 5b359c
BuildRequires: libgudev1-devel
Richard Hughes 8d1633
BuildRequires: libusb1-devel
Richard Hughes 8d1633
BuildRequires: polkit-devel
Richard Hughes 5b359c
BuildRequires: sane-backends-devel
Richard Hughes 8d1633
BuildRequires: sqlite-devel
Richard Hughes ab09d0
BuildRequires: gobject-introspection-devel
Richard Hughes ab09d0
BuildRequires: vala-tools
Richard Hughes ab09d0
Richard Hughes ab09d0
Requires: shared-color-profiles
Richard Hughes ab09d0
Requires: color-filesystem
Richard Hughes 7bc695
Richard Hughes 7bc695
%description
Richard Hughes 7bc695
colord is a low level system activated daemon that maps color devices
Richard Hughes 7bc695
to color profiles in the system context.
Richard Hughes 7bc695
Richard Hughes 7bc695
%package devel
Richard Hughes 7bc695
Summary: Development package for %{name}
Richard Hughes 7bc695
Requires: %{name} = %{version}-%{release}
Richard Hughes 7bc695
Richard Hughes 7bc695
%description devel
Richard Hughes 7bc695
Files for development with %{name}.
Richard Hughes 7bc695
Richard Hughes 7bc695
%prep
Richard Hughes 7bc695
%setup -q
Richard Hughes 7bc695
Richard Hughes 7bc695
%build
Richard Hughes 7bc695
%configure \
Richard Hughes 7bc695
        --disable-static \
Richard Hughes b1cc79
        --disable-rpath \
Richard Hughes b1cc79
        --disable-examples \
Richard Hughes 7bc695
        --disable-dependency-tracking
Richard Hughes 7bc695
Richard Hughes 7bc695
make %{?_smp_mflags}
Richard Hughes 7bc695
Richard Hughes 7bc695
%install
Richard Hughes 7bc695
make install DESTDIR=$RPM_BUILD_ROOT
Richard Hughes 7bc695
Richard Hughes 7bc695
# Remove static libs and libtool archives.
Richard Hughes 7bc695
find %{buildroot} -name '*.la' -exec rm -f {} ';'
Richard Hughes 7bc695
find %{buildroot} -name '*.a' -exec rm -f {} ';'
Richard Hughes 7bc695
Richard Hughes 22339f
# databases
Richard Hughes 22339f
touch $RPM_BUILD_ROOT%{_localstatedir}/lib/colord/mapping.db
Richard Hughes 22339f
touch $RPM_BUILD_ROOT%{_localstatedir}/lib/colord/storage.db
Richard Hughes 22339f
Richard Hughes 7bc695
%find_lang %{name}
Richard Hughes 7bc695
Richard Hughes 7bc695
%post -p /sbin/ldconfig
Richard Hughes 7bc695
Richard Hughes 7bc695
%postun -p /sbin/ldconfig
Richard Hughes 7bc695
Richard Hughes 7bc695
%files -f %{name}.lang
Richard Hughes 7bc695
%defattr(-,root,root,-)
Richard Hughes 7bc695
%doc README AUTHORS NEWS COPYING
Richard Hughes 7bc695
%{_libexecdir}/colord
Richard Hughes 22339f
%dir %{_localstatedir}/lib/colord
Richard Hughes 8d1633
%{_bindir}/*
Richard Hughes 7bc695
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.ColorManager.conf
Richard Hughes 7bc695
%{_datadir}/dbus-1/interfaces/org.freedesktop.ColorManager*.xml
Richard Hughes 7bc695
%{_datadir}/polkit-1/actions/org.freedesktop.color.policy
Richard Hughes 7bc695
%{_datadir}/dbus-1/system-services/org.freedesktop.ColorManager.service
Richard Hughes 8d1633
%{_datadir}/man/man1/*.1.gz
Richard Hughes 7bc695
%{_libdir}/libcolord.so.*
Richard Hughes 5b359c
%config %{_sysconfdir}/colord.conf
Richard Hughes 5b359c
/lib/udev/rules.d/*.rules
Richard Hughes 8d1633
%dir %{_datadir}/color/icc/colord
Richard Hughes 8d1633
%{_datadir}/color/icc/colord/*.ic?
Richard Hughes ab09d0
%{_libdir}/colord-sensors
Richard Hughes ab09d0
%{_libdir}/girepository-1.0/*.typelib
Richard Hughes 22339f
%ghost %{_localstatedir}/lib/colord/*.db
Richard Hughes 7bc695
Richard Hughes 7bc695
%files devel
Richard Hughes 7bc695
%defattr(-,root,root,-)
Richard Hughes ab09d0
%{_includedir}/colord-1
Richard Hughes 7bc695
%{_libdir}/libcolord.so
Richard Hughes 7bc695
%{_libdir}/pkgconfig/colord.pc
Richard Hughes ab09d0
%{_datadir}/gir-1.0/*.gir
Richard Hughes ab09d0
%{_datadir}/vala/vapi/*.vapi
Richard Hughes 7bc695
Richard Hughes 7bc695
%changelog
Richard Hughes ab09d0
* Sat Nov 26 2011 Richard Hughes <richard@hughsie.com> 0.1.15-1
Richard Hughes ab09d0
- New upstream version.
Richard Hughes ab09d0
- This release fixes an important security bug: CVE-2011-4349.
Richard Hughes ab09d0
- Do not crash the daemon if adding the device to the db failed
Richard Hughes ab09d0
- Fix a memory leak when getting properties from a device
Richard Hughes ab09d0
Richard Hughes 01dd07
* Fri May 06 2011 Richard Hughes <richard@hughsie.com> 0.1.7-1
Richard Hughes 01dd07
- New upstream version.
Richard Hughes 01dd07
- Create /var/lib/colord at buildtime not runtime for SELinux
Richard Hughes 01dd07
- Ensure profiles with embedded profile checksums are parsed correctly
Richard Hughes 01dd07
- Move the colorimeter rules to be run before 70-acl.rules
Richard Hughes 01dd07
- Stop watching the client when the sensor is finalized
Richard Hughes 01dd07
- Ensure the source is destroyed when we unref CdUsb to prevent a crash
Richard Hughes 01dd07
- Only enable the volume mount tracking when searching volumes
Richard Hughes 01dd07
Richard Hughes 22339f
* Tue Apr 26 2011 Richard Hughes <rhughes@redhat.com> 0.1.6-2
Richard Hughes 22339f
- Own /var/lib/colord and /var/lib/colord/*.db
Richard Hughes 22339f
Richard Hughes 8d1633
* Sun Apr 24 2011 Richard Hughes <richard@hughsie.com> 0.1.6-1
Richard Hughes 8d1633
- New upstream version.
Richard Hughes 8d1633
Richard Hughes 0d30b0
* Thu Mar 31 2011 Richard Hughes <richard@hughsie.com> 0.1.5-1
Richard Hughes 0d30b0
- New upstream version.
Richard Hughes 0d30b0
Richard Hughes f75ae0
* Wed Mar 09 2011 Richard Hughes <richard@hughsie.com> 0.1.4-1
Richard Hughes f75ae0
- New upstream version.
Richard Hughes f75ae0
Richard Hughes b1cc79
* Mon Feb 28 2011 Richard Hughes <richard@hughsie.com> 0.1.3-1
Richard Hughes b1cc79
- New upstream version.
Richard Hughes b1cc79
f6d8f7
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-3
f6d8f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f6d8f7
Richard Hughes 6e5304
* Fri Jan 28 2011 Richard Hughes <richard@hughsie.com> 0.1.1-2
Richard Hughes 6e5304
- Rebuild in the vain hope koji isn't broken today.
Richard Hughes 6e5304
Richard Hughes 5b359c
* Wed Jan 26 2011 Richard Hughes <richard@hughsie.com> 0.1.1-1
Richard Hughes 5b359c
- New upstream version.
Richard Hughes 5b359c
Richard Hughes 7bc695
* Thu Jan 13 2011 Richard Hughes <richard@hughsie.com> 0.1.0-1
Richard Hughes 7bc695
- Initial version for Fedora package review.