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

Revision 6431, 6.6 KB checked in by Takemikaduchi, 12 years ago (diff)

new upstream release

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