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

Revision 6890, 6.9 KB checked in by Takemikaduchi, 12 years ago (diff)

GNOME-3.6.0 & Cinnamon-1.6.1

Line 
1%bcond_with firstbuild
2%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
3
4Summary:   Color daemon
5Name:      colord
6Version:   0.1.23
7Release:   1%{?_dist_release}
8Group:     System Environment/Daemons
9License:   GPLv2+ and LGPLv2+
10URL:       http://gitorious.org/colord
11Source0:   http://www.freedesktop.org/software/%{name}/releases/%{name}-%{version}.tar.xz
12
13BuildRequires: dbus-devel
14BuildRequires: docbook-utils
15BuildRequires: gettext
16BuildRequires: glib2-devel
17BuildRequires: intltool
18BuildRequires: lcms2-devel
19BuildRequires: libgudev1-devel
20BuildRequires: libgusb-devel
21BuildRequires: polkit-devel
22BuildRequires: sane-devel
23BuildRequires: sqlite3-devel
24%{!?with_firstbuild:BuildRequires: colord-devel, gobject-introspection-devel}
25Requires: shared-color-profiles
26
27Vendor: Project Vine
28Distribution: Vine Linux
29Packager: Takemikaduchi
30
31%description
32colord is a low level system activated daemon that maps color devices
33to color profiles in the system context.
34
35%package devel
36Summary: Development package for %{name}
37Group:   Development/Libraries
38Requires: %{name} = %{version}-%{release}
39Requires: glib2-devel
40Requires: dbus-devel
41Requires: lcms2-devel
42
43%description devel
44Files for development with %{name}.
45
46# compat32
47%package -n compat32-%{name}
48Summary:  Color daemon
49Group:    System Environment/Daemons
50Requires: %{name} = %{version}-%{release}
51
52%description -n compat32-%{name}
53colord is a low level system activated daemon that maps color devices
54to color profiles in the system context.
55
56%package -n compat32-%{name}-devel
57Summary: Development package for %{name}
58Group:   Development/Libraries
59Requires: compat32-%{name} = %{version}-%{release}
60
61%description -n compat32-%{name}-devel
62Files for development with %{name}.
63
64
65%prep
66%setup -q
67
68%build
69%configure \
70        --disable-static \
71        --disable-rpath \
72        --disable-examples \
73        --disable-dependency-tracking
74
75sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
76sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
77
78make %{?_smp_mflags}
79
80%install
81make install DESTDIR=$RPM_BUILD_ROOT
82
83# Remove static libs and libtool archives.
84find %{buildroot} -name '*.la' -exec rm -f {} ';'
85find %{buildroot} -name '*.a' -exec rm -f {} ';'
86
87# databases
88touch $RPM_BUILD_ROOT%{_localstatedir}/lib/colord/mapping.db
89touch $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
97%post -n compat32-%{name} -p /sbin/ldconfig
98
99%postun -n compat32-%{name} -p /sbin/ldconfig
100
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}/*
107%{_sysconfdir}/bash_completion.d/colormgr-completion.bash
108%{_sysconfdir}/dbus-1/system.d/org.freedesktop.ColorManager.conf
109%{_sysconfdir}/dbus-1/system.d/org.freedesktop.colord-sane.conf
110%{_datadir}/dbus-1/interfaces/org.freedesktop.ColorManager*.xml
111%{_datadir}/polkit-1/actions/org.freedesktop.color.policy
112%{_datadir}/dbus-1/interfaces/org.freedesktop.colord.sane.xml
113%{_datadir}/dbus-1/system-services/org.freedesktop.ColorManager.service
114%{_datadir}/dbus-1/system-services/org.freedesktop.colord-sane.service
115%{_datadir}/man/man1/*.1.gz
116%{_libdir}/libcolord.so.*
117%{!?with_firstbuild:%{_libdir}/girepository-1.0/Colord-1.0.typelib}
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
123%{_libexecdir}/colord-sane
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
131%{!?with_firstbuild:%{_datadir}/gir-1.0/Colord-1.0.gir}
132
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
144%changelog
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
150* Tue Jun 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.21-1
151- new upstream release
152
153* Mon Apr 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.19-1
154- new upstream release
155
156* Sat Mar 31 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.18-1
157- new upstream release
158
159* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.15-1
160- new upstream release
161
162* Wed Nov 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.14-1
163- new upstream release
164
165* Sat Oct 08 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.13-1
166- new upstream release
167
168* Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.12-1
169- new upstream release
170
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
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.
Note: See TracBrowser for help on using the repository browser.