cheese-vl.spec 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  1. %define _unpackaged_files_terminate_build 1
  2. Summary: A webcam application for snapshots and movies
  3. Summary(ja): スナップショットとムービーを撮るためのウェブカメラアプリケーション
  4. Name: cheese
  5. Version: 3.34.0
  6. Release: 1%{?_dist_release}
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: GPLv2+
  10. URL: http://live.gnome.org/Cheese
  11. %global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//')
  12. Source0: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: meson
  15. BuildRequires: gtk3-devel >= 3.4.1
  16. BuildRequires: gnome-desktop3-devel >= 3.4.1
  17. BuildRequires: gstreamer1-devel >= 0.11.0
  18. BuildRequires: gstreamer1-plugins-base-devel >= 0.11.0
  19. BuildRequires: gstreamer1-plugins-bad-free-devel >= 0.11.0
  20. BuildRequires: cairo-devel >= 1.12.0
  21. BuildRequires: dbus-devel >= 1.4.0
  22. BuildRequires: dbus-glib-devel >= 0.88
  23. BuildRequires: pango-devel >= 1.28.3
  24. BuildRequires: librsvg2-devel >= 2.32.0
  25. BuildRequires: desktop-file-utils
  26. BuildRequires: gettext
  27. BuildRequires: perl(XML::Parser)
  28. BuildRequires: meson, intltool
  29. BuildRequires: gnome-common
  30. BuildRequires: libgudev1-devel
  31. BuildRequires: libcanberra-gtk3-devel
  32. BuildRequires: clutter-devel
  33. BuildRequires: clutter-gtk-devel
  34. BuildRequires: clutter-gst3-devel
  35. BuildRequires: libXtst-devel
  36. BuildRequires: yelp-tools
  37. BuildRequires: gnome-video-effects
  38. BuildRequires: vala
  39. Requires: gstreamer1-plugins-good
  40. Requires: gnome-video-effects
  41. %description
  42. Cheese is a Photobooth-inspired GNOME application for taking pictures and
  43. videos from a webcam. It also includes fancy graphical effects based on the
  44. gstreamer-backend.
  45. %package devel
  46. Summary: Development files for cheese
  47. Group: Development/Libraries
  48. License: GPLv2+
  49. Requires: %{name} = %{version}-%{release}
  50. %description devel
  51. This package contains the libraries and header files that are needed
  52. for writing applications that require a webcam display widget.
  53. %package docs
  54. Summary: Documentation for %{name}
  55. Summary(ja): %{name} 用のドキュメント
  56. Group: Documentation
  57. BuildArch: noarch
  58. %description docs
  59. This package contains documentation for %{name}.
  60. %prep
  61. %setup -q
  62. %build
  63. %meson
  64. %meson_build
  65. %install
  66. rm -rf $RPM_BUILD_ROOT
  67. %meson_install
  68. rm -f $RPM_BUILD_ROOT%{_libexecdir}/%{name}/cheese-bugreport.sh
  69. %find_lang %{name} --with-gnome
  70. %clean
  71. rm -rf $RPM_BUILD_ROOT
  72. %post
  73. touch --no-create %{_datadir}/icons/hicolor
  74. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  75. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  76. fi
  77. %postun
  78. touch --no-create %{_datadir}/icons/hicolor
  79. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  80. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  81. fi
  82. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  83. %posttrans
  84. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  85. %files -f %{name}.lang
  86. %defattr(-,root,root,-)
  87. %license COPYING
  88. %doc AUTHORS README
  89. %{_bindir}/cheese
  90. %{_libdir}/libcheese*.so.*
  91. %{_libdir}/girepository-1.0/*.typelib
  92. %{_datadir}/metainfo/*.xml
  93. %{_datadir}/applications/org.gnome.Cheese.desktop
  94. %{_datadir}/dbus-1/services/org.gnome.Cheese.service
  95. %{_datadir}/icons/hicolor/*/*/*
  96. %{_datadir}/glib-2.0/schemas/org.gnome.Cheese.gschema.xml
  97. %{_mandir}/man1/cheese.1.gz
  98. %files devel
  99. %defattr(-,root,root,-)
  100. %{_includedir}/cheese
  101. %{_libdir}/libcheese*.so
  102. %{_libdir}/pkgconfig/*.pc
  103. %{_datadir}/gir-1.0/*.gir
  104. %files docs
  105. %defattr(-,root,root,-)
  106. %{_datadir}/gtk-doc/html/cheese/*
  107. %changelog
  108. * Mon Aug 03 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.34.0-1
  109. - new upstream release.
  110. * Fri Dec 28 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.30.0-1
  111. - new upstream release.
  112. * Sun Jul 17 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.2-1
  113. - new upstream release
  114. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1
  115. - new upstream release
  116. - change BuildRequires: clutter-gst3-devel instead of clutter-gst-devel
  117. * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1
  118. - new upstream release
  119. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  120. - new upstream release
  121. - create %%{name}-docs subpackage
  122. * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1
  123. - new upstream release
  124. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1
  125. - new upstream release
  126. * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
  127. - new upstream release
  128. - add Requires: gnome-video-effects
  129. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
  130. - new upstream release
  131. * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  132. - new upstream release
  133. * Sat Nov 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.2-1
  134. - new upstream release
  135. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  136. - new upstream release
  137. * Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.3-1
  138. - new upstream release
  139. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
  140. - new upstream release
  141. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  142. - new upstream release
  143. - remove BuildRequires: libmx-devel, libgee06-devel
  144. - add BuildRequires: vala
  145. * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.2-1
  146. - new upstream release
  147. * Wed Oct 17 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  148. - new upstream release
  149. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  150. - new upstream release
  151. - change BuildRequires: gstreamer1-devel instead of gstreamer-devel
  152. - change BuildRequires: gstreamer1-plugins-base-devel instead of gstreamer-plugins-base-devel
  153. - change BuildRequires: yelp-tools instead of gnome-doc-utils
  154. - add BuildRequires: gstreamer1-plugins-bad-free, gnome-common
  155. * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1
  156. - new upstream release
  157. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  158. - new upstream release
  159. - add BuildRequires: itstool
  160. - remove BuildRequires: GConf2-devel
  161. * Sun Nov 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  162. - new upstream release
  163. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  164. - new upstream release
  165. * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  166. - new upstream release
  167. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
  168. - new upstream release
  169. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1
  170. - new upstream release
  171. - change BuildRequires: gtk3-devel instead of gtk2-devel
  172. - change BuildRequires: gnome-desktop3-devel instead of gnome-desktop-devel
  173. - change BuildRequires: libcanberra-gtk3-devel instead of libcanberra-devel
  174. - add BuildRequires: clutter-devel, clutter-gtk-devel, clutter-gst-devel
  175. libmx-devel, libXtst-devel, libgee-devel, gnome-video-effects
  176. * Mon May 02 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-2
  177. - create -devel sub package
  178. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  179. - new upstream release
  180. * Thu Sep 30 2010 Shu KONNO <owa@bg.wakwak.com> 2.30.1-2
  181. - rebuilt with rpm-4.8.1 for pkg-config
  182. * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
  183. - new upstream release
  184. * Sun Apr 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  185. - new upstream release
  186. - remove BuildRequires: hal-devel
  187. - add BuildRequires: libgudev1-devel, libcanberra-devel
  188. * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.1-1
  189. - new upstream release
  190. * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.3-1
  191. - new upstream release
  192. * Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
  193. - new upstream release
  194. * Sun May 17 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.26.0-2
  195. - changed Group to Applications/Multimedia
  196. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  197. - new upstream release
  198. * Wed Oct 29 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
  199. - new upstream release
  200. * Sat Sep 27 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  201. - new upstream release
  202. * Mon Aug 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.22.3-1
  203. - initial build for Vine Linux
  204. * Tue Aug 5 2008 Matthias Clasen <mclasen@redhat.com> 2.23.6-1
  205. - Update to 2.23.6
  206. * Tue Jul 22 2008 Matthias Clasen <mclasen@redhat.com> 2.23.5-1
  207. - Update to 2.23.5
  208. * Wed Jun 18 2008 Matthias Clasen <mclasen@redhat.com> 2.23.4-1
  209. - Update to 2.23.4
  210. * Tue Jun 3 2008 Matthias Clasen <mclasen@redhat.com> 2.23.3-1
  211. - Update to 2.23.3
  212. * Tue May 13 2008 Matthias Clasen <mclasen@redhat.com> 2.23.2-1
  213. - Update to 2.23.2
  214. * Fri Apr 25 2008 Matthias Clasen <mclasen@redhat.com> 2.23.1-1
  215. - Update to 2.23.1
  216. * Tue Apr 22 2008 Matthias Clasen <mclasen@redhat.com> 2.22.1-2
  217. - Fix an invalid free
  218. * Mon Apr 7 2008 Matthias Clasen <mclasen@redhat.com> 2.22.1-1
  219. - Update to 2.22.1
  220. * Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> 2.22.0-1
  221. - Update to 2.22.0
  222. * Tue Feb 26 2008 Matthias Clasen <mclasen@redhat.com> 2.21.92-1
  223. - Update to 2.21.92
  224. * Fri Feb 15 2008 Matthias Clasen <mclasen@redhat.com> 2.21.91-3
  225. - Fix a locking problem that causes the UI to freeze
  226. * Fri Feb 8 2008 Matthias Clasen <mclasen@redhat.com> 2.21.91-2
  227. - Rebuild for gcc 4.3
  228. * Tue Jan 29 2008 Matthias Clasen <mclasen@redhat.com> 2.21.91-1
  229. - Update to 2.21.91
  230. * Mon Jan 14 2008 Matthias Clasen <mclasen@redhat.com> 2.21.5-1
  231. - Update to 2.21.5
  232. * Mon Dec 24 2007 Matthias Clasen <mclasen@redhat.com> 0.3.0-1
  233. - Update to 0.3.0
  234. * Fri Sep 7 2007 Matthias Clasen <mclasen@redhat.com> 0.2.4-2
  235. - package review feedback
  236. * Thu Sep 6 2007 Matthias Clasen <mclasen@redhat.com> 0.2.4-1
  237. - Initial packages