gnome-color-manager-vl.spec 7.3 KB

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