File istanbul.spec of Package istanbul

#
# spec file for package istanbul (Version 0.2.2)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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:           istanbul
BuildRequires:  fdupes gconf2-devel gstreamer-0_10-plugins-base-devel gstreamer-0_10-plugins-good gtk2-devel intltool perl-XML-Parser python-devel python-gnome-devel python-gnome-extras-devel python-gstreamer-0_10 python-xlib update-desktop-files
Version:        0.2.2
Release:        146
License:        GPL v2 or later
Group:          Productivity/Other
AutoReqProv:    on
Requires:       python-gnome python-gnome-extras python-gstreamer-0_10
# For theora and videoscale:
Requires:       gstreamer-0_10-plugins-base
# For gconfaudiosrc:
Requires:       gstreamer-0_10-plugins-good
Summary:        Istanbul desktop session recorder
Url:            http://live.gnome.org/Istanbul
Source:         %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       %{name}-lang = %{version} python-xlib
%gconf_schemas_prereq
%py_requires

%description
Istanbul is a desktop session recorder for the Free Desktop. It records
your session into an Ogg Theora video file. To start the recording, you
click on its icon in the notification area. To stop you click its icon
again. It works on Gnome, KDE, XFCE and others.



Authors:
--------
    Zaheer Abbas Merali <zaheerabbas@merali.org>

%lang_package
%prep
%setup -q

%build
%configure
make GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^[_]*gst_plugin_desc\$\$' -no-undefined" %{?jobs:-j%jobs}

%install
%suse_update_desktop_file -N "Istanbul" istanbul Utility Applet
%makeinstall
for file in $RPM_BUILD_ROOT%{py_sitedir}/istanbul/{,*,}/*.py ; do
    python -c "import py_compile; py_compile.compile('$file', None, '${file#$RPM_BUILD_ROOT}', True);"
done
%find_lang %{name}
%find_gconf_schemas
cat %{name}.schemas_list >%{name}.lst
rm $RPM_BUILD_ROOT%{_libdir}/*/*.*a
%fdupes $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%pre -f %{name}.schemas_pre
%posttrans -f %{name}.schemas_posttrans

%preun -f %{name}.schemas_preun

%files -f %{name}.lst
%defattr(-, root, root)
%doc AUTHORS COPYING LICENCE.GPL NEWS README
%{_bindir}/istanbul
%{_datadir}/applications/istanbul.desktop
%{_datadir}/pixmaps/istanbul.png
%{_libdir}/gstreamer-0.10/libistximagesrc.so
%doc %{_mandir}/man1/istanbul.1.gz
%{py_sitedir}/istanbul

%files lang -f %{name}.lang

%changelog
* Fri Nov 07 2008 ro@suse.de
- buildrequire python-gnome-extras-devel (after split)
* Mon Jul 07 2008 maw@suse.de
- Fix the build against newer autotools, removing
  istanbul-ldflags.patch in the process.
* Thu Mar 06 2008 maw@suse.de
- Fix the build when against newer versions of intltool.
* Wed Jan 30 2008 ro@suse.de
- update gstreamer require names
* Thu Nov 01 2007 jpr@suse.de
- Require python-xlib for installation
* Wed Oct 31 2007 jpr@suse.de
- Update to 0.2.2
  * Bugfixes
  * Ability to select a window to record
  * Ability to start a screencast from the command line
- Remove istanbul-0.2.1.patch, all upstreamed
- About dialog closes when close button is clicked (bnc #280981)
* Tue Aug 28 2007 stbinner@suse.de
- fix .desktop file: don't repeat GenericName content within Name
* Tue Aug 07 2007 maw@suse.de
- Use %%fdupes
- Split off a -lang subpackage.
* Thu Jun 07 2007 sbrabec@suse.cz
- Removed invalid desktop Category "Application" (#254654).
* Wed Feb 14 2007 sbrabec@suse.cz
- Require gstreamer010-plugins-good (#224165).
- Spec file cleanup.
* Thu Jan 18 2007 ssommer@suse.de
- fix build after gnome moved to /usr
* Tue Dec 12 2006 abockover@suse.de
- Added istanbul-ldflags.patch that actually sets GST_PLUGIN_LDFLAGS
- Only install libistximagesrc.so (BNC #223686)
* Sun Nov 12 2006 cthiel@suse.de
- add istanbul-0.2.1.patch, includes two more upstream fixes for bug #210935
* Sun Nov 12 2006 cthiel@suse.de
- fix bug #210935 (istanbul does not recognize ximagesrc GStreamer plugin)
  * Many thanks to Andreas Hanke for the patch
* Fri Oct 13 2006 danw@suse.de
- Remove dead patch
* Thu Sep 21 2006 jhargadon@suse.de
- update to version 0.2.1
- Re-factor of code to make it more modular and so easier to read
  and add new features
- Live recording of audio synchronised in with the screencast video.
- Numerous bugfixes
- Completely revamped UI, no more preferences dialog.
- Use gconf to store settings.
- Ability to select an area of the screeen and only record it
- Works with 0.10 series of GStreamer
- Improved video scaling method
* Wed Aug 16 2006 cthiel@suse.de
- add python-gnome-devel to BuildRequires
* Fri May 19 2006 sbrabec@suse.cz
- Byte-compile python code (#175614).
- Fixed gstreamer 0.10 patch (#175615).
- Require gstreamer010-plugins-bad (#175615#c3).
* Mon Apr 10 2006 aj@suse.de
- Fix Requires.
- Reduce BuildRequires.
* Sat Apr 08 2006 jpr@suse.de
- Move to gstreamer 0.10
* Wed Mar 29 2006 sbrabec@suse.cz
- Fixed dependencies.
* Tue Mar 07 2006 gekker@suse.de
- remove python-cairo From BuildRequires, required by gtk-python
* Mon Mar 06 2006 gekker@suse.de
- Fix build, add python-cairo to BuildRequires
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jan 06 2006 gekker@suse.de
- Initial import into autobuild, version 0.1.1
openSUSE Build Service is sponsored by