File byzanz.spec of Package byzanz
#
# spec file for package byzanz
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2007 wberrier@gmail.com
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: byzanz
Version: 0.2.2
Release: 5
License: GPLv2+
Summary: Tool to record a running X desktop to an animated GIF file
Group: Productivity/Multimedia/Video/Editors and Convertors
Url: http://people.freedesktop.org/~company/byzanz/
Source: %{name}-%{version}.tar.bz2
BuildRequires: gconf2
BuildRequires: gtk2-devel
BuildRequires: gnome-panel-devel
BuildRequires: gstreamer-0_10-plugins-base-devel
BuildRequires: intltool
BuildRequires: translation-update-upstream
BuildRequires: xorg-x11-devel
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%gconf_schemas_prereq
%description
Byzanz is a simple tool to record a running X desktop to an animated GIF file.
It is implemented as a GNOME applet. A command line tool for testing purposes
is also available.
%lang_package
%prep
%setup -q
translation-update-upstream
%build
%configure \
--disable-schemas-install
%__make %{?jobs: -j%jobs}
%install
%makeinstall
%find_lang %{name} %{?no_lang_C}
%find_gconf_schemas
%pre -f %{name}.schemas_pre
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun
%if 0%{?suse_version} > 1130
%post
%icon_theme_cache_post
%endif
%if 0%{?suse_version} > 1130
%postun
%icon_theme_cache_postun
%endif
%clean
rm -rf %{buildroot}
%files -f %{name}.schemas_list
%defattr(-, root, root)
%{_bindir}/byzanz-playback
%{_bindir}/byzanz-record
%{_libdir}/bonobo/servers/ByzanzApplet.server
%{_libexecdir}/byzanz-applet
%{_datadir}/gnome-2.0/ui/byzanzapplet.xml
%{_datadir}/icons/hicolor/*/apps/byzanz*
%{_mandir}/man*/*.*
%files lang -f %{name}.lang
%changelog