123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208 |
- %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
- Summary: Color daemon
- Name: colord
- Version: 0.1.15
- Release: 1%{?_dist_release}
- Group: System Environment/Daemons
- License: GPLv2+ and LGPLv2+
- URL: http://gitorious.org/colord
- Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
- BuildRequires: dbus-devel
- BuildRequires: docbook-utils
- BuildRequires: gettext
- BuildRequires: glib2-devel
- BuildRequires: intltool
- BuildRequires: lcms2-devel
- BuildRequires: libgudev1-devel
- BuildRequires: libusb1-devel
- BuildRequires: polkit-devel
- BuildRequires: sane-devel
- BuildRequires: sqlite3-devel
- Requires: shared-color-profiles
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: Takemikaduchi
- %description
- colord is a low level system activated daemon that maps color devices
- to color profiles in the system context.
- %package devel
- Summary: Development package for %{name}
- Group: Development/Libraries
- Requires: %{name} = %{version}-%{release}
- Requires: glib2-devel
- Requires: dbus-devel
- Requires: lcms2-devel
- %description devel
- Files for development with %{name}.
- # compat32
- %package -n compat32-%{name}
- Summary: Color daemon
- Group: System Environment/Daemons
- Requires: %{name} = %{version}-%{release}
- %description -n compat32-%{name}
- colord is a low level system activated daemon that maps color devices
- to color profiles in the system context.
- %package -n compat32-%{name}-devel
- Summary: Development package for %{name}
- Group: Development/Libraries
- Requires: compat32-%{name} = %{version}-%{release}
- %description -n compat32-%{name}-devel
- Files for development with %{name}.
- %prep
- %setup -q
- %build
- %configure \
- --disable-static \
- --disable-rpath \
- --disable-examples \
- --disable-dependency-tracking
- sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
- sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
- make %{?_smp_mflags}
- %install
- make install DESTDIR=$RPM_BUILD_ROOT
- # Remove static libs and libtool archives.
- 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
- %postun -p /sbin/ldconfig
- %post -n compat32-%{name} -p /sbin/ldconfig
- %postun -n compat32-%{name} -p /sbin/ldconfig
- %files -f %{name}.lang
- %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
- %{_datadir}/polkit-1/actions/org.freedesktop.color.policy
- %{_datadir}/dbus-1/system-services/org.freedesktop.ColorManager.service
- %{_datadir}/man/man1/*.1.gz
- %{_libdir}/libcolord.so.*
- %config %{_sysconfdir}/colord.conf
- /lib/udev/rules.d/*.rules
- %dir %{_datadir}/color/icc/colord
- %{_datadir}/color/icc/colord/*.ic?
- %{_libdir}/colord-sensors
- %ghost %{_localstatedir}/lib/colord/*.db
- %files devel
- %defattr(-,root,root,-)
- %{_includedir}/colord-1
- %{_libdir}/libcolord.so
- %{_libdir}/pkgconfig/colord.pc
- # compat32
- %if %{build_compat32}
- %files -n compat32-%{name}
- %defattr(-,root,root,-)
- %{_libdir}/libcolord.so.*
- %files -n compat32-%{name}-devel
- %defattr(-,root,root,-)
- %{_libdir}/libcolord.so
- %{_libdir}/pkgconfig/colord.pc
- %endif
- %changelog
- * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.15-1
- - new upstream release
- * Wed Nov 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.14-1
- - new upstream release
- * Sat Oct 08 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.13-1
- - new upstream release
- * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.12-1
- - new upstream release
- * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.11-1
- - new upstream release
- - create compat32 sub packages
- * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.10-1
- - initial build for Vine Linux
- * Wed Jul 06 2011 Richard Hughes <richard@hughsie.com> 0.1.10-1
- - New upstream version
- * Mon Jun 13 2011 Richard Hughes <richard@hughsie.com> 0.1.9-1
- - New upstream version
- * Fri Jun 02 2011 Richard Hughes <richard@hughsie.com> 0.1.8-1
- - New upstream version
- - Add a webcam device kind
- - Add a timestamp when making profiles default
- - Add support for reading and writing ICC profile metadata
- - Allow the client to pass file descriptors out of band to CreateProfile
- - Prettify the device vendor and model names
- - Split out the sensors into runtime-loadable shared objects
- - Provide some GIO async variants for the methods in CdClient
- - Ensure GPhoto2 devices get added to the device list
- * Fri May 06 2011 Richard Hughes <richard@hughsie.com> 0.1.7-1
- - New upstream version.
- - Create /var/lib/colord at buildtime not runtime for SELinux
- - Ensure profiles with embedded profile checksums are parsed correctly
- - Move the colorimeter rules to be run before 70-acl.rules
- - Stop watching the client when the sensor is finalized
- - Ensure the source is destroyed when we unref CdUsb to prevent a crash
- - Only enable the volume mount tracking when searching volumes
- * Tue Apr 26 2011 Richard Hughes <rhughes@redhat.com> 0.1.6-2
- - Own /var/lib/colord and /var/lib/colord/*.db
- * Sun Apr 24 2011 Richard Hughes <richard@hughsie.com> 0.1.6-1
- - New upstream version.
- * Thu Mar 31 2011 Richard Hughes <richard@hughsie.com> 0.1.5-1
- - New upstream version.
- * Wed Mar 09 2011 Richard Hughes <richard@hughsie.com> 0.1.4-1
- - New upstream version.
- * Mon Feb 28 2011 Richard Hughes <richard@hughsie.com> 0.1.3-1
- - New upstream version.
- * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-3
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
- * Fri Jan 28 2011 Richard Hughes <richard@hughsie.com> 0.1.1-2
- - Rebuild in the vain hope koji isn't broken today.
- * Wed Jan 26 2011 Richard Hughes <richard@hughsie.com> 0.1.1-1
- - New upstream version.
- * Thu Jan 13 2011 Richard Hughes <richard@hughsie.com> 0.1.0-1
- - Initial version for Fedora package review.
|