[6890] | 1 | %bcond_with firstbuild |
---|
[4632] | 2 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
| 3 | |
---|
[4616] | 4 | Summary: Color daemon |
---|
| 5 | Name: colord |
---|
[6890] | 6 | Version: 0.1.23 |
---|
[4616] | 7 | Release: 1%{?_dist_release} |
---|
[4632] | 8 | Group: System Environment/Daemons |
---|
[4616] | 9 | License: GPLv2+ and LGPLv2+ |
---|
| 10 | URL: http://gitorious.org/colord |
---|
[6890] | 11 | Source0: http://www.freedesktop.org/software/%{name}/releases/%{name}-%{version}.tar.xz |
---|
[4616] | 12 | |
---|
| 13 | BuildRequires: dbus-devel |
---|
| 14 | BuildRequires: docbook-utils |
---|
| 15 | BuildRequires: gettext |
---|
| 16 | BuildRequires: glib2-devel |
---|
| 17 | BuildRequires: intltool |
---|
| 18 | BuildRequires: lcms2-devel |
---|
| 19 | BuildRequires: libgudev1-devel |
---|
[6890] | 20 | BuildRequires: libgusb-devel |
---|
[4616] | 21 | BuildRequires: polkit-devel |
---|
| 22 | BuildRequires: sane-devel |
---|
| 23 | BuildRequires: sqlite3-devel |
---|
[6890] | 24 | %{!?with_firstbuild:BuildRequires: colord-devel, gobject-introspection-devel} |
---|
[4616] | 25 | Requires: shared-color-profiles |
---|
| 26 | |
---|
| 27 | Vendor: Project Vine |
---|
| 28 | Distribution: Vine Linux |
---|
| 29 | Packager: Takemikaduchi |
---|
| 30 | |
---|
| 31 | %description |
---|
| 32 | colord is a low level system activated daemon that maps color devices |
---|
| 33 | to color profiles in the system context. |
---|
| 34 | |
---|
| 35 | %package devel |
---|
| 36 | Summary: Development package for %{name} |
---|
[4632] | 37 | Group: Development/Libraries |
---|
[4616] | 38 | Requires: %{name} = %{version}-%{release} |
---|
[4704] | 39 | Requires: glib2-devel |
---|
| 40 | Requires: dbus-devel |
---|
| 41 | Requires: lcms2-devel |
---|
[4616] | 42 | |
---|
| 43 | %description devel |
---|
| 44 | Files for development with %{name}. |
---|
| 45 | |
---|
[4632] | 46 | # compat32 |
---|
| 47 | %package -n compat32-%{name} |
---|
| 48 | Summary: Color daemon |
---|
| 49 | Group: System Environment/Daemons |
---|
| 50 | Requires: %{name} = %{version}-%{release} |
---|
| 51 | |
---|
| 52 | %description -n compat32-%{name} |
---|
| 53 | colord is a low level system activated daemon that maps color devices |
---|
| 54 | to color profiles in the system context. |
---|
| 55 | |
---|
| 56 | %package -n compat32-%{name}-devel |
---|
| 57 | Summary: Development package for %{name} |
---|
| 58 | Group: Development/Libraries |
---|
| 59 | Requires: compat32-%{name} = %{version}-%{release} |
---|
| 60 | |
---|
| 61 | %description -n compat32-%{name}-devel |
---|
| 62 | Files for development with %{name}. |
---|
| 63 | |
---|
| 64 | |
---|
[4616] | 65 | %prep |
---|
| 66 | %setup -q |
---|
| 67 | |
---|
| 68 | %build |
---|
| 69 | %configure \ |
---|
| 70 | --disable-static \ |
---|
| 71 | --disable-rpath \ |
---|
| 72 | --disable-examples \ |
---|
| 73 | --disable-dependency-tracking |
---|
| 74 | |
---|
| 75 | sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
---|
| 76 | sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
---|
| 77 | |
---|
| 78 | make %{?_smp_mflags} |
---|
| 79 | |
---|
| 80 | %install |
---|
| 81 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 82 | |
---|
| 83 | # Remove static libs and libtool archives. |
---|
| 84 | find %{buildroot} -name '*.la' -exec rm -f {} ';' |
---|
| 85 | find %{buildroot} -name '*.a' -exec rm -f {} ';' |
---|
| 86 | |
---|
| 87 | # databases |
---|
| 88 | touch $RPM_BUILD_ROOT%{_localstatedir}/lib/colord/mapping.db |
---|
| 89 | touch $RPM_BUILD_ROOT%{_localstatedir}/lib/colord/storage.db |
---|
| 90 | |
---|
| 91 | %find_lang %{name} |
---|
| 92 | |
---|
| 93 | %post -p /sbin/ldconfig |
---|
| 94 | |
---|
| 95 | %postun -p /sbin/ldconfig |
---|
| 96 | |
---|
[4632] | 97 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
| 98 | |
---|
| 99 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
| 100 | |
---|
[4616] | 101 | %files -f %{name}.lang |
---|
| 102 | %defattr(-,root,root,-) |
---|
| 103 | %doc README AUTHORS NEWS COPYING |
---|
| 104 | %{_libexecdir}/colord |
---|
| 105 | %dir %{_localstatedir}/lib/colord |
---|
| 106 | %{_bindir}/* |
---|
[6431] | 107 | %{_sysconfdir}/bash_completion.d/colormgr-completion.bash |
---|
[4616] | 108 | %{_sysconfdir}/dbus-1/system.d/org.freedesktop.ColorManager.conf |
---|
[6011] | 109 | %{_sysconfdir}/dbus-1/system.d/org.freedesktop.colord-sane.conf |
---|
[4616] | 110 | %{_datadir}/dbus-1/interfaces/org.freedesktop.ColorManager*.xml |
---|
| 111 | %{_datadir}/polkit-1/actions/org.freedesktop.color.policy |
---|
[6011] | 112 | %{_datadir}/dbus-1/interfaces/org.freedesktop.colord.sane.xml |
---|
[4616] | 113 | %{_datadir}/dbus-1/system-services/org.freedesktop.ColorManager.service |
---|
[6011] | 114 | %{_datadir}/dbus-1/system-services/org.freedesktop.colord-sane.service |
---|
[4616] | 115 | %{_datadir}/man/man1/*.1.gz |
---|
| 116 | %{_libdir}/libcolord.so.* |
---|
[6890] | 117 | %{!?with_firstbuild:%{_libdir}/girepository-1.0/Colord-1.0.typelib} |
---|
[4616] | 118 | %config %{_sysconfdir}/colord.conf |
---|
| 119 | /lib/udev/rules.d/*.rules |
---|
| 120 | %dir %{_datadir}/color/icc/colord |
---|
| 121 | %{_datadir}/color/icc/colord/*.ic? |
---|
| 122 | %{_libdir}/colord-sensors |
---|
[6011] | 123 | %{_libexecdir}/colord-sane |
---|
[4616] | 124 | %ghost %{_localstatedir}/lib/colord/*.db |
---|
| 125 | |
---|
| 126 | %files devel |
---|
| 127 | %defattr(-,root,root,-) |
---|
| 128 | %{_includedir}/colord-1 |
---|
| 129 | %{_libdir}/libcolord.so |
---|
| 130 | %{_libdir}/pkgconfig/colord.pc |
---|
[6890] | 131 | %{!?with_firstbuild:%{_datadir}/gir-1.0/Colord-1.0.gir} |
---|
[4616] | 132 | |
---|
[4632] | 133 | # compat32 |
---|
| 134 | %if %{build_compat32} |
---|
| 135 | %files -n compat32-%{name} |
---|
| 136 | %defattr(-,root,root,-) |
---|
| 137 | %{_libdir}/libcolord.so.* |
---|
| 138 | |
---|
| 139 | %files -n compat32-%{name}-devel |
---|
| 140 | %defattr(-,root,root,-) |
---|
| 141 | %{_libdir}/libcolord.so |
---|
| 142 | %endif |
---|
| 143 | |
---|
[4616] | 144 | %changelog |
---|
[6890] | 145 | * Wed Sep 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.23-1 |
---|
| 146 | - new upstream release |
---|
| 147 | - change BuildRequires: libgusb-devel instead of libusb1-devel |
---|
| 148 | - add BuildRequires: gobject-introspection-devel |
---|
| 149 | |
---|
[6431] | 150 | * Tue Jun 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.21-1 |
---|
| 151 | - new upstream release |
---|
| 152 | |
---|
[6086] | 153 | * Mon Apr 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.19-1 |
---|
| 154 | - new upstream release |
---|
| 155 | |
---|
[6011] | 156 | * Sat Mar 31 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.18-1 |
---|
| 157 | - new upstream release |
---|
| 158 | |
---|
[5316] | 159 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.15-1 |
---|
| 160 | - new upstream release |
---|
| 161 | |
---|
[5168] | 162 | * Wed Nov 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.14-1 |
---|
| 163 | - new upstream release |
---|
| 164 | |
---|
[4881] | 165 | * Sat Oct 08 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.13-1 |
---|
| 166 | - new upstream release |
---|
| 167 | |
---|
[4704] | 168 | * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.12-1 |
---|
| 169 | - new upstream release |
---|
| 170 | |
---|
[4632] | 171 | * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.11-1 |
---|
| 172 | - new upstream release |
---|
| 173 | - create compat32 sub packages |
---|
| 174 | |
---|
[4616] | 175 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.10-1 |
---|
| 176 | - initial build for Vine Linux |
---|
| 177 | |
---|
| 178 | |
---|
| 179 | * Wed Jul 06 2011 Richard Hughes <richard@hughsie.com> 0.1.10-1 |
---|
| 180 | - New upstream version |
---|
| 181 | |
---|
| 182 | * Mon Jun 13 2011 Richard Hughes <richard@hughsie.com> 0.1.9-1 |
---|
| 183 | - New upstream version |
---|
| 184 | |
---|
| 185 | * Fri Jun 02 2011 Richard Hughes <richard@hughsie.com> 0.1.8-1 |
---|
| 186 | - New upstream version |
---|
| 187 | - Add a webcam device kind |
---|
| 188 | - Add a timestamp when making profiles default |
---|
| 189 | - Add support for reading and writing ICC profile metadata |
---|
| 190 | - Allow the client to pass file descriptors out of band to CreateProfile |
---|
| 191 | - Prettify the device vendor and model names |
---|
| 192 | - Split out the sensors into runtime-loadable shared objects |
---|
| 193 | - Provide some GIO async variants for the methods in CdClient |
---|
| 194 | - Ensure GPhoto2 devices get added to the device list |
---|
| 195 | |
---|
| 196 | * Fri May 06 2011 Richard Hughes <richard@hughsie.com> 0.1.7-1 |
---|
| 197 | - New upstream version. |
---|
| 198 | - Create /var/lib/colord at buildtime not runtime for SELinux |
---|
| 199 | - Ensure profiles with embedded profile checksums are parsed correctly |
---|
| 200 | - Move the colorimeter rules to be run before 70-acl.rules |
---|
| 201 | - Stop watching the client when the sensor is finalized |
---|
| 202 | - Ensure the source is destroyed when we unref CdUsb to prevent a crash |
---|
| 203 | - Only enable the volume mount tracking when searching volumes |
---|
| 204 | |
---|
| 205 | * Tue Apr 26 2011 Richard Hughes <rhughes@redhat.com> 0.1.6-2 |
---|
| 206 | - Own /var/lib/colord and /var/lib/colord/*.db |
---|
| 207 | |
---|
| 208 | * Sun Apr 24 2011 Richard Hughes <richard@hughsie.com> 0.1.6-1 |
---|
| 209 | - New upstream version. |
---|
| 210 | |
---|
| 211 | * Thu Mar 31 2011 Richard Hughes <richard@hughsie.com> 0.1.5-1 |
---|
| 212 | - New upstream version. |
---|
| 213 | |
---|
| 214 | * Wed Mar 09 2011 Richard Hughes <richard@hughsie.com> 0.1.4-1 |
---|
| 215 | - New upstream version. |
---|
| 216 | |
---|
| 217 | * Mon Feb 28 2011 Richard Hughes <richard@hughsie.com> 0.1.3-1 |
---|
| 218 | - New upstream version. |
---|
| 219 | |
---|
| 220 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-3 |
---|
| 221 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 222 | |
---|
| 223 | * Fri Jan 28 2011 Richard Hughes <richard@hughsie.com> 0.1.1-2 |
---|
| 224 | - Rebuild in the vain hope koji isn't broken today. |
---|
| 225 | |
---|
| 226 | * Wed Jan 26 2011 Richard Hughes <richard@hughsie.com> 0.1.1-1 |
---|
| 227 | - New upstream version. |
---|
| 228 | |
---|
| 229 | * Thu Jan 13 2011 Richard Hughes <richard@hughsie.com> 0.1.0-1 |
---|
| 230 | - Initial version for Fedora package review. |
---|