colord-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. Summary: Color daemon
  2. Name: colord
  3. Version: 0.1.10
  4. Release: 1%{?_dist_release}
  5. License: GPLv2+ and LGPLv2+
  6. URL: http://gitorious.org/colord
  7. Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
  8. BuildRequires: dbus-devel
  9. BuildRequires: docbook-utils
  10. BuildRequires: gettext
  11. BuildRequires: glib2-devel
  12. BuildRequires: intltool
  13. BuildRequires: lcms2-devel
  14. BuildRequires: libgudev1-devel
  15. BuildRequires: libusb1-devel
  16. BuildRequires: polkit-devel
  17. BuildRequires: sane-devel
  18. BuildRequires: sqlite3-devel
  19. Requires: shared-color-profiles
  20. Vendor: Project Vine
  21. Distribution: Vine Linux
  22. Packager: Takemikaduchi
  23. %description
  24. colord is a low level system activated daemon that maps color devices
  25. to color profiles in the system context.
  26. %package devel
  27. Summary: Development package for %{name}
  28. Requires: %{name} = %{version}-%{release}
  29. %description devel
  30. Files for development with %{name}.
  31. %prep
  32. %setup -q
  33. %build
  34. %configure \
  35. --disable-static \
  36. --disable-rpath \
  37. --disable-examples \
  38. --disable-dependency-tracking
  39. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  40. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  41. make %{?_smp_mflags}
  42. %install
  43. make install DESTDIR=$RPM_BUILD_ROOT
  44. # Remove static libs and libtool archives.
  45. find %{buildroot} -name '*.la' -exec rm -f {} ';'
  46. find %{buildroot} -name '*.a' -exec rm -f {} ';'
  47. # databases
  48. touch $RPM_BUILD_ROOT%{_localstatedir}/lib/colord/mapping.db
  49. touch $RPM_BUILD_ROOT%{_localstatedir}/lib/colord/storage.db
  50. %find_lang %{name}
  51. %post -p /sbin/ldconfig
  52. %postun -p /sbin/ldconfig
  53. %files -f %{name}.lang
  54. %defattr(-,root,root,-)
  55. %doc README AUTHORS NEWS COPYING
  56. %{_libexecdir}/colord
  57. %dir %{_localstatedir}/lib/colord
  58. %{_bindir}/*
  59. %{_sysconfdir}/dbus-1/system.d/org.freedesktop.ColorManager.conf
  60. %{_datadir}/dbus-1/interfaces/org.freedesktop.ColorManager*.xml
  61. %{_datadir}/polkit-1/actions/org.freedesktop.color.policy
  62. %{_datadir}/dbus-1/system-services/org.freedesktop.ColorManager.service
  63. %{_datadir}/man/man1/*.1.gz
  64. %{_libdir}/libcolord.so.*
  65. %config %{_sysconfdir}/colord.conf
  66. /lib/udev/rules.d/*.rules
  67. %dir %{_datadir}/color/icc/colord
  68. %{_datadir}/color/icc/colord/*.ic?
  69. %{_libdir}/colord-sensors
  70. %ghost %{_localstatedir}/lib/colord/*.db
  71. %files devel
  72. %defattr(-,root,root,-)
  73. %{_includedir}/colord-1
  74. %{_libdir}/libcolord.so
  75. %{_libdir}/pkgconfig/colord.pc
  76. %changelog
  77. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.10-1
  78. - initial build for Vine Linux
  79. * Wed Jul 06 2011 Richard Hughes <richard@hughsie.com> 0.1.10-1
  80. - New upstream version
  81. * Mon Jun 13 2011 Richard Hughes <richard@hughsie.com> 0.1.9-1
  82. - New upstream version
  83. * Fri Jun 02 2011 Richard Hughes <richard@hughsie.com> 0.1.8-1
  84. - New upstream version
  85. - Add a webcam device kind
  86. - Add a timestamp when making profiles default
  87. - Add support for reading and writing ICC profile metadata
  88. - Allow the client to pass file descriptors out of band to CreateProfile
  89. - Prettify the device vendor and model names
  90. - Split out the sensors into runtime-loadable shared objects
  91. - Provide some GIO async variants for the methods in CdClient
  92. - Ensure GPhoto2 devices get added to the device list
  93. * Fri May 06 2011 Richard Hughes <richard@hughsie.com> 0.1.7-1
  94. - New upstream version.
  95. - Create /var/lib/colord at buildtime not runtime for SELinux
  96. - Ensure profiles with embedded profile checksums are parsed correctly
  97. - Move the colorimeter rules to be run before 70-acl.rules
  98. - Stop watching the client when the sensor is finalized
  99. - Ensure the source is destroyed when we unref CdUsb to prevent a crash
  100. - Only enable the volume mount tracking when searching volumes
  101. * Tue Apr 26 2011 Richard Hughes <rhughes@redhat.com> 0.1.6-2
  102. - Own /var/lib/colord and /var/lib/colord/*.db
  103. * Sun Apr 24 2011 Richard Hughes <richard@hughsie.com> 0.1.6-1
  104. - New upstream version.
  105. * Thu Mar 31 2011 Richard Hughes <richard@hughsie.com> 0.1.5-1
  106. - New upstream version.
  107. * Wed Mar 09 2011 Richard Hughes <richard@hughsie.com> 0.1.4-1
  108. - New upstream version.
  109. * Mon Feb 28 2011 Richard Hughes <richard@hughsie.com> 0.1.3-1
  110. - New upstream version.
  111. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-3
  112. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  113. * Fri Jan 28 2011 Richard Hughes <richard@hughsie.com> 0.1.1-2
  114. - Rebuild in the vain hope koji isn't broken today.
  115. * Wed Jan 26 2011 Richard Hughes <richard@hughsie.com> 0.1.1-1
  116. - New upstream version.
  117. * Thu Jan 13 2011 Richard Hughes <richard@hughsie.com> 0.1.0-1
  118. - Initial version for Fedora package review.