gnome-color-manager-vl.spec 8.3 KB

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