|
|
420a4c2 |
Name: cheese
|
|
|
5106d73 |
Version: 2.25.91
|
|
|
e259a3d |
Release: 1%{?dist}
|
|
|
31079a5 |
Summary: Application for taking pictures and movies from a webcam
|
|
|
420a4c2 |
|
|
|
420a4c2 |
Group: Amusements/Graphics
|
|
|
420a4c2 |
License: GPLv2+
|
|
|
31079a5 |
URL: http://projects.gnome.org/cheese/
|
|
|
e259a3d |
Source0: http://download.gnome.org/sources/cheese/2.25/%{name}-%{version}.tar.bz2
|
|
|
420a4c2 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
420a4c2 |
|
|
|
420a4c2 |
BuildRequires: gtk2-devel >= 2.10.0
|
|
|
b0c96ad |
BuildRequires: libglade2-devel >= 2.6.0
|
|
|
420a4c2 |
BuildRequires: dbus-devel
|
|
|
4c09390 |
BuildRequires: dbus-glib-devel
|
|
|
d819029 |
BuildRequires: gstreamer-devel >= 0.10.16
|
|
|
420a4c2 |
BuildRequires: gstreamer-plugins-base-devel >= 0.10.12
|
|
|
420a4c2 |
BuildRequires: gnome-vfs2-devel
|
|
|
4c09390 |
BuildRequires: GConf2-devel
|
|
|
b0c96ad |
BuildRequires: cairo-devel >= 1.2.4
|
|
|
b0c96ad |
BuildRequires: hal-devel >= 0.5.9
|
|
|
420a4c2 |
BuildRequires: libgnomeui-devel
|
|
|
b0c96ad |
BuildRequires: librsvg2-devel >= 2.18.0
|
|
|
420a4c2 |
BuildRequires: evolution-data-server-devel
|
|
|
420a4c2 |
BuildRequires: libXxf86vm-devel
|
|
|
420a4c2 |
BuildRequires: desktop-file-utils
|
|
|
420a4c2 |
BuildRequires: gettext
|
|
|
8e72e42 |
BuildRequires: perl(XML::Parser)
|
|
|
dda77a2 |
BuildRequires: gnome-doc-utils
|
|
|
a674818 |
BuildRequires: intltool
|
|
|
9ac5876 |
BuildRequires: gnome-desktop-devel >= 2.25.1
|
|
|
420a4c2 |
|
|
|
420a4c2 |
Requires: gstreamer-plugins-good >= 0.10.6-2
|
|
|
4c09390 |
Requires(post): GConf2
|
|
|
4c09390 |
Requires(pre): GConf2
|
|
|
4c09390 |
Requires(preun): GConf2
|
|
|
420a4c2 |
|
|
|
420a4c2 |
%description
|
|
|
420a4c2 |
Cheese is a Photobooth-inspired GNOME application for taking pictures and
|
|
|
31079a5 |
videos from a webcam. It can also apply fancy graphical effects.
|
|
|
fd29e9f |
|
|
|
420a4c2 |
%prep
|
|
|
420a4c2 |
%setup -q
|
|
|
fd29e9f |
|
|
|
420a4c2 |
|
|
|
420a4c2 |
%build
|
|
|
420a4c2 |
%configure
|
|
|
420a4c2 |
make %{?_smp_mflags}
|
|
|
420a4c2 |
|
|
|
420a4c2 |
|
|
|
420a4c2 |
%install
|
|
|
420a4c2 |
rm -rf $RPM_BUILD_ROOT
|
|
|
bda8a56 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
|
|
420a4c2 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
bda8a56 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
|
|
420a4c2 |
|
|
|
420a4c2 |
desktop-file-install --delete-original --vendor="" \
|
|
|
420a4c2 |
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
|
|
|
420a4c2 |
$RPM_BUILD_ROOT%{_datadir}/applications/cheese.desktop
|
|
|
420a4c2 |
|
|
|
5713463 |
# save space by linking identical images in translated docs
|
|
|
5713463 |
helpdir=$RPM_BUILD_ROOT%{_datadir}/gnome/help/%{name}
|
|
|
5713463 |
for f in $helpdir/C/figures/*.jpg; do
|
|
|
5713463 |
b="$(basename $f)"
|
|
|
5713463 |
for d in $helpdir/*; do
|
|
|
5713463 |
if [ -d "$d" -a "$d" != "$helpdir/C" ]; then
|
|
|
5713463 |
g="$d/figures/$b"
|
|
|
5713463 |
if [ -f "$g" ]; then
|
|
|
5713463 |
if cmp -s $f $g; then
|
|
|
5713463 |
rm "$g"; ln -s "../../C/figures/$b" "$g"
|
|
|
5713463 |
fi
|
|
|
5713463 |
fi
|
|
|
5713463 |
fi
|
|
|
5713463 |
done
|
|
|
5713463 |
done
|
|
|
5713463 |
|
|
|
420a4c2 |
%find_lang %{name} --with-gnome
|
|
|
420a4c2 |
|
|
|
420a4c2 |
|
|
|
420a4c2 |
%clean
|
|
|
420a4c2 |
rm -rf $RPM_BUILD_ROOT
|
|
|
420a4c2 |
|
|
|
420a4c2 |
|
|
|
4c09390 |
%pre
|
|
|
4c09390 |
if [ "$1" -gt 1 ]; then
|
|
|
4c09390 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
4c09390 |
gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/cheese.schemas > /dev/null || :
|
|
|
4c09390 |
fi
|
|
|
4c09390 |
|
|
|
4c09390 |
|
|
|
4c09390 |
%preun
|
|
|
4c09390 |
if [ "$1" -gt 0 ]; then
|
|
|
4c09390 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
4c09390 |
gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/cheese.schemas > /dev/null || :
|
|
|
4c09390 |
fi
|
|
|
4c09390 |
|
|
|
4c09390 |
|
|
|
420a4c2 |
%post
|
|
|
420a4c2 |
touch --no-create %{_datadir}/icons/hicolor
|
|
|
420a4c2 |
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
|
420a4c2 |
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
|
|
|
420a4c2 |
fi
|
|
|
4c09390 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
4c09390 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/cheese.schemas > /dev/null || :
|
|
|
420a4c2 |
|
|
|
420a4c2 |
|
|
|
420a4c2 |
%postun
|
|
|
420a4c2 |
touch --no-create %{_datadir}/icons/hicolor
|
|
|
420a4c2 |
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
|
420a4c2 |
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
|
|
|
420a4c2 |
fi
|
|
|
420a4c2 |
|
|
|
420a4c2 |
|
|
|
420a4c2 |
|
|
|
420a4c2 |
%files -f %{name}.lang
|
|
|
420a4c2 |
%defattr(-,root,root,-)
|
|
|
420a4c2 |
%doc AUTHORS COPYING README
|
|
|
420a4c2 |
%{_bindir}/cheese
|
|
|
420a4c2 |
%{_datadir}/applications/cheese.desktop
|
|
|
420a4c2 |
%{_datadir}/cheese
|
|
|
420a4c2 |
%{_datadir}/icons/hicolor/*/apps/cheese.png
|
|
|
420a4c2 |
%{_datadir}/icons/hicolor/scalable/apps/cheese.svg
|
|
|
4c09390 |
%{_sysconfdir}/gconf/schemas/cheese.schemas
|
|
|
9d319e8 |
%{_libexecdir}/cheese
|
|
|
6fb7dce |
%{_datadir}/dbus-1/services/org.gnome.Cheese.service
|
|
|
420a4c2 |
|
|
|
420a4c2 |
%changelog
|
|
|
5106d73 |
* Wed Feb 18 2009 Matthias Clasen <mclasen@redhat.com> 2.25.91-1
|
|
|
5106d73 |
- Update to 2.25.91
|
|
|
5106d73 |
|
|
|
15cdc62 |
* Tue Feb 3 2009 Matthias Clasen <mclasen@redhat.com> 2.25.90-1
|
|
|
15cdc62 |
- Update to 2.25.90
|
|
|
15cdc62 |
|
|
|
6893754 |
* Tue Jan 6 2009 Matthias Clasen <mclasen@redhat.com> 2.25.4-1
|
|
|
6893754 |
- Update to 2.25.4
|
|
|
6893754 |
|
|
|
8c54fd1 |
* Wed Dec 17 2008 Matthias Clasen <mclasen@redhat.com> 2.25.3-1
|
|
|
8c54fd1 |
- Update to 2.25.3
|
|
|
8c54fd1 |
|
|
|
e259a3d |
* Wed Dec 3 2008 Matthias Clasen <mclasen@redhat.com> 2.25.2-1
|
|
|
e259a3d |
- Update to 2.25.2
|
|
|
e259a3d |
|
|
|
31079a5 |
* Thu Nov 21 2008 Matthias Clasen <mclasen@redhat.com> 2.25.1-4
|
|
|
31079a5 |
- Better URL
|
|
|
31079a5 |
|
|
|
9ac5876 |
* Thu Nov 13 2008 Matthias Clasen <mclasen@redhat.com> 2.25.1-3
|
|
|
fa87caf |
- Update to 2.25.1
|
|
|
fa87caf |
|
|
|
3e63e1c |
* Sun Nov 9 2008 Hans de Goede <hdegoede@redhat.com> 2.24.1-2
|
|
|
3e63e1c |
- Fix cams which only support 1 resolution not working (rh470698, gnome560032)
|
|
|
3e63e1c |
|
|
|
fdaf1a0 |
* Mon Oct 20 2008 Matthias Clasen <mclasen@redhat.com> 2.24.1-1
|
|
|
fdaf1a0 |
- Update to 2.24.1
|
|
|
fdaf1a0 |
|
|
|
5713463 |
* Wed Oct 8 2008 Matthias Clasen <mclasen@redhat.com> 2.24.0-2
|
|
|
5713463 |
- Save space
|
|
|
5713463 |
|
|
|
ada9db0 |
* Mon Sep 22 2008 Matthias Clasen <mclasen@redhat.com> 2.24.0-1
|
|
|
ada9db0 |
- Update to 2.24.0
|
|
|
ada9db0 |
|
|
|
3fb10c7 |
* Tue Sep 9 2008 Matthias Clasen <mclasen@redhat.com> 2.23.92-3
|
|
|
976767d |
- Update to 2.23.92
|
|
|
976767d |
- Drop upstreamed patches
|
|
|
976767d |
|
|
|
fd29e9f |
* Wed Sep 3 2008 Hans de Goede <hdegoede@redhat.com> 2.23.91-2
|
|
|
fd29e9f |
- Fix use with multiple v4l devices (rh 460956, gnome 546868, gnome 547144)
|
|
|
fd29e9f |
|
|
|
15539e8 |
* Tue Sep 2 2008 Matthias Clasen <mclasen@redhat.com> 2.23.91-1
|
|
|
15539e8 |
- Update to 2.23.91
|
|
|
15539e8 |
|
|
|
a674818 |
* Fri Aug 22 2008 Matthias Clasen <mclasen@redhat.com> 2.23.90-1
|
|
|
a674818 |
- Update to 2.23.90
|
|
|
a674818 |
|
|
|
9aa5252 |
* Tue Aug 5 2008 Matthias Clasen <mclasen@redhat.com> 2.23.6-1
|
|
|
9aa5252 |
- Update to 2.23.6
|
|
|
9aa5252 |
|
|
|
d819029 |
* Tue Jul 22 2008 Matthias Clasen <mclasen@redhat.com> 2.23.5-1
|
|
|
d819029 |
- Update to 2.23.5
|
|
|
d819029 |
|
|
|
70e307b |
* Wed Jun 18 2008 Matthias Clasen <mclasen@redhat.com> 2.23.4-1
|
|
|
70e307b |
- Update to 2.23.4
|
|
|
70e307b |
|
|
|
a551b1c |
* Tue Jun 3 2008 Matthias Clasen <mclasen@redhat.com> 2.23.3-1
|
|
|
a551b1c |
- Update to 2.23.3
|
|
|
a551b1c |
|
|
|
805e3be |
* Tue May 13 2008 Matthias Clasen <mclasen@redhat.com> 2.23.2-1
|
|
|
805e3be |
- Update to 2.23.2
|
|
|
805e3be |
|
|
|
fe623d7 |
* Fri Apr 25 2008 Matthias Clasen <mclasen@redhat.com> 2.23.1-1
|
|
|
fe623d7 |
- Update to 2.23.1
|
|
|
fe623d7 |
|
|
|
fe623d7 |
* Tue Apr 22 2008 Matthias Clasen <mclasen@redhat.com> 2.22.1-2
|
|
|
fe623d7 |
- Fix an invalid free
|
|
|
fe623d7 |
|
|
|
d989c73 |
* Mon Apr 7 2008 Matthias Clasen <mclasen@redhat.com> 2.22.1-1
|
|
|
d989c73 |
- Update to 2.22.1
|
|
|
d989c73 |
|
|
|
d982266 |
* Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> 2.22.0-1
|
|
|
d982266 |
- Update to 2.22.0
|
|
|
d982266 |
|
|
|
60e7ab9 |
* Tue Feb 26 2008 Matthias Clasen <mclasen@redhat.com> 2.21.92-1
|
|
|
60e7ab9 |
- Update to 2.21.92
|
|
|
60e7ab9 |
|
|
|
6952970 |
* Fri Feb 15 2008 Matthias Clasen <mclasen@redhat.com> 2.21.91-3
|
|
|
6952970 |
- Fix a locking problem that causes the UI to freeze
|
|
|
6952970 |
|
|
|
b6822d0 |
* Fri Feb 8 2008 Matthias Clasen <mclasen@redhat.com> 2.21.91-2
|
|
|
b6822d0 |
- Rebuild for gcc 4.3
|
|
|
b6822d0 |
|
|
|
e12c07e |
* Tue Jan 29 2008 Matthias Clasen <mclasen@redhat.com> 2.21.91-1
|
|
|
e12c07e |
- Update to 2.21.91
|
|
|
e12c07e |
|
|
|
b0c96ad |
* Mon Jan 14 2008 Matthias Clasen <mclasen@redhat.com> 2.21.5-1
|
|
|
b0c96ad |
- Update to 2.21.5
|
|
|
b0c96ad |
|
|
|
4c09390 |
* Mon Dec 24 2007 Matthias Clasen <mclasen@redhat.com> 0.3.0-1
|
|
|
4c09390 |
- Update to 0.3.0
|
|
|
4c09390 |
|
|
|
420a4c2 |
* Fri Sep 7 2007 Matthias Clasen <mclasen@redhat.com> 0.2.4-2
|
|
|
420a4c2 |
- package review feedback
|
|
|
420a4c2 |
|
|
|
420a4c2 |
* Thu Sep 6 2007 Matthias Clasen <mclasen@redhat.com> 0.2.4-1
|
|
|
420a4c2 |
- Initial packages
|