1 | %bcond_with firstbuild |
---|
2 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
3 | |
---|
4 | Summary: Color daemon |
---|
5 | Name: colord |
---|
6 | Version: 1.4.3 |
---|
7 | Release: 1%{?_dist_release} |
---|
8 | Group: System Environment/Daemons |
---|
9 | License: GPLv2+ and LGPLv2+ |
---|
10 | URL: http://gitorious.org/colord |
---|
11 | Source0: http://www.freedesktop.org/software/%{name}/releases/%{name}-%{version}.tar.xz |
---|
12 | Patch0: colord-1.4.3-elogind.patch |
---|
13 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | BuildRequires: meson |
---|
16 | BuildRequires: dbus-devel |
---|
17 | BuildRequires: docbook-utils |
---|
18 | BuildRequires: gettext |
---|
19 | BuildRequires: glib2-devel |
---|
20 | BuildRequires: intltool |
---|
21 | BuildRequires: lcms2-devel |
---|
22 | BuildRequires: libgudev1-devel |
---|
23 | BuildRequires: libgusb-devel |
---|
24 | BuildRequires: polkit-devel |
---|
25 | BuildRequires: sqlite3-devel |
---|
26 | BuildRequires: bash-completion |
---|
27 | BuildRequires: elogind-devel |
---|
28 | %{!?with_firstbuild:BuildRequires: colord-devel, gobject-introspection-devel} |
---|
29 | Requires: shared-color-profiles |
---|
30 | |
---|
31 | Vendor: Project Vine |
---|
32 | Distribution: Vine Linux |
---|
33 | |
---|
34 | %description |
---|
35 | colord is a low level system activated daemon that maps color devices |
---|
36 | to color profiles in the system context. |
---|
37 | |
---|
38 | %package devel |
---|
39 | Summary: Development package for %{name} |
---|
40 | Group: Development/Libraries |
---|
41 | Requires: %{name} = %{version}-%{release} |
---|
42 | Requires: glib2-devel |
---|
43 | Requires: dbus-devel |
---|
44 | Requires: lcms2-devel |
---|
45 | |
---|
46 | %description devel |
---|
47 | Files for development with %{name}. |
---|
48 | |
---|
49 | # compat32 |
---|
50 | %package -n compat32-%{name} |
---|
51 | Summary: Color daemon |
---|
52 | Group: System Environment/Daemons |
---|
53 | Requires: %{name} = %{version}-%{release} |
---|
54 | |
---|
55 | %description -n compat32-%{name} |
---|
56 | colord is a low level system activated daemon that maps color devices |
---|
57 | to color profiles in the system context. |
---|
58 | |
---|
59 | %package -n compat32-%{name}-devel |
---|
60 | Summary: Development package for %{name} |
---|
61 | Group: Development/Libraries |
---|
62 | Requires: compat32-%{name} = %{version}-%{release} |
---|
63 | |
---|
64 | %description -n compat32-%{name}-devel |
---|
65 | Files for development with %{name}. |
---|
66 | |
---|
67 | |
---|
68 | %prep |
---|
69 | %autosetup -p1 |
---|
70 | |
---|
71 | %build |
---|
72 | %meson \ |
---|
73 | -Dsystemd=false \ |
---|
74 | -Delogind=true \ |
---|
75 | -Dargyllcms_sensor=false \ |
---|
76 | -Ddocs=false |
---|
77 | |
---|
78 | %meson_build |
---|
79 | |
---|
80 | %install |
---|
81 | rm -rf %{buildroot} |
---|
82 | %meson_install |
---|
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 | |
---|
92 | %postun |
---|
93 | /sbin/ldconfig |
---|
94 | if [ $1 -eq 0 ]; then |
---|
95 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
96 | fi |
---|
97 | |
---|
98 | %posttrans |
---|
99 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
100 | |
---|
101 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
102 | |
---|
103 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
104 | |
---|
105 | %files -f %{name}.lang |
---|
106 | %defattr(-,root,root,-) |
---|
107 | %license COPYING |
---|
108 | %doc AUTHORS NEWS README.md |
---|
109 | %{_libexecdir}/colord |
---|
110 | %{_libexecdir}/colord-session |
---|
111 | %dir %{_localstatedir}/lib/colord |
---|
112 | %{_bindir}/* |
---|
113 | %{_datadir}/dbus-1/system.d/org.freedesktop.ColorManager.conf |
---|
114 | %dir %{_datadir}/bash-completion |
---|
115 | %dir %{_datadir}/bash-completion/completions |
---|
116 | %{_datadir}/bash-completion/completions/colormgr |
---|
117 | %{_datadir}/color |
---|
118 | %{_datadir}/colord |
---|
119 | %{_datadir}/dbus-1/interfaces/org.freedesktop.ColorHelper.xml |
---|
120 | %{_datadir}/dbus-1/interfaces/org.freedesktop.ColorManager*.xml |
---|
121 | %{_datadir}/dbus-1/services/org.freedesktop.ColorHelper.service |
---|
122 | %{_datadir}/dbus-1/system-services/org.freedesktop.ColorManager.service |
---|
123 | %{_datadir}/glib-2.0/schemas/org.freedesktop.ColorHelper.gschema.xml |
---|
124 | %{_datadir}/polkit-1/actions/org.freedesktop.color.policy |
---|
125 | %{_datadir}/man/man1/*.1.gz |
---|
126 | %{_libdir}/libcolord.so.* |
---|
127 | %{_libdir}/libcolordprivate.so.* |
---|
128 | %{_libdir}/libcolorhug.so.* |
---|
129 | %{_libdir}/colord-plugins/libcolord_sensor_camera.so |
---|
130 | %{_libdir}/colord-plugins/libcolord_sensor_scanner.so |
---|
131 | %{!?with_firstbuild:%{_libdir}/girepository-1.0/Colord-1.0.typelib} |
---|
132 | %{!?with_firstbuild:%{_libdir}/girepository-1.0/Colorhug-1.0.typelib} |
---|
133 | /lib/udev/rules.d/*.rules |
---|
134 | %{_libdir}/colord-sensors |
---|
135 | %ghost %{_localstatedir}/lib/colord/*.db |
---|
136 | |
---|
137 | %files devel |
---|
138 | %defattr(-,root,root,-) |
---|
139 | %{_includedir}/colord-1 |
---|
140 | %{_libdir}/libcolord.so |
---|
141 | %{_libdir}/libcolordprivate.so |
---|
142 | %{_libdir}/libcolorhug.so |
---|
143 | %{_libdir}/pkgconfig/colord.pc |
---|
144 | %{_libdir}/pkgconfig/colorhug.pc |
---|
145 | %{!?with_firstbuild:%{_datadir}/gir-1.0/Colord-1.0.gir} |
---|
146 | %{!?with_firstbuild:%{_datadir}/gir-1.0/Colorhug-1.0.gir} |
---|
147 | |
---|
148 | # compat32 |
---|
149 | %if %{build_compat32} |
---|
150 | %files -n compat32-%{name} |
---|
151 | %defattr(-,root,root,-) |
---|
152 | %{_libdir}/libcolord.so.* |
---|
153 | %{_libdir}/libcolordprivate.so.* |
---|
154 | %{_libdir}/libcolorhug.so.* |
---|
155 | |
---|
156 | %files -n compat32-%{name}-devel |
---|
157 | %defattr(-,root,root,-) |
---|
158 | %{_libdir}/libcolord.so |
---|
159 | %{_libdir}/libcolordprivate.so |
---|
160 | %{_libdir}/libcolorhug.so |
---|
161 | %endif |
---|
162 | |
---|
163 | %changelog |
---|
164 | * Sat Dec 29 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.3-1 |
---|
165 | - new upstream release. |
---|
166 | |
---|
167 | * Fri Dec 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.1.8-2 |
---|
168 | - added libcolordprivate and libcolorhug to compat32-* subpackages |
---|
169 | |
---|
170 | * Mon Nov 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.8-1 |
---|
171 | - new upstream release |
---|
172 | |
---|
173 | * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.7-1 |
---|
174 | - update to 1.1.7 |
---|
175 | |
---|
176 | * Sat Jun 28 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-1 |
---|
177 | - new upstream release |
---|
178 | |
---|
179 | * Fri Mar 28 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.6-1 |
---|
180 | - new upstream release |
---|
181 | |
---|
182 | * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.5-1 |
---|
183 | - new upstream release |
---|
184 | |
---|
185 | * Fri Sep 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.3-1 |
---|
186 | - new upstream release |
---|
187 | |
---|
188 | * Sat May 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.0-1 |
---|
189 | - new upstream release |
---|
190 | - add BuildRequires: bash-completion |
---|
191 | |
---|
192 | * Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.33-1 |
---|
193 | - new upstream release |
---|
194 | |
---|
195 | * Wed Jan 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.26-1 |
---|
196 | - new upstream release |
---|
197 | |
---|
198 | * Sun Nov 11 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.24-1 |
---|
199 | - new upstream release |
---|
200 | - remove BuildRequires: sane-devel |
---|
201 | |
---|
202 | * Wed Sep 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.23-1 |
---|
203 | - new upstream release |
---|
204 | - change BuildRequires: libgusb-devel instead of libusb1-devel |
---|
205 | - add BuildRequires: gobject-introspection-devel |
---|
206 | |
---|
207 | * Tue Jun 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.21-1 |
---|
208 | - new upstream release |
---|
209 | |
---|
210 | * Mon Apr 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.19-1 |
---|
211 | - new upstream release |
---|
212 | |
---|
213 | * Sat Mar 31 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.18-1 |
---|
214 | - new upstream release |
---|
215 | |
---|
216 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.15-1 |
---|
217 | - new upstream release |
---|
218 | |
---|
219 | * Wed Nov 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.14-1 |
---|
220 | - new upstream release |
---|
221 | |
---|
222 | * Sat Oct 08 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.13-1 |
---|
223 | - new upstream release |
---|
224 | |
---|
225 | * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.12-1 |
---|
226 | - new upstream release |
---|
227 | |
---|
228 | * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.11-1 |
---|
229 | - new upstream release |
---|
230 | - create compat32 sub packages |
---|
231 | |
---|
232 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.10-1 |
---|
233 | - initial build for Vine Linux |
---|
234 | |
---|
235 | |
---|
236 | * Wed Jul 06 2011 Richard Hughes <richard@hughsie.com> 0.1.10-1 |
---|
237 | - New upstream version |
---|
238 | |
---|
239 | * Mon Jun 13 2011 Richard Hughes <richard@hughsie.com> 0.1.9-1 |
---|
240 | - New upstream version |
---|
241 | |
---|
242 | * Thu Jun 02 2011 Richard Hughes <richard@hughsie.com> 0.1.8-1 |
---|
243 | - New upstream version |
---|
244 | - Add a webcam device kind |
---|
245 | - Add a timestamp when making profiles default |
---|
246 | - Add support for reading and writing ICC profile metadata |
---|
247 | - Allow the client to pass file descriptors out of band to CreateProfile |
---|
248 | - Prettify the device vendor and model names |
---|
249 | - Split out the sensors into runtime-loadable shared objects |
---|
250 | - Provide some GIO async variants for the methods in CdClient |
---|
251 | - Ensure GPhoto2 devices get added to the device list |
---|
252 | |
---|
253 | * Fri May 06 2011 Richard Hughes <richard@hughsie.com> 0.1.7-1 |
---|
254 | - New upstream version. |
---|
255 | - Create /var/lib/colord at buildtime not runtime for SELinux |
---|
256 | - Ensure profiles with embedded profile checksums are parsed correctly |
---|
257 | - Move the colorimeter rules to be run before 70-acl.rules |
---|
258 | - Stop watching the client when the sensor is finalized |
---|
259 | - Ensure the source is destroyed when we unref CdUsb to prevent a crash |
---|
260 | - Only enable the volume mount tracking when searching volumes |
---|
261 | |
---|
262 | * Tue Apr 26 2011 Richard Hughes <rhughes@redhat.com> 0.1.6-2 |
---|
263 | - Own /var/lib/colord and /var/lib/colord/*.db |
---|
264 | |
---|
265 | * Sun Apr 24 2011 Richard Hughes <richard@hughsie.com> 0.1.6-1 |
---|
266 | - New upstream version. |
---|
267 | |
---|
268 | * Thu Mar 31 2011 Richard Hughes <richard@hughsie.com> 0.1.5-1 |
---|
269 | - New upstream version. |
---|
270 | |
---|
271 | * Wed Mar 09 2011 Richard Hughes <richard@hughsie.com> 0.1.4-1 |
---|
272 | - New upstream version. |
---|
273 | |
---|
274 | * Mon Feb 28 2011 Richard Hughes <richard@hughsie.com> 0.1.3-1 |
---|
275 | - New upstream version. |
---|
276 | |
---|
277 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-3 |
---|
278 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
279 | |
---|
280 | * Fri Jan 28 2011 Richard Hughes <richard@hughsie.com> 0.1.1-2 |
---|
281 | - Rebuild in the vain hope koji isn't broken today. |
---|
282 | |
---|
283 | * Wed Jan 26 2011 Richard Hughes <richard@hughsie.com> 0.1.1-1 |
---|
284 | - New upstream version. |
---|
285 | |
---|
286 | * Thu Jan 13 2011 Richard Hughes <richard@hughsie.com> 0.1.0-1 |
---|
287 | - Initial version for Fedora package review. |
---|