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