source: projects/specs/trunk/c/colord/colord-vl.spec @ 12446

Revision 12446, 9.8 KB checked in by tomop, 4 years ago (diff)

updated 92 packages

ModemManager?-1.14.0-1

accountsservice-0.6.55-1

adwaita-icon-theme-3.36.1-1

cheese-3.34.0-1

clutter-gst3-3.0.27-1

clutter-gtk-1.8.4-2

clutter-1.26.4-1

cogl-1.22.8-1

colord-gtk-0.2.0-1

colord-1.4.4-1

control-center-3.36.4-1

eog-plugins-3.26.5-1

eog-3.36.3-1

evince-3.36.7-1

evolution-data-server-3.36.4-1

evolution-3.36.4-1

folks-0.14.0-1

fuse3-3.9.2-2

gcr-3.36.0-1

gdm-3.36.3-1

geocode-glib-3.26.2-1

gjs-1.64.4-1

glade3-3.36.0-1

gnome-applets-3.36.4-1

gnome-autoar-0.2.4-1

gnome-bluetooth-3.34.1-1

gnome-books-3.34.0-3

gnome-clocks-3.36.2-1

gnome-color-manager-3.36.0-1

gnome-contacts-3.36.2-1

gnome-desktop3-3.36.4-1

gnome-documents-3.34.0-1

gnome-flashback-3.36.3-1

gnome-font-viewer-3.34.0-1

gnome-keyring-3.36.0-1

gnome-menus-3.36.0-1

gnome-online-accounts-3.36.0-1

gnome-panel-3.36.2-1

gnome-session-3.36.0-1

gnome-settings-daemon-3.36.1-1

gnome-shell-3.36.4-1

gnome-software-3.36.1-1

gnome-themes-extra-3.28-2

gnome-tweaks-3.34.0-1

gnome-video-effects-0.5.0-1

gom-0.4-1

graphene-1.10.2-2

grilo-plugins-0.3.11-1

grilo-0.3.12-1

gsettings-desktop-schemas-3.36.1-1

gsound-1.0.2-3

gvfs-1.44.1-1

libaccounts-glib-1.25-1

libappindicator-12.10.0-1

libchamplain-0.12.20-1

libdbusmenu-16.04.0-1

libgdata-0.17.12-1

libgepub-0.6.0-4

libgphoto2-2.5.25-1

libgweather-3.36.1-1

libgxps-0.3.1-1

libhandy0-0.0.13-6

libical-3.0.8-2

libindicator-12.10.1-2

libmtp-1.1.17-1

libnma-1.8.30-2

liboauth-1.0.3-2

libsecret-0.20.3-1

libspectre-0.2.9-1

libwacom-1.4.1-1

libwnck3-3.36.0-1

libxmlb-0.1.15-3

metacity-3.36.1-1

mm-common-1.0.1-3

mobile-broadband-provider-info-0.20190618-1

mozjs68-68.11.0-1

mutter-3.36.4-1

nautilus-3.36.3-1

network-manager-applet-1.18.0-1

pipewire-0.3.8-1

python-dbusmock-0.18.3-6

python-mallard-ducktype-1.0.2-8

startup-notification-0.12-4

totem-pl-parser-3.26.5-1

totem-3.34.1-1

vala-0.48.8-1

xdg-desktop-portal-gtk-1.7.1-1

xdg-desktop-portal-1.7.2-1

yelp-tools-3.32.2-1

yelp-xsl-3.36.0-1

yelp-3.36.0-1

zenity-3.32.0-1

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