cheese-vl.spec 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. Summary: A webcam application for snapshots and movies
  2. Summary(ja): スナップショットとムービーを撮るためのウェブカメラアプリケーション
  3. Name: cheese
  4. Version: 2.32.0
  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/2.32/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: gtk2-devel >= 2.22.0
  12. BuildRequires: gnome-desktop-devel >= 2.32.0
  13. BuildRequires: GConf2-devel >= 2.32.0
  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-devel
  29. Requires: gstreamer-plugins-good
  30. Requires(post): GConf2
  31. Requires(pre): GConf2
  32. Requires(preun): GConf2
  33. %description
  34. Cheese is a Photobooth-inspired GNOME application for taking pictures and
  35. videos from a webcam. It also includes fancy graphical effects based on the
  36. gstreamer-backend.
  37. %prep
  38. %setup -q
  39. %build
  40. %configure --disable-static
  41. make %{?_smp_mflags}
  42. %install
  43. rm -rf $RPM_BUILD_ROOT
  44. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  45. make install DESTDIR=$RPM_BUILD_ROOT
  46. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  47. desktop-file-install --delete-original --vendor="" \
  48. --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
  49. $RPM_BUILD_ROOT%{_datadir}/applications/cheese.desktop
  50. %find_lang %{name} --with-gnome
  51. %clean
  52. rm -rf $RPM_BUILD_ROOT
  53. %pre
  54. if [ "$1" -gt 1 ]; then
  55. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  56. gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/cheese.schemas > /dev/null || :
  57. fi
  58. %preun
  59. if [ "$1" -gt 0 ]; then
  60. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  61. gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/cheese.schemas > /dev/null || :
  62. fi
  63. %post
  64. touch --no-create %{_datadir}/icons/hicolor
  65. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  66. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  67. fi
  68. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  69. gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/cheese.schemas > /dev/null || :
  70. %postun
  71. touch --no-create %{_datadir}/icons/hicolor
  72. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  73. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  74. fi
  75. %files -f %{name}.lang
  76. %defattr(-,root,root,-)
  77. %doc AUTHORS COPYING README
  78. %{_bindir}/cheese
  79. %{_datadir}/applications/cheese.desktop
  80. %{_datadir}/cheese
  81. %{_datadir}/icons/hicolor/*/apps/cheese.png
  82. %{_datadir}/icons/hicolor/scalable/apps/cheese.svg
  83. %{_datadir}/dbus-1/services/org.gnome.Cheese.service
  84. %{_sysconfdir}/gconf/schemas/cheese.schemas
  85. %{_libexecdir}/cheese
  86. ## for development
  87. %{_includedir}/cheese
  88. %{_libdir}/libcheese-gtk.*
  89. %{_libdir}/pkgconfig
  90. %{_datadir}/gtk-doc/html/cheese/*
  91. %changelog
  92. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  93. - new upstream release
  94. * Thu Sep 30 2010 Shu KONNO <owa@bg.wakwak.com> 2.30.1-2
  95. - rebuilt with rpm-4.8.1 for pkg-config
  96. * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
  97. - new upstream release
  98. * Sun Apr 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  99. - new upstream release
  100. - remove BuildRequires: hal-devel
  101. - add BuildRequires: libgudev1-devel, libcanberra-devel
  102. * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.1-1
  103. - new upstream release
  104. * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.3-1
  105. - new upstream release
  106. * Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
  107. - new upstream release
  108. * Sun May 17 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.26.0-2
  109. - changed Group to Applications/Multimedia
  110. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  111. - new upstream release
  112. * Wed Oct 29 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
  113. - new upstream release
  114. * Sat Sep 27 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  115. - new upstream release
  116. * Mon Aug 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.22.3-1
  117. - initial build for Vine Linux
  118. * Tue Aug 5 2008 Matthias Clasen <mclasen@redhat.com> 2.23.6-1
  119. - Update to 2.23.6
  120. * Tue Jul 22 2008 Matthias Clasen <mclasen@redhat.com> 2.23.5-1
  121. - Update to 2.23.5
  122. * Wed Jun 18 2008 Matthias Clasen <mclasen@redhat.com> 2.23.4-1
  123. - Update to 2.23.4
  124. * Tue Jun 3 2008 Matthias Clasen <mclasen@redhat.com> 2.23.3-1
  125. - Update to 2.23.3
  126. * Tue May 13 2008 Matthias Clasen <mclasen@redhat.com> 2.23.2-1
  127. - Update to 2.23.2
  128. * Fri Apr 25 2008 Matthias Clasen <mclasen@redhat.com> 2.23.1-1
  129. - Update to 2.23.1
  130. * Tue Apr 22 2008 Matthias Clasen <mclasen@redhat.com> 2.22.1-2
  131. - Fix an invalid free
  132. * Mon Apr 7 2008 Matthias Clasen <mclasen@redhat.com> 2.22.1-1
  133. - Update to 2.22.1
  134. * Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> 2.22.0-1
  135. - Update to 2.22.0
  136. * Tue Feb 26 2008 Matthias Clasen <mclasen@redhat.com> 2.21.92-1
  137. - Update to 2.21.92
  138. * Fri Feb 15 2008 Matthias Clasen <mclasen@redhat.com> 2.21.91-3
  139. - Fix a locking problem that causes the UI to freeze
  140. * Fri Feb 8 2008 Matthias Clasen <mclasen@redhat.com> 2.21.91-2
  141. - Rebuild for gcc 4.3
  142. * Tue Jan 29 2008 Matthias Clasen <mclasen@redhat.com> 2.21.91-1
  143. - Update to 2.21.91
  144. * Mon Jan 14 2008 Matthias Clasen <mclasen@redhat.com> 2.21.5-1
  145. - Update to 2.21.5
  146. * Mon Dec 24 2007 Matthias Clasen <mclasen@redhat.com> 0.3.0-1
  147. - Update to 0.3.0
  148. * Fri Sep 7 2007 Matthias Clasen <mclasen@redhat.com> 0.2.4-2
  149. - package review feedback
  150. * Thu Sep 6 2007 Matthias Clasen <mclasen@redhat.com> 0.2.4-1
  151. - Initial packages