cheese/cheese.spec

137 lines
3.7 KiB
RPMSpec
Raw Normal View History

2007-09-08 01:54:19 +00:00
Name: cheese
2008-03-10 23:57:38 +00:00
Version: 2.22.0
2008-02-26 05:23:50 +00:00
Release: 1%{?dist}
2007-09-08 01:54:19 +00:00
Summary: A webcam application for snapshots and movies
Group: Amusements/Graphics
License: GPLv2+
URL: http://live.gnome.org/Cheese
2008-03-10 23:57:38 +00:00
Source0: http://download.gnome.org/sources/cheese/2.22/%{name}-%{version}.tar.bz2
2007-09-08 01:54:19 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk2-devel >= 2.10.0
2008-01-15 03:07:36 +00:00
BuildRequires: libglade2-devel >= 2.6.0
2007-09-08 01:54:19 +00:00
BuildRequires: dbus-devel
2007-12-25 02:54:09 +00:00
BuildRequires: dbus-glib-devel
2008-01-15 03:07:36 +00:00
BuildRequires: gstreamer-devel >= 0.10.15
2007-09-08 01:54:19 +00:00
BuildRequires: gstreamer-plugins-base-devel >= 0.10.12
BuildRequires: gnome-vfs2-devel
2007-12-25 02:54:09 +00:00
BuildRequires: GConf2-devel
2008-01-15 03:07:36 +00:00
BuildRequires: cairo-devel >= 1.2.4
BuildRequires: hal-devel >= 0.5.9
2007-09-08 01:54:19 +00:00
BuildRequires: libgnomeui-devel
2008-01-15 03:07:36 +00:00
BuildRequires: librsvg2-devel >= 2.18.0
2007-09-08 01:54:19 +00:00
BuildRequires: evolution-data-server-devel
BuildRequires: libXxf86vm-devel
BuildRequires: desktop-file-utils
BuildRequires: gettext
2007-12-25 03:22:02 +00:00
BuildRequires: perl(XML::Parser)
2007-12-25 03:28:46 +00:00
BuildRequires: gnome-doc-utils
2008-01-29 15:43:47 +00:00
BuildRequires: autoconf, automake, libtool, intltool
2007-09-08 01:54:19 +00:00
Requires: gstreamer-plugins-good >= 0.10.6-2
2007-12-25 02:54:09 +00:00
Requires(post): GConf2
Requires(pre): GConf2
Requires(preun): GConf2
2007-09-08 01:54:19 +00:00
%description
Cheese is a Photobooth-inspired GNOME application for taking pictures and
videos from a webcam. It also includes fancy graphical effects based on the
gstreamer-backend.
%prep
%setup -q
2008-03-11 01:24:35 +00:00
libtoolize --force --copy
2008-01-29 15:07:46 +00:00
autoreconf
2007-09-08 01:54:19 +00:00
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
desktop-file-install --delete-original --vendor="" \
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
$RPM_BUILD_ROOT%{_datadir}/applications/cheese.desktop
%find_lang %{name} --with-gnome
%clean
rm -rf $RPM_BUILD_ROOT
2007-12-25 02:54:09 +00:00
%pre
if [ "$1" -gt 1 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/cheese.schemas > /dev/null || :
fi
%preun
if [ "$1" -gt 0 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/cheese.schemas > /dev/null || :
fi
2007-09-08 01:54:19 +00:00
%post
touch --no-create %{_datadir}/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
fi
2007-12-25 02:54:09 +00:00
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/cheese.schemas > /dev/null || :
2007-09-08 01:54:19 +00:00
%postun
touch --no-create %{_datadir}/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
fi
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
%{_bindir}/cheese
%{_datadir}/applications/cheese.desktop
%{_datadir}/cheese
%{_datadir}/icons/hicolor/*/apps/cheese.png
%{_datadir}/icons/hicolor/scalable/apps/cheese.svg
2007-12-25 02:54:09 +00:00
%{_sysconfdir}/gconf/schemas/cheese.schemas
2008-02-26 05:51:48 +00:00
%{_libexecdir}/cheese
2007-09-08 01:54:19 +00:00
%changelog
2008-03-10 23:57:38 +00:00
* Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> 2.22.0-1
- Update to 2.22.0
2008-02-26 05:23:50 +00:00
* Tue Feb 26 2008 Matthias Clasen <mclasen@redhat.com> 2.21.92-1
- Update to 2.21.92
2008-02-15 16:41:23 +00:00
* Fri Feb 15 2008 Matthias Clasen <mclasen@redhat.com> 2.21.91-3
- Fix a locking problem that causes the UI to freeze
2008-02-09 03:44:45 +00:00
* Fri Feb 8 2008 Matthias Clasen <mclasen@redhat.com> 2.21.91-2
- Rebuild for gcc 4.3
2008-01-29 14:12:15 +00:00
* Tue Jan 29 2008 Matthias Clasen <mclasen@redhat.com> 2.21.91-1
- Update to 2.21.91
2008-01-15 03:07:36 +00:00
* Mon Jan 14 2008 Matthias Clasen <mclasen@redhat.com> 2.21.5-1
- Update to 2.21.5
2007-12-25 02:54:09 +00:00
* Mon Dec 24 2007 Matthias Clasen <mclasen@redhat.com> 0.3.0-1
- Update to 0.3.0
2007-09-08 01:54:19 +00:00
* Fri Sep 7 2007 Matthias Clasen <mclasen@redhat.com> 0.2.4-2
- package review feedback
* Thu Sep 6 2007 Matthias Clasen <mclasen@redhat.com> 0.2.4-1
- Initial packages