cheese-vl.spec 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. Summary: A webcam application for snapshots and movies
  2. Summary(ja): スナップショットとムービーを撮るためのウェブカメラアプリケーション
  3. Name: cheese
  4. Version: 2.30.1
  5. Release: 2%{?_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.28/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: gtk2-devel >= 2.20.0
  12. BuildRequires: gnome-desktop-devel >= 2.30.0
  13. BuildRequires: GConf2-devel >= 2.28.0
  14. BuildRequires: gstreamer-devel >= 0.10.20
  15. BuildRequires: gstreamer-plugins-base-devel >= 0.10.20
  16. BuildRequires: evolution-data-server-devel >= 2.30.0
  17. BuildRequires: cairo-devel >= 1.8.10
  18. BuildRequires: dbus-devel >= 1.2.24
  19. BuildRequires: dbus-glib-devel >= 0.86
  20. BuildRequires: pango-devel >= 1.28.0
  21. BuildRequires: librsvg2-devel >= 2.26.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. * Thu Sep 30 2010 Shu KONNO <owa@bg.wakwak.com> 2.30.1-2
  93. - rebuilt with rpm-4.8.1 for pkg-config
  94. * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
  95. - new upstream release
  96. * Sun Apr 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  97. - new upstream release
  98. - remove BuildRequires: hal-devel
  99. - add BuildRequires: libgudev1-devel, libcanberra-devel
  100. * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.1-1
  101. - new upstream release
  102. * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.3-1
  103. - new upstream release
  104. * Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
  105. - new upstream release
  106. * Sun May 17 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.26.0-2
  107. - changed Group to Applications/Multimedia
  108. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  109. - new upstream release
  110. * Wed Oct 29 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
  111. - new upstream release
  112. * Sat Sep 27 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  113. - new upstream release
  114. * Mon Aug 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.22.3-1
  115. - initial build for Vine Linux
  116. * Tue Aug 5 2008 Matthias Clasen <mclasen@redhat.com> 2.23.6-1
  117. - Update to 2.23.6
  118. * Tue Jul 22 2008 Matthias Clasen <mclasen@redhat.com> 2.23.5-1
  119. - Update to 2.23.5
  120. * Wed Jun 18 2008 Matthias Clasen <mclasen@redhat.com> 2.23.4-1
  121. - Update to 2.23.4
  122. * Tue Jun 3 2008 Matthias Clasen <mclasen@redhat.com> 2.23.3-1
  123. - Update to 2.23.3
  124. * Tue May 13 2008 Matthias Clasen <mclasen@redhat.com> 2.23.2-1
  125. - Update to 2.23.2
  126. * Fri Apr 25 2008 Matthias Clasen <mclasen@redhat.com> 2.23.1-1
  127. - Update to 2.23.1
  128. * Tue Apr 22 2008 Matthias Clasen <mclasen@redhat.com> 2.22.1-2
  129. - Fix an invalid free
  130. * Mon Apr 7 2008 Matthias Clasen <mclasen@redhat.com> 2.22.1-1
  131. - Update to 2.22.1
  132. * Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> 2.22.0-1
  133. - Update to 2.22.0
  134. * Tue Feb 26 2008 Matthias Clasen <mclasen@redhat.com> 2.21.92-1
  135. - Update to 2.21.92
  136. * Fri Feb 15 2008 Matthias Clasen <mclasen@redhat.com> 2.21.91-3
  137. - Fix a locking problem that causes the UI to freeze
  138. * Fri Feb 8 2008 Matthias Clasen <mclasen@redhat.com> 2.21.91-2
  139. - Rebuild for gcc 4.3
  140. * Tue Jan 29 2008 Matthias Clasen <mclasen@redhat.com> 2.21.91-1
  141. - Update to 2.21.91
  142. * Mon Jan 14 2008 Matthias Clasen <mclasen@redhat.com> 2.21.5-1
  143. - Update to 2.21.5
  144. * Mon Dec 24 2007 Matthias Clasen <mclasen@redhat.com> 0.3.0-1
  145. - Update to 0.3.0
  146. * Fri Sep 7 2007 Matthias Clasen <mclasen@redhat.com> 0.2.4-2
  147. - package review feedback
  148. * Thu Sep 6 2007 Matthias Clasen <mclasen@redhat.com> 0.2.4-1
  149. - Initial packages