gnome-color-manager-vl.spec 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  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: 3%{?_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. * Sun Jul 03 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-3
  100. - rebuild with gcc-5.4.0
  101. * Wed Dec 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-2
  102. - rebuild with gnutls-3.4.7
  103. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-1
  104. - new upstream release
  105. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  106. - new upstream release
  107. * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1
  108. - new upstream release
  109. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1
  110. - new upstream release
  111. - add Patch0 (gnome-color-manager-3.14.0-cd-pixel-format.patch)
  112. * Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
  113. - new upstream release
  114. * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  115. - new upstream release
  116. * Wed Dec 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2
  117. - rebuild with exiv2-0.24
  118. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  119. - new upstream release
  120. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
  121. - new upstream release
  122. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  123. - new upstream release
  124. * Fri Jan 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  125. - new upstream release
  126. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  127. - new upstream release
  128. - change BuildRequires: colord-gtk-devel instead of colord-devel
  129. - add BuildRequires: yelp-tools
  130. * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-2
  131. - rebuild with exiv2-0.23
  132. * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1
  133. - new upstream release
  134. * Mon May 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-2
  135. - rebuild with exiv2-0.22
  136. * Sun Apr 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
  137. - new upstream release
  138. * Sat Jan 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  139. - new upstream release
  140. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  141. - new upstream release
  142. * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  143. - new upstream release
  144. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
  145. - new upstream release
  146. - add BuildRequires: clutter-gtk-devel, libmash-devel, gnome-common
  147. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90-1
  148. - new upstream release
  149. * Wed Aug 31 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-2
  150. - rebuild with exiv2-0.21.1
  151. * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-1
  152. - new upstream release
  153. - change BuildRequires: gtk3-devel instead of gtk2-devel
  154. - change BuildRequires: gnome-desktop3-devel instead of gnome-desktop-devel
  155. - change BuildRequires: libcanberra-gtk3-devel instead of libcanberra-devel
  156. - change BuildRequires: unique3-devel instead of unique-devel
  157. - change BuildRequires: vte3-devel instead of vte-devel
  158. - add BuildRequires: lcms2-devel, gnome-settings-daemon-devel, libusb1-devel, control-center-devel, exiv2-devel, colord-devel
  159. - remove -libs and -devel sub package
  160. * Mon Oct 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  161. - new upstream release
  162. * Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
  163. - new upstream release
  164. * Sat May 15 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
  165. - Initial build for Vine Linux
  166. * Fri Apr 2 2010 Matthias Clasen <mclasen@redhat.com> 2.30.0-4
  167. - BR GConf to make the macros work
  168. - Modernize icon cache handling
  169. * Wed Mar 31 2010 Richard Hughes <richard@hughsie.com> 2.30.0-3
  170. - Fix up a scriptlet problem.
  171. - Resolves: #578611
  172. * Mon Mar 29 2010 Richard Hughes <richard@hughsie.com> 2.30.0-2
  173. - Add libnotify BR.
  174. * Mon Mar 29 2010 Richard Hughes <richard@hughsie.com> 2.30.0-1
  175. - New upstream release.
  176. * Tue Mar 09 2010 Richard Hughes <richard@hughsie.com> 2.29.4-2
  177. - Update to the latest version of the Fedora Packaging Guidelines
  178. - Remove the custom BuildRoot
  179. - Do not clean the buildroot before install
  180. - Use the gconf_schema defines for the GConf schemas
  181. - Remove some over-zealous Requires that are already picked up by rpm.
  182. - Resolves #571658
  183. * Mon Mar 01 2010 Richard Hughes <richard@hughsie.com> 2.29.4-1
  184. - New upstream release.
  185. * Mon Feb 22 2010 Richard Hughes <richard@hughsie.com> 2.29.4-0.1.20100222
  186. - Another new snapshot from upstream with lots of bugs fixed from the Fedora
  187. test day.
  188. * Thu Feb 18 2010 Richard Hughes <richard@hughsie.com> 2.29.4-0.1.20100218
  189. - Another new snapshot from upstream for the Fedora test day.
  190. * Wed Feb 17 2010 Richard Hughes <richard@hughsie.com> 2.29.4-0.1.20100217
  191. - New snapshot from upstream for the Fedora test day.
  192. * Mon Feb 01 2010 Richard Hughes <richard@hughsie.com> 2.29.3-1
  193. - New upstream release.
  194. * Mon Jan 18 2010 Matthias Clasen <mclasen@redhat.com> 2.29.2-3
  195. - Rebuild against new gnome-desktop
  196. * Mon Jan 04 2010 Richard Hughes <richard@hughsie.com> 2.29.2-2
  197. - Rebuild, hopefully koji has now a working glibc.
  198. * Mon Jan 04 2010 Richard Hughes <richard@hughsie.com> 2.29.2-1
  199. - New upstream release.
  200. * Fri Dec 04 2009 Richard Hughes <richard@hughsie.com> 2.29.1-1
  201. - Initial spec for review.