gnome-color-manager-vl.spec 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. Summary: Color management tools for GNOME
  2. Name: gnome-color-manager
  3. Version: 3.36.0
  4. Release: 1%{?_dist_release}
  5. Vendor: Project Vine
  6. Distribution: Vine Linux
  7. License: GPLv2+
  8. URL: http://projects.gnome.org/gnome-color-manager/
  9. %global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//')
  10. Source0: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
  11. Requires: gnome-icon-theme
  12. Requires: shared-mime-info
  13. Requires: shared-color-profiles
  14. BuildRequires: meson
  15. BuildRequires: itstool
  16. BuildRequires: gnome-common
  17. BuildRequires: desktop-file-utils
  18. BuildRequires: glib2-devel >= 2.25.0
  19. BuildRequires: gtk3-devel >= 3.0.0
  20. BuildRequires: colord-devel
  21. BuildRequires: lcms2-devel
  22. BuildRequires: libcanberra-gtk3-devel
  23. Obsoletes: %{name}-libs < 3.1.0
  24. Obsoletes: %{name}-devel < 3.1.0
  25. %description
  26. gnome-color-manager is a session framework that makes it easy to manage, install
  27. and generate color profiles in the GNOME desktop.
  28. %prep
  29. %setup -q
  30. %build
  31. %meson \
  32. -Dtests=false
  33. %meson_build
  34. %install
  35. %meson_install
  36. for i in gcm-import ; do
  37. desktop-file-install --delete-original \
  38. --dir=$RPM_BUILD_ROOT%{_datadir}/applications/ \
  39. $RPM_BUILD_ROOT%{_datadir}/applications/$i.desktop
  40. done
  41. %find_lang %name --with-gnome
  42. %post
  43. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  44. update-desktop-database %{_datadir}/applications &> /dev/null || :
  45. update-mime-database %{_datadir}/mime &> /dev/null || :
  46. %postun
  47. if [ $1 -eq 0 ]; then
  48. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  49. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  50. fi
  51. update-desktop-database %{_datadir}/applications &> /dev/null || :
  52. update-mime-database %{_datadir}/mime &> /dev/null || :
  53. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  54. %posttrans
  55. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  56. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  57. %files -f %{name}.lang
  58. %defattr(-,root,root,-)
  59. %license COPYING
  60. %doc AUTHORS README
  61. %{_bindir}/gcm-*
  62. %{_datadir}/applications/*.desktop
  63. %dir %{_datadir}/%{name}
  64. %{_datadir}/%{name}/figures
  65. %{_datadir}/metainfo/*.appdata.xml
  66. %{_datadir}/icons/hicolor/*/*/*.png
  67. %{_datadir}/icons/hicolor/scalable/*/*.svg*
  68. %{_datadir}/man/man1/*.1.gz
  69. %changelog
  70. * Tue Aug 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.36.0-1
  71. - new upstream release.
  72. - dropped Patch0 and 1: no longer needed.
  73. * Fri Jan 04 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.30.0-1
  74. - new upstream release.
  75. * Sun Jul 03 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-3
  76. - rebuild with gcc-5.4.0
  77. * Wed Dec 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-2
  78. - rebuild with gnutls-3.4.7
  79. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-1
  80. - new upstream release
  81. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  82. - new upstream release
  83. * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1
  84. - new upstream release
  85. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1
  86. - new upstream release
  87. - add Patch0 (gnome-color-manager-3.14.0-cd-pixel-format.patch)
  88. * Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
  89. - new upstream release
  90. * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  91. - new upstream release
  92. * Wed Dec 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2
  93. - rebuild with exiv2-0.24
  94. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  95. - new upstream release
  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.