File brasero.spec of Package brasero

#
# spec file for package brasero (Version 0.8.3)
#
# 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:           brasero
Version:        0.8.3
Release:        1
License:        GPL v2 or later
Group:          Productivity/Multimedia/CD/Record
Summary:        CD/DVD burning application for GNOME
Url:            http://gnome.org/projects/brasero
Source:         %{name}-%{version}.tar.bz2
Patch0:         brasero-remove-oldtooltips.patch
Patch1:         brasero-fix-discspace.patch
AutoReqProv:    on
PreReq:         filesystem gconf2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  eel-devel gnome-doc-utils-devel gstreamer010-devel gstreamer010-plugins-base-devel libbeagle-devel libgnomeui-devel nautilus-devel perl-XML-Parser totem-pl-parser-devel update-desktop-files
BuildRequires:  gtk-doc intltool
Requires:       gstreamer010 gstreamer010-plugins-base gstreamer010-plugins-base-oil gstreamer010-plugins-good
Requires:       %{name}-lang = %{version}
Obsoletes:      gnomebaker <= 0.6.1
Provides:       gnomebaker = 0.6.1
%gconf_schemas_prereq

%description
Brasero is an application to burn CD/DVDs for the GNOME Desktop. It is
designed to be as simple as possible and has some unique features to
enable users to create their discs easily and quickly.

It supports creating audio discs, data discs, burning ISO and other
image files, and duplicating discs.



Authors:
--------
    Philippe Rouquier <bonfire-app@wanadoo.fr>

%package doc
License:        GPL v2 or later
Group:          Productivity/Multimedia/CD/Record
Summary:        CD/DVD burning application for GNOME
Requires:       %{name} = %{version}

%description doc
Brasero is an application to burn CD/DVDs for the GNOME Desktop. It is
designed to be as simple as possible and has some unique features to
enable users to create their discs easily and quickly.

It supports creating audio discs, data discs, burning ISO and other
image files, and duplicating discs.



Authors:
--------
    Philippe Rouquier <bonfire-app@wanadoo.fr>

%lang_package
%prep
%setup -q
%patch0 -p1
%patch1 -p1

%build
export CFLAGS="$RPM_OPT_FLAGS -fstack-protector -fno-strict-aliasing"
gtkdocize
gnome-doc-prepare --force
intltoolize --force
autoreconf -fi
%configure \
	--disable-scrollkeeper \
	--enable-search \
	--enable-playlist \
    	--enable-nautilus \
	--disable-schemas-install
make %{?jobs:-j%jobs}

%install
%makeinstall
rm $RPM_BUILD_ROOT%{_libdir}/brasero/plugins/*.*a
rm $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-2.0/*.*a
%suse_update_desktop_file -N "Brasero" -r %{name} GNOME GTK AudioVideo DiscBurning
%find_lang %{name}
%find_gconf_schemas
cat %{name}.schemas_list > %{name}.lst

%clean
rm -rf "$RPM_BUILD_ROOT"

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

%preun -f %{name}.schemas_preun

%post
test -x usr/bin/update-mime-database && \
	usr/bin/update-mime-database usr/share/mime > /dev/null
%run_ldconfig

%files -f %{name}.lst
%defattr(-,root,root)
%doc ChangeLog NEWS COPYING AUTHORS README
%dir %{_datadir}/brasero
%dir %{_libdir}/brasero
%dir %{_libdir}/brasero/plugins
%dir %{_datadir}/brasero/icons
%dir %{_datadir}/brasero/icons/hicolor/
%dir %{_datadir}/brasero/icons/hicolor/16x16
%dir %{_datadir}/brasero/icons/hicolor/16x16/actions
%dir %{_datadir}/brasero/icons/hicolor/16x16/status
%dir %{_datadir}/brasero/icons/hicolor/22x22
%dir %{_datadir}/brasero/icons/hicolor/22x22/actions
%dir %{_datadir}/brasero/icons/hicolor/22x22/status
%dir %{_datadir}/brasero/icons/hicolor/24x24
%dir %{_datadir}/brasero/icons/hicolor/24x24/actions
%dir %{_datadir}/brasero/icons/hicolor/24x24/status
%dir %{_datadir}/brasero/icons/hicolor/32x32
%dir %{_datadir}/brasero/icons/hicolor/32x32/actions
%dir %{_datadir}/brasero/icons/hicolor/32x32/status
%dir %{_datadir}/brasero/icons/hicolor/48x48
%dir %{_datadir}/brasero/icons/hicolor/48x48/actions
%dir %{_datadir}/brasero/icons/hicolor/scalable
%dir %{_datadir}/brasero/icons/hicolor/scalable/actions
%dir %{_datadir}/brasero/icons/hicolor/scalable/status
%{_bindir}/brasero
%{_libdir}/brasero/plugins/*.so
%{_datadir}/applications/brasero*.desktop
%{_datadir}/brasero/logo.png
%{_datadir}/brasero/icons/hicolor/*/*/*
%{_datadir}/icons/hicolor/*/apps/brasero.*
%{_datadir}/mime/packages/brasero.xml
%doc %{_mandir}/man?/*.*
%{_libdir}/nautilus/extensions-2.0/*.so

%files doc
%defattr(-,root,root)
%{_datadir}/omf/brasero

%files lang -f %{name}.lang

%changelog
* Wed Nov 12 2008 lmedinas@gmail.com
- Bump to Brasero 0.8.3
  * Bug fix release.
  * Add brasero-remove-oldtooltips.patch to remove
  brasero-gtk-deprecated.patch.
  * Add patch brasero-fix-discspace.patch, contains
  important fixes for bgo #557561 #556449.
  * Important bugs fixed.
  * GUI revised.
  * Enable new nautilus extension (depends of nautilus).
* Mon Sep 15 2008 abockover@suse.de
- Updated to Brasero 0.8.2
  * Bug-fix-only release
  * A number of crashers and data integrity bugs were fixed
  * bgo#551678, bgo#544665, bgo#543377, bgo#550475, bgo#544416
  bgo#549726, bgo#549570, bgo#549492, bgo#548547, bgo#546787
  bgo#549299, bgo#547742, bgo#549368, bgo#549211, bgo#542103
  bgo#548640, bgo#548985, bgo#548556, bgo#548137, bgo#538978
  bgo#548538, bgo#548543, bgo#548098, bgo#546968, bgo#547112
  bgo#547687, bgo#547751, bgo#543737, bgo#547616, bgo#547444,
  bgo#543715
- Remove nautilus-cd-burner and libnotify-devel as BuildRequires
  and do not pass --enable-notify (bnc#422913)
* Tue Aug 19 2008 maw@suse.de
- Own /usr/share/omf/brasero.
* Fri Aug 15 2008 abockover@suse.de
- Updated to Brasero 0.8.1
  * New UI layout options
  * Handful of bug fixes
- Removed patches that have been merged upstream
- Patch build to remove -DGTK_DISABLE_DEPRECATED
- Created -doc package
* Fri Apr 25 2008 maw@suse.de
- Add brasero-368095-fix-mime-type.patch (bnc#368095).
* Thu Apr 17 2008 rodrigo@suse.de
- Removed fix-desktop-file.diff patch, we can do the same with
  %%suse_update_desktop_file.
- Rename and tag remaining patch
* Mon Feb 25 2008 maw@suse.de
- Depend on totem-pl-parser-devel to build.
* Sun Jan 27 2008 abockover@suse.de
- Updated to 0.7.1 release
  * Lots of bugs fixed
  * bgo#506063 - Fix to not fail miserably when burning a file > 4GB
  * bgo#507316 - Allow making ISO when there is no blank media in the drive
  * bgo#510620 - Brasero is not able to load a playlist in a Audio project
  * bgo#508654 - Windows-compatibility doesn't truncate 64+ characters files
  * Other bugs fixed: bgo#505785, bgo#506950, bgo#510022,
  bgo#510329, bgo#510479
* Fri Jan 25 2008 abockover@suse.de
- Updated to 0.7.0 release
  * Lots of bugs fixed
  * bgo#499591, bgo#502703, bgo#501091, bgo#504413, bgo#503659
  * Fixed some memory leaks and a potential crasher
  * Supports libbeagle >= 0.3.x
* Fri Jan 25 2008 aj@suse.de
- Fix open call.
- Fix buffer overflow.
- Use -fno-strict-aliasing.
* Mon Dec 17 2007 abockover@suse.de
- Updated to 0.6.90 release
  * Burning backends are now plugins
  * Enable/Disable backends via gconf and plugin UI
  * Split tracks in audio CD mode
  * Many UI changes for HIG compliance
  * GNOME Power Manager support for inhibit when burning CDs
  * Updates and fixes in the libburn backend
  * Many bugs fixed in bugzilla
* Tue Sep 11 2007 cthiel@suse.de
- proper obsoltes/provides to gnomebaker
* Mon Sep 10 2007 cthiel@suse.de
- fix Obsoletes: gnomebaker <= 0.6.1
* Sat Sep 01 2007 stbinner@suse.de
- fix Name of .desktop file by moving description to GenericName
* Fri Aug 31 2007 abockover@suse.de
- Initial package for Brasero 0.6.1
- Package added to 10.3 in response to BNC #302492
openSUSE Build Service is sponsored by