%define _udevrulesdir %{_prefix}/lib/udev/rules.d %define major 1 %define gir_major 1.0 %define libname %mklibname %{name} %{major} %define devname %mklibname -d %{name} %define girname %mklibname %{name}-gir %{gir_major} Summary: Color daemon Group: Graphical desktop/GNOME Name: colord Version: 0.1.23 Release: %mkrel 3 License: GPLv2+ and LGPLv2+ URL: http://www.freedesktop.org/software/colord/ Source0: http://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz BuildRequires: pkgconfig(glib-2.0) >= 2.28.0 BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(gio-2.0) >= 2.25.9 BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(gmodule-2.0) BuildRequires: pkgconfig(lcms2) BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(gudev-1.0) BuildRequires: pkgconfig(gusb) BuildRequires: pkgconfig(libusb-1.0) >= 1.0.0 BuildRequires: pkgconfig(polkit-gobject-1) >= 0.103 BuildRequires: sane-devel BuildRequires: intltool >= 0.35.0 BuildRequires: docbook-utils BuildRequires: gobject-introspection-devel >= 0.9.8 BuildRequires: vala-tools Requires: shared-color-profiles Requires(post): rpm-helper >= 0.24.8-1 Requires(preun): rpm-helper >= 0.24.8-1 %description colord is a low level system activated daemon that maps color devices to color profiles in the system context. %package -n %{libname} Summary: Color daemon run-time libraries Group: System/Libraries Requires: %{name} = %{version}-%{release} %description -n %{libname} colord is a low level system activated daemon that maps color devices to color profiles in the system context. This package contains the run-time libraries for %{name}. %package -n %{devname} Summary: Development files and headers for %{name} Requires: %{libname} = %{version}-%{release} Provides: %{name}-devel = %{version}-%{release} Provides: lib%{name}-devel = %{version}-%{release} Requires: pkgconfig(dbus-1) Requires: pkgconfig(lcms2) %description -n %{devname} colord is a low level system activated daemon that maps color devices to color profiles in the system context. This package contains the development files and headers for %{name}. %package -n %{girname} Summary: GObject Introspection interface description for %{name} Group: System/Libraries Requires: %{libname} = %{version}-%{release} %description -n %{girname} GObject Introspection interface description for %{name}. %prep %setup -q %apply_patches %build %configure2_5x \ --enable-introspection=yes \ --disable-static \ --disable-rpath \ --disable-examples \ --disable-silent-rules \ --disable-schemas-compile \ --with-systemdsystemunitdir=%{_unitdir} %make %install %makeinstall_std # Remove libtool archives. find %{buildroot} -name '*.la' -exec rm -f {} ';' # databases touch %{buildroot}%{_localstatedir}/lib/colord/mapping.db touch %{buildroot}%{_localstatedir}/lib/colord/storage.db %find_lang %{name} %files -f %{name}.lang %doc README AUTHORS NEWS MAINTAINERS %config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.ColorManager.conf %config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.colord-sane.conf %config(noreplace) %{_sysconfdir}/colord.conf %{_sysconfdir}/bash_completion.d/colormgr-completion.bash %{_bindir}/cd-create-profile %{_bindir}/cd-fix-profile %{_bindir}/colormgr %{_libexecdir}/colord %{_libdir}/colord-sensors %{_libexecdir}/colord-sane %{_unitdir}/colord-sane.service %{_unitdir}/colord.service %{_udevrulesdir}/*.rules %{_datadir}/color/icc/colord %{_datadir}/dbus-1/interfaces/org.freedesktop.ColorManager*.xml %{_datadir}/dbus-1/system-services/org.freedesktop.ColorManager.service %{_datadir}/dbus-1/interfaces/org.freedesktop.colord.sane.xml %{_datadir}/dbus-1/system-services/org.freedesktop.colord-sane.service %{_datadir}/polkit-1/actions/org.freedesktop.color.policy %dir %{_localstatedir}/lib/colord %ghost %{_localstatedir}/lib/colord/*.db %{_mandir}/man1/cd-create-profile.1.* %{_mandir}/man1/cd-fix-profile.1.* %{_mandir}/man1/colormgr.1.* %files -n %{libname} %{_libdir}/lib%{name}.so.%{major}* %files -n %{girname} %{_libdir}/girepository-1.0/Colord-%{gir_major}.typelib %files -n %{devname} %{_includedir}/%{name}-1 %{_libdir}/lib%{name}.so %{_libdir}/pkgconfig/%{name}.pc %{_datadir}/gir-1.0/Colord-%{gir_major}.gir %{_datadir}/vala/vapi/colord.vapi %changelog * Fri Jan 11 2013 umeabot <umeabot> 0.1.23-3.mga3 + Revision: 348009 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Jan 02 2013 pterjan <pterjan> 0.1.23-2.mga3 + Revision: 337862 - Fix for _libdir != _libexecdir * Fri Oct 19 2012 fwang <fwang> 0.1.23-1.mga3 + Revision: 308163 - drop unused instruction - new version 0.1.23 * Tue Jul 31 2012 sander85 <sander85> 0.1.22-1.mga3 + Revision: 276590 - New version: 0.1.22. * Fri Jun 15 2012 fwang <fwang> 0.1.21-1.mga3 + Revision: 260725 - update file list - update file list - new version 0.1.21 * Sat Apr 28 2012 tmb <tmb> 0.1.17-3.mga2 + Revision: 233625 - Require rpm-helper >= 0.24.8-1 for systemd support * Fri Apr 27 2012 tmb <tmb> 0.1.17-2.mga2 + Revision: 233529 - rebuild for versioned rpm-helper requires * Fri Mar 02 2012 wally <wally> 0.1.17-1.mga2 + Revision: 216838 - new version 0.1.17 * Tue Jan 17 2012 wally <wally> 0.1.16-1.mga2 + Revision: 197403 - new version 0.1.16 - drop patch from upstream - enable systemd support - clean .spec a bit * Tue Dec 13 2011 wally <wally> 0.1.15-4.mga2 + Revision: 181390 - fix setfacl path on udev rule (mga#3728) * Tue Dec 06 2011 wally <wally> 0.1.15-3.mga2 + Revision: 177826 - add patch from uptream git to fix possible rescan issues * Mon Nov 28 2011 wally <wally> 0.1.15-2.mga2 + Revision: 173797 - enable gusb support * Mon Nov 28 2011 wally <wally> 0.1.15-1.mga2 + Revision: 173768 - new version 0.1.15 - fixes CVE-2011-4349 * Fri Nov 11 2011 wally <wally> 0.1.14-1.mga2 + Revision: 166743 - new version 0.1.14 * Mon Oct 03 2011 fwang <fwang> 0.1.13-1.mga2 + Revision: 151287 - new version 0.1.13 * Mon Oct 03 2011 fwang <fwang> 0.1.12-3.mga2 + Revision: 151245 - add more br - br polkit - fix wrong num - add req - update file list - update br of sane - cleanup br * Tue Sep 06 2011 fwang <fwang> 0.1.12-2.mga2 + Revision: 139048 - add req on private requires * Tue Aug 30 2011 fwang <fwang> 0.1.12-1.mga2 + Revision: 136565 - new version 0.1.12 + wally <wally> - new version 0.1.11 - enable introspection * Tue Jul 12 2011 ahmad <ahmad> 0.1.10-1.mga2 + Revision: 123115 - Update to 0.1.10 * Mon Jul 11 2011 wally <wally> 0.1.9-2.mga2 + Revision: 122327 - fix requires * Tue Jul 05 2011 wally <wally> 0.1.9-1.mga2 + Revision: 118871 - imported package colord