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

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

new upstream release

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