gnome-color-manager-vl.spec 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. %{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
  2. Summary: Color management tools for GNOME
  3. Name: gnome-color-manager
  4. Version: 3.2.2
  5. Release: 1%{?_dist_release}
  6. License: GPLv2+
  7. Group: Applications/System
  8. URL: http://projects.gnome.org/gnome-color-manager/
  9. Source0: http://download.gnome.org/sources/gnome-color-manager/3.2/%{name}-%{version}.tar.xz
  10. Requires: gnome-icon-theme
  11. Requires: shared-mime-info
  12. Requires: shared-color-profiles
  13. Requires(pre): GConf2
  14. Requires(post): GConf2
  15. Requires(preun): GConf2
  16. BuildRequires: gtk3-devel >= 3.0.0
  17. BuildRequires: scrollkeeper
  18. BuildRequires: gnome-doc-utils >= 0.3.2
  19. BuildRequires: desktop-file-utils
  20. BuildRequires: gettext
  21. BuildRequires: libtool
  22. BuildRequires: vte3-devel
  23. BuildRequires: gnome-doc-utils
  24. BuildRequires: unique3-devel >= 3.0.0
  25. BuildRequires: intltool
  26. BuildRequires: libgudev1-devel
  27. BuildRequires: dbus-glib-devel >= 0.73
  28. BuildRequires: libXxf86vm-devel
  29. BuildRequires: libXrandr-devel
  30. BuildRequires: gnome-desktop3-devel
  31. BuildRequires: lcms-devel
  32. BuildRequires: cups-devel
  33. BuildRequires: sane-devel
  34. BuildRequires: libtiff-devel
  35. BuildRequires: libcanberra-gtk3-devel
  36. BuildRequires: libnotify-devel
  37. BuildRequires: lcms2-devel
  38. BuildRequires: gnome-settings-daemon-devel
  39. BuildRequires: libusb1-devel
  40. BuildRequires: control-center-devel
  41. BuildRequires: exiv2-devel
  42. BuildRequires: colord-devel
  43. BuildRequires: clutter-gtk-devel
  44. BuildRequires: libmash-devel
  45. BuildRequires: gnome-common
  46. Obsoletes: %{name}-libs < 3.1.0
  47. Obsoletes: %{name}-devel < 3.1.0
  48. Vendor: Project Vine
  49. Distribution: Vine Linux
  50. Packager: Takemikaduchi
  51. %description
  52. gnome-color-manager is a session framework that makes it easy to manage, install
  53. and generate color profiles in the GNOME desktop.
  54. %prep
  55. %setup -q
  56. %build
  57. autoreconf -if
  58. %configure --disable-scrollkeeper --disable-schemas-install
  59. make %{?_smp_mflags}
  60. %install
  61. make install DESTDIR=$RPM_BUILD_ROOT
  62. for i in gcm-import ; do
  63. desktop-file-install --delete-original \
  64. --dir=$RPM_BUILD_ROOT%{_datadir}/applications/ \
  65. $RPM_BUILD_ROOT%{_datadir}/applications/$i.desktop
  66. done
  67. rm -f $RPM_BUILD_ROOT%{_libdir}/*.{la,a}
  68. rm -f $RPM_BUILD_ROOT%{_libdir}/control-center-1/panels/*.{la,a}
  69. rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-settings-daemon-3.0/*.{la,a}
  70. %find_lang %name --with-gnome
  71. %post
  72. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  73. update-desktop-database %{_datadir}/applications &> /dev/null || :
  74. update-mime-database %{_datadir}/mime &> /dev/null || :
  75. %postun
  76. if [ $1 -eq 0 ]; then
  77. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  78. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  79. fi
  80. update-desktop-database %{_datadir}/applications &> /dev/null || :
  81. update-mime-database %{_datadir}/mime &> /dev/null || :
  82. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  83. %posttrans
  84. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  85. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  86. %files -f %{name}.lang
  87. %defattr(-,root,root,-)
  88. %doc AUTHORS COPYING NEWS README
  89. %{_bindir}/gcm-*
  90. %{_libexecdir}/gcm-helper-exiv
  91. %{_datadir}/applications/gcm-*.desktop
  92. %{_datadir}/dbus-1/services/org.gnome.ColorManager.service
  93. %dir %{_datadir}/%{name}
  94. %{_datadir}/%{name}/gcm-*.ui
  95. %{_datadir}/%{name}/figures/*.png
  96. %{_datadir}/%{name}/icons/*.svg
  97. %{_datadir}/%{name}/targets/*.png
  98. %{_datadir}/icons/hicolor/*/*/*.png
  99. %{_datadir}/icons/hicolor/scalable/*/*.svg*
  100. %{_datadir}/man/man1/*.1.gz
  101. %changelog
  102. * Sat Jan 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  103. - new upstream release
  104. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  105. - new upstream release
  106. * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  107. - new upstream release
  108. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
  109. - new upstream release
  110. - add BuildRequires: clutter-gtk-devel, libmash-devel, gnome-common
  111. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90-1
  112. - new upstream release
  113. * Wed Aug 31 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-2
  114. - rebuild with exiv2-0.21.1
  115. * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-1
  116. - new upstream release
  117. - change BuildRequires: gtk3-devel instead of gtk2-devel
  118. - change BuildRequires: gnome-desktop3-devel instead of gnome-desktop-devel
  119. - change BuildRequires: libcanberra-gtk3-devel instead of libcanberra-devel
  120. - change BuildRequires: unique3-devel instead of unique-devel
  121. - change BuildRequires: vte3-devel instead of vte-devel
  122. - add BuildRequires: lcms2-devel, gnome-settings-daemon-devel, libusb1-devel, control-center-devel, exiv2-devel, colord-devel
  123. - remove -libs and -devel sub package
  124. * Mon Oct 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  125. - new upstream release
  126. * Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
  127. - new upstream release
  128. * Sat May 15 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
  129. - Initial build for Vine Linux
  130. * Fri Apr 2 2010 Matthias Clasen <mclasen@redhat.com> 2.30.0-4
  131. - BR GConf to make the macros work
  132. - Modernize icon cache handling
  133. * Wed Mar 31 2010 Richard Hughes <richard@hughsie.com> 2.30.0-3
  134. - Fix up a scriptlet problem.
  135. - Resolves: #578611
  136. * Mon Mar 29 2010 Richard Hughes <richard@hughsie.com> 2.30.0-2
  137. - Add libnotify BR.
  138. * Mon Mar 29 2010 Richard Hughes <richard@hughsie.com> 2.30.0-1
  139. - New upstream release.
  140. * Tue Mar 09 2010 Richard Hughes <richard@hughsie.com> 2.29.4-2
  141. - Update to the latest version of the Fedora Packaging Guidelines
  142. - Remove the custom BuildRoot
  143. - Do not clean the buildroot before install
  144. - Use the gconf_schema defines for the GConf schemas
  145. - Remove some over-zealous Requires that are already picked up by rpm.
  146. - Resolves #571658
  147. * Mon Mar 01 2010 Richard Hughes <richard@hughsie.com> 2.29.4-1
  148. - New upstream release.
  149. * Mon Feb 22 2010 Richard Hughes <richard@hughsie.com> 2.29.4-0.1.20100222
  150. - Another new snapshot from upstream with lots of bugs fixed from the Fedora
  151. test day.
  152. * Wed Feb 18 2010 Richard Hughes <richard@hughsie.com> 2.29.4-0.1.20100218
  153. - Another new snapshot from upstream for the Fedora test day.
  154. * Wed Feb 17 2010 Richard Hughes <richard@hughsie.com> 2.29.4-0.1.20100217
  155. - New snapshot from upstream for the Fedora test day.
  156. * Mon Feb 01 2010 Richard Hughes <richard@hughsie.com> 2.29.3-1
  157. - New upstream release.
  158. * Mon Jan 18 2010 Matthias Clasen <mclasen@redhat.com> 2.29.2-3
  159. - Rebuild against new gnome-desktop
  160. * Mon Jan 04 2010 Richard Hughes <richard@hughsie.com> 2.29.2-2
  161. - Rebuild, hopefully koji has now a working glibc.
  162. * Mon Jan 04 2010 Richard Hughes <richard@hughsie.com> 2.29.2-1
  163. - New upstream release.
  164. * Fri Dec 04 2009 Richard Hughes <richard@hughsie.com> 2.29.1-1
  165. - Initial spec for review.