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