gnome-color-manager-vl.spec 8.3 KB

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