cheese-vl.spec 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. Summary: A webcam application for snapshots and movies
  2. Summary(ja): スナップショットとムービーを撮るためのウェブカメラアプリケーション
  3. Name: cheese
  4. Version: 3.0.2
  5. Release: 1%{?_dist_release}
  6. Group: Applications/Multimedia
  7. License: GPLv2+
  8. URL: http://live.gnome.org/Cheese
  9. Source0: http://download.gnome.org/sources/cheese/3.0/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: gtk3-devel >= 3.0.0
  12. BuildRequires: gnome-desktop3-devel >= 3.0.0
  13. BuildRequires: GConf2-devel >= 2.32.2
  14. BuildRequires: gstreamer-devel >= 0.10.30
  15. BuildRequires: gstreamer-plugins-base-devel >= 0.10.30
  16. BuildRequires: evolution-data-server-devel >= 2.32.0
  17. BuildRequires: cairo-devel >= 1.10.0
  18. BuildRequires: dbus-devel >= 1.4.0
  19. BuildRequires: dbus-glib-devel >= 0.88
  20. BuildRequires: pango-devel >= 1.28.3
  21. BuildRequires: librsvg2-devel >= 2.32.0
  22. BuildRequires: desktop-file-utils
  23. BuildRequires: gettext
  24. BuildRequires: perl(XML::Parser)
  25. BuildRequires: gnome-doc-utils
  26. BuildRequires: autoconf, automake, libtool, intltool
  27. BuildRequires: libgudev1-devel
  28. BuildRequires: libcanberra-gtk3-devel
  29. BuildRequires: clutter-devel
  30. BuildRequires: clutter-gtk-devel
  31. BuildRequires: clutter-gst-devel
  32. BuildRequires: libmx-devel
  33. BuildRequires: libXtst-devel
  34. BuildRequires: libgee-devel
  35. BuildRequires: gnome-video-effects
  36. Requires: gstreamer-plugins-good
  37. Requires(post): GConf2
  38. Requires(pre): GConf2
  39. Requires(preun): GConf2
  40. Vendor: Project Vine
  41. Distribution: Vine Linux
  42. Packager: Takemikaduchi
  43. %description
  44. Cheese is a Photobooth-inspired GNOME application for taking pictures and
  45. videos from a webcam. It also includes fancy graphical effects based on the
  46. gstreamer-backend.
  47. %package devel
  48. Summary: Development files for cheese
  49. Group: Development/Libraries
  50. License: GPLv2+
  51. Requires: %{name} = %{version}-%{release}
  52. %description devel
  53. This package contains the libraries and header files that are needed
  54. for writing applications that require a webcam display widget.
  55. %prep
  56. %setup -q
  57. %build
  58. %configure --disable-static
  59. make %{?_smp_mflags}
  60. %install
  61. rm -rf $RPM_BUILD_ROOT
  62. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  63. make install DESTDIR=$RPM_BUILD_ROOT
  64. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  65. desktop-file-install --delete-original --vendor="" \
  66. --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
  67. $RPM_BUILD_ROOT%{_datadir}/applications/cheese.desktop
  68. rm -f $RPM_BUILD_ROOT%{_libdir}/*.{la,a}
  69. rm -f $RPM_BUILD_ROOT%{_libexecdir}/%{name}/cheese-bugreport.sh
  70. %find_lang %{name} --with-gnome
  71. %clean
  72. rm -rf $RPM_BUILD_ROOT
  73. %post
  74. touch --no-create %{_datadir}/icons/hicolor
  75. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  76. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  77. fi
  78. %postun
  79. touch --no-create %{_datadir}/icons/hicolor
  80. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  81. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  82. fi
  83. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  84. %posttrans
  85. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  86. %files -f %{name}.lang
  87. %defattr(-,root,root,-)
  88. %doc AUTHORS COPYING README
  89. %{_bindir}/cheese
  90. %{_libdir}/libcheese*.so.*
  91. %{_libdir}/girepository-1.0/*.typelib
  92. %{_datadir}/applications/cheese.desktop
  93. %{_datadir}/cheese
  94. %{_datadir}/icons/hicolor/*/apps/cheese.png
  95. %{_datadir}/icons/hicolor/scalable/apps/cheese.svg
  96. %{_datadir}/glib-2.0/schemas/org.gnome.Cheese.gschema.xml
  97. %files devel
  98. %defattr(-,root,root,-)
  99. %{_includedir}/cheese
  100. %{_libdir}/libcheese*.so
  101. %{_libdir}/pkgconfig/*.pc
  102. %{_datadir}/gir-1.0/*.gir
  103. %{_datadir}/gtk-doc/html/cheese/*
  104. %changelog
  105. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1
  106. - new upstream release
  107. - change BuildRequires: gtk3-devel instead of gtk2-devel
  108. - change BuildRequires: gnome-desktop3-devel instead of gnome-desktop-devel
  109. - change BuildRequires: libcanberra-gtk3-devel instead of libcanberra-devel
  110. - add BuildRequires: clutter-devel, clutter-gtk-devel, clutter-gst-devel
  111. libmx-devel, libXtst-devel, libgee-devel, gnome-video-effects
  112. * Mon May 02 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-2
  113. - create -devel sub package
  114. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  115. - new upstream release
  116. * Thu Sep 30 2010 Shu KONNO <owa@bg.wakwak.com> 2.30.1-2
  117. - rebuilt with rpm-4.8.1 for pkg-config
  118. * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
  119. - new upstream release
  120. * Sun Apr 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  121. - new upstream release
  122. - remove BuildRequires: hal-devel
  123. - add BuildRequires: libgudev1-devel, libcanberra-devel
  124. * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.1-1
  125. - new upstream release
  126. * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.3-1
  127. - new upstream release
  128. * Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
  129. - new upstream release
  130. * Sun May 17 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.26.0-2
  131. - changed Group to Applications/Multimedia
  132. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  133. - new upstream release
  134. * Wed Oct 29 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
  135. - new upstream release
  136. * Sat Sep 27 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  137. - new upstream release
  138. * Mon Aug 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.22.3-1
  139. - initial build for Vine Linux
  140. * Tue Aug 5 2008 Matthias Clasen <mclasen@redhat.com> 2.23.6-1
  141. - Update to 2.23.6
  142. * Tue Jul 22 2008 Matthias Clasen <mclasen@redhat.com> 2.23.5-1
  143. - Update to 2.23.5
  144. * Wed Jun 18 2008 Matthias Clasen <mclasen@redhat.com> 2.23.4-1
  145. - Update to 2.23.4
  146. * Tue Jun 3 2008 Matthias Clasen <mclasen@redhat.com> 2.23.3-1
  147. - Update to 2.23.3
  148. * Tue May 13 2008 Matthias Clasen <mclasen@redhat.com> 2.23.2-1
  149. - Update to 2.23.2
  150. * Fri Apr 25 2008 Matthias Clasen <mclasen@redhat.com> 2.23.1-1
  151. - Update to 2.23.1
  152. * Tue Apr 22 2008 Matthias Clasen <mclasen@redhat.com> 2.22.1-2
  153. - Fix an invalid free
  154. * Mon Apr 7 2008 Matthias Clasen <mclasen@redhat.com> 2.22.1-1
  155. - Update to 2.22.1
  156. * Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> 2.22.0-1
  157. - Update to 2.22.0
  158. * Tue Feb 26 2008 Matthias Clasen <mclasen@redhat.com> 2.21.92-1
  159. - Update to 2.21.92
  160. * Fri Feb 15 2008 Matthias Clasen <mclasen@redhat.com> 2.21.91-3
  161. - Fix a locking problem that causes the UI to freeze
  162. * Fri Feb 8 2008 Matthias Clasen <mclasen@redhat.com> 2.21.91-2
  163. - Rebuild for gcc 4.3
  164. * Tue Jan 29 2008 Matthias Clasen <mclasen@redhat.com> 2.21.91-1
  165. - Update to 2.21.91
  166. * Mon Jan 14 2008 Matthias Clasen <mclasen@redhat.com> 2.21.5-1
  167. - Update to 2.21.5
  168. * Mon Dec 24 2007 Matthias Clasen <mclasen@redhat.com> 0.3.0-1
  169. - Update to 0.3.0
  170. * Fri Sep 7 2007 Matthias Clasen <mclasen@redhat.com> 0.2.4-2
  171. - package review feedback
  172. * Thu Sep 6 2007 Matthias Clasen <mclasen@redhat.com> 0.2.4-1
  173. - Initial packages