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

Revision 6086, 6.4 KB checked in by Takemikaduchi, 12 years ago (diff)

colord: new upstream release
others: fix theme

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Summary:   Color daemon
4Name:      colord
5Version:   0.1.19
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}/dbus-1/system.d/org.freedesktop.ColorManager.conf
106%{_sysconfdir}/dbus-1/system.d/org.freedesktop.colord-sane.conf
107%{_datadir}/dbus-1/interfaces/org.freedesktop.ColorManager*.xml
108%{_datadir}/polkit-1/actions/org.freedesktop.color.policy
109%{_datadir}/dbus-1/interfaces/org.freedesktop.colord.sane.xml
110%{_datadir}/dbus-1/system-services/org.freedesktop.ColorManager.service
111%{_datadir}/dbus-1/system-services/org.freedesktop.colord-sane.service
112%{_datadir}/man/man1/*.1.gz
113%{_libdir}/libcolord.so.*
114%config %{_sysconfdir}/colord.conf
115/lib/udev/rules.d/*.rules
116%dir %{_datadir}/color/icc/colord
117%{_datadir}/color/icc/colord/*.ic?
118%{_libdir}/colord-sensors
119%{_libexecdir}/colord-sane
120%ghost %{_localstatedir}/lib/colord/*.db
121
122%files devel
123%defattr(-,root,root,-)
124%{_includedir}/colord-1
125%{_libdir}/libcolord.so
126%{_libdir}/pkgconfig/colord.pc
127
128# compat32
129%if %{build_compat32}
130%files -n compat32-%{name}
131%defattr(-,root,root,-)
132%{_libdir}/libcolord.so.*
133
134%files -n compat32-%{name}-devel
135%defattr(-,root,root,-)
136%{_libdir}/libcolord.so
137%{_libdir}/pkgconfig/colord.pc
138%endif
139
140%changelog
141* Mon Apr 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.19-1
142- new upstream release
143
144* Sat Mar 31 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.18-1
145- new upstream release
146
147* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.15-1
148- new upstream release
149
150* Wed Nov 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.14-1
151- new upstream release
152
153* Sat Oct 08 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.13-1
154- new upstream release
155
156* Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.12-1
157- new upstream release
158
159* Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.11-1
160- new upstream release
161- create compat32 sub packages
162
163* Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.10-1
164- initial build for Vine Linux
165
166
167* Wed Jul 06 2011 Richard Hughes <richard@hughsie.com> 0.1.10-1
168- New upstream version
169
170* Mon Jun 13 2011 Richard Hughes <richard@hughsie.com> 0.1.9-1
171- New upstream version
172
173* Fri Jun 02 2011 Richard Hughes <richard@hughsie.com> 0.1.8-1
174- New upstream version
175- Add a webcam device kind
176- Add a timestamp when making profiles default
177- Add support for reading and writing ICC profile metadata
178- Allow the client to pass file descriptors out of band to CreateProfile
179- Prettify the device vendor and model names
180- Split out the sensors into runtime-loadable shared objects
181- Provide some GIO async variants for the methods in CdClient
182- Ensure GPhoto2 devices get added to the device list
183
184* Fri May 06 2011 Richard Hughes <richard@hughsie.com> 0.1.7-1
185- New upstream version.
186- Create /var/lib/colord at buildtime not runtime for SELinux
187- Ensure profiles with embedded profile checksums are parsed correctly
188- Move the colorimeter rules to be run before 70-acl.rules
189- Stop watching the client when the sensor is finalized
190- Ensure the source is destroyed when we unref CdUsb to prevent a crash
191- Only enable the volume mount tracking when searching volumes
192
193* Tue Apr 26 2011 Richard Hughes <rhughes@redhat.com> 0.1.6-2
194- Own /var/lib/colord and /var/lib/colord/*.db
195
196* Sun Apr 24 2011 Richard Hughes <richard@hughsie.com> 0.1.6-1
197- New upstream version.
198
199* Thu Mar 31 2011 Richard Hughes <richard@hughsie.com> 0.1.5-1
200- New upstream version.
201
202* Wed Mar 09 2011 Richard Hughes <richard@hughsie.com> 0.1.4-1
203- New upstream version.
204
205* Mon Feb 28 2011 Richard Hughes <richard@hughsie.com> 0.1.3-1
206- New upstream version.
207
208* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-3
209- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
210
211* Fri Jan 28 2011 Richard Hughes <richard@hughsie.com> 0.1.1-2
212- Rebuild in the vain hope koji isn't broken today.
213
214* Wed Jan 26 2011 Richard Hughes <richard@hughsie.com> 0.1.1-1
215- New upstream version.
216
217* Thu Jan 13 2011 Richard Hughes <richard@hughsie.com> 0.1.0-1
218- Initial version for Fedora package review.
Note: See TracBrowser for help on using the repository browser.