gnome-color-manager-vl.spec 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  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.4.0
  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.4/%{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-calibrate-helper
  91. %{_libexecdir}/gcm-helper-exiv
  92. %{_datadir}/applications/gcm-*.desktop
  93. %dir %{_datadir}/%{name}
  94. %{_datadir}/%{name}/figures/*.png
  95. %{_datadir}/%{name}/icons/*.svg
  96. %{_datadir}/%{name}/targets/*.png
  97. %{_datadir}/%{name}/ti1
  98. %{_datadir}/icons/hicolor/*/*/*.png
  99. %{_datadir}/icons/hicolor/scalable/*/*.svg*
  100. %{_datadir}/man/man1/*.1.gz
  101. %changelog
  102. * Sun Apr 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
  103. - new upstream release
  104. * Sat Jan 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  105. - new upstream release
  106. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  107. - new upstream release
  108. * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  109. - new upstream release
  110. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
  111. - new upstream release
  112. - add BuildRequires: clutter-gtk-devel, libmash-devel, gnome-common
  113. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90-1
  114. - new upstream release
  115. * Wed Aug 31 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-2
  116. - rebuild with exiv2-0.21.1
  117. * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-1
  118. - new upstream release
  119. - change BuildRequires: gtk3-devel instead of gtk2-devel
  120. - change BuildRequires: gnome-desktop3-devel instead of gnome-desktop-devel
  121. - change BuildRequires: libcanberra-gtk3-devel instead of libcanberra-devel
  122. - change BuildRequires: unique3-devel instead of unique-devel
  123. - change BuildRequires: vte3-devel instead of vte-devel
  124. - add BuildRequires: lcms2-devel, gnome-settings-daemon-devel, libusb1-devel, control-center-devel, exiv2-devel, colord-devel
  125. - remove -libs and -devel sub package
  126. * Mon Oct 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  127. - new upstream release
  128. * Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
  129. - new upstream release
  130. * Sat May 15 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
  131. - Initial build for Vine Linux
  132. * Fri Apr 2 2010 Matthias Clasen <mclasen@redhat.com> 2.30.0-4
  133. - BR GConf to make the macros work
  134. - Modernize icon cache handling
  135. * Wed Mar 31 2010 Richard Hughes <richard@hughsie.com> 2.30.0-3
  136. - Fix up a scriptlet problem.
  137. - Resolves: #578611
  138. * Mon Mar 29 2010 Richard Hughes <richard@hughsie.com> 2.30.0-2
  139. - Add libnotify BR.
  140. * Mon Mar 29 2010 Richard Hughes <richard@hughsie.com> 2.30.0-1
  141. - New upstream release.
  142. * Tue Mar 09 2010 Richard Hughes <richard@hughsie.com> 2.29.4-2
  143. - Update to the latest version of the Fedora Packaging Guidelines
  144. - Remove the custom BuildRoot
  145. - Do not clean the buildroot before install
  146. - Use the gconf_schema defines for the GConf schemas
  147. - Remove some over-zealous Requires that are already picked up by rpm.
  148. - Resolves #571658
  149. * Mon Mar 01 2010 Richard Hughes <richard@hughsie.com> 2.29.4-1
  150. - New upstream release.
  151. * Mon Feb 22 2010 Richard Hughes <richard@hughsie.com> 2.29.4-0.1.20100222
  152. - Another new snapshot from upstream with lots of bugs fixed from the Fedora
  153. test day.
  154. * Wed Feb 18 2010 Richard Hughes <richard@hughsie.com> 2.29.4-0.1.20100218
  155. - Another new snapshot from upstream for the Fedora test day.
  156. * Wed Feb 17 2010 Richard Hughes <richard@hughsie.com> 2.29.4-0.1.20100217
  157. - New snapshot from upstream for the Fedora test day.
  158. * Mon Feb 01 2010 Richard Hughes <richard@hughsie.com> 2.29.3-1
  159. - New upstream release.
  160. * Mon Jan 18 2010 Matthias Clasen <mclasen@redhat.com> 2.29.2-3
  161. - Rebuild against new gnome-desktop
  162. * Mon Jan 04 2010 Richard Hughes <richard@hughsie.com> 2.29.2-2
  163. - Rebuild, hopefully koji has now a working glibc.
  164. * Mon Jan 04 2010 Richard Hughes <richard@hughsie.com> 2.29.2-1
  165. - New upstream release.
  166. * Fri Dec 04 2009 Richard Hughes <richard@hughsie.com> 2.29.1-1
  167. - Initial spec for review.