diff --git a/colord.spec b/colord.spec index 48b12f2..db4485b 100644 --- a/colord.spec +++ b/colord.spec @@ -1,7 +1,7 @@ Summary: Color daemon Name: colord Version: 0.1.6 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ and LGPLv2+ URL: http://gitorious.org/colord Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.bz2 @@ -51,6 +51,10 @@ make install DESTDIR=$RPM_BUILD_ROOT find %{buildroot} -name '*.la' -exec rm -f {} ';' find %{buildroot} -name '*.a' -exec rm -f {} ';' +# databases +touch $RPM_BUILD_ROOT%{_localstatedir}/lib/colord/mapping.db +touch $RPM_BUILD_ROOT%{_localstatedir}/lib/colord/storage.db + %find_lang %{name} %post -p /sbin/ldconfig @@ -61,6 +65,7 @@ find %{buildroot} -name '*.a' -exec rm -f {} ';' %defattr(-,root,root,-) %doc README AUTHORS NEWS COPYING %{_libexecdir}/colord +%dir %{_localstatedir}/lib/colord %{_bindir}/* %{_sysconfdir}/dbus-1/system.d/org.freedesktop.ColorManager.conf %{_datadir}/dbus-1/interfaces/org.freedesktop.ColorManager*.xml @@ -72,6 +77,7 @@ find %{buildroot} -name '*.a' -exec rm -f {} ';' /lib/udev/rules.d/*.rules %dir %{_datadir}/color/icc/colord %{_datadir}/color/icc/colord/*.ic? +%ghost %{_localstatedir}/lib/colord/*.db %files devel %defattr(-,root,root,-) @@ -80,6 +86,9 @@ find %{buildroot} -name '*.a' -exec rm -f {} ';' %{_libdir}/pkgconfig/colord.pc %changelog +* Tue Apr 26 2011 Richard Hughes 0.1.6-2 +- Own /var/lib/colord and /var/lib/colord/*.db + * Sun Apr 24 2011 Richard Hughes 0.1.6-1 - New upstream version.