Denis Leroy 5fed07
Denis Leroy 5fed07
Name:      brasero
Denis Leroy aa710f
Version:   0.7.1
Denis Leroy 0fd3c7
Release:   1%{?dist}
Denis Leroy 5fed07
Summary:   Gnome CD/DVD burning application
Denis Leroy 5fed07
Group:     Applications/Multimedia
Denis Leroy 4ef87c
License:   GPLv2+
Denis Leroy 443513
URL:       http://www.gnome.org/projects/brasero/
Denis Leroy 0fd3c7
Source0:   http://ftp.gnome.org/pub/GNOME/sources/brasero/0.7/%{name}-%{version}.tar.bz2
Denis Leroy 0fd3c7
Patch0:    brasero-0.7.0-open.patch
Denis Leroy 5fed07
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Denis Leroy 5fed07
Denis Leroy 5fed07
BuildRequires:  gettext intltool
Denis Leroy 5fed07
BuildRequires:  desktop-file-utils
Denis Leroy 0fd3c7
BuildRequires:  gnome-vfs2-devel >= 2.14.2
Denis Leroy 5fed07
BuildRequires:  libgnomeui-devel >= 2.10.0
Denis Leroy 5fed07
BuildRequires:  gstreamer-devel >= 0.10.6
Denis Leroy 5fed07
BuildRequires:  gstreamer-plugins-base-devel >= 0.10.0
Denis Leroy 14d7f5
BuildRequires:  nautilus-cd-burner-devel >= 2.16.0
Denis Leroy 12f62e
%ifnarch ppc64
Denis Leroy 5fed07
BuildRequires:  libbeagle-devel >= 0.1.1
Denis Leroy 12f62e
%endif
Denis Leroy aa710f
BuildRequires:  totem-pl-parser-devel >= 2.20.0
Denis Leroy 443513
BuildRequires:  libnotify-devel >= 0.3.0
Denis Leroy 0fd3c7
BuildRequires:  libxml2-devel >= 2.6.0
Denis Leroy 0fd3c7
BuildRequires:  dbus-glib-devel >= 0.7.2
Denis Leroy 0fd3c7
BuildRequires:  libburn-devel >= 0.4.0
Denis Leroy 0fd3c7
BuildRequires:  libisofs-devel >= 0.2.8
Denis Leroy 5fed07
Denis Leroy 5fed07
Requires:  dvd+rw-tools
Denis Leroy 5fed07
Requires:  cdrecord
Denis Leroy 5fed07
Requires:  mkisofs
Denis Leroy 5fed07
Requires:  cdda2wav
Denis Leroy 5fed07
Requires:  cdrdao
Denis Leroy 5fed07
Denis Leroy 5fed07
Requires(post):    shared-mime-info
Denis Leroy 5fed07
Requires(postun):  shared-mime-info
Denis Leroy 14d7f5
Requires(pre):     GConf2
Denis Leroy 14d7f5
Requires(post):    GConf2
Denis Leroy 14d7f5
Requires(preun):   GConf2
Denis Leroy 5fed07
Denis Leroy 5fed07
Denis Leroy 5fed07
%description
Denis Leroy 5fed07
Simple and easy to use CD/DVD burning application for the Gnome
Denis Leroy 5fed07
desktop.
Denis Leroy 5fed07
Denis Leroy 5fed07
Denis Leroy 5fed07
%prep
Denis Leroy 5fed07
%setup -q
Denis Leroy 0fd3c7
%patch0 -p1 -b .open
Denis Leroy 5fed07
Denis Leroy 5fed07
Denis Leroy 5fed07
%build
Denis Leroy 443513
%configure \
Denis Leroy 0fd3c7
	--enable-dbus \
Denis Leroy 0fd3c7
	--enable-preview \
Denis Leroy 443513
	--disable-caches \
Denis Leroy 443513
	--disable-static \
Denis Leroy 0fd3c7
	--disable-schemas-install
Denis Leroy 443513
Denis Leroy 5fed07
make %{?_smp_mflags}
Denis Leroy 5fed07
Denis Leroy 5fed07
Denis Leroy 5fed07
%install
Denis Leroy 5fed07
rm -rf $RPM_BUILD_ROOT
Denis Leroy 14d7f5
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
Denis Leroy 5fed07
make install DESTDIR=$RPM_BUILD_ROOT
Denis Leroy 5fed07
%find_lang %{name}
Denis Leroy 5fed07
Denis Leroy 5fed07
desktop-file-install --vendor ""                   \
Denis Leroy 5fed07
    --dir $RPM_BUILD_ROOT%{_datadir}/applications  \
Denis Leroy 5fed07
    $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
Denis Leroy 5fed07
Denis Leroy 5fed07
Denis Leroy 5fed07
%clean
Denis Leroy 5fed07
rm -rf $RPM_BUILD_ROOT
Denis Leroy 5fed07
Denis Leroy 5fed07
Denis Leroy 5fed07
%post
Denis Leroy 217f17
umask 022
Denis Leroy 5fed07
update-mime-database %{_datadir}/mime &> /dev/null || :
Denis Leroy 14d7f5
touch --no-create %{_datadir}/icons/hicolor || :
Denis Leroy 5fed07
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
Denis Leroy 14d7f5
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
Denis Leroy 5fed07
fi
Denis Leroy 5fed07
update-desktop-database &> /dev/null ||:
Denis Leroy 14d7f5
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
Denis Leroy 14d7f5
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null  || :
Denis Leroy 14d7f5
killall -HUP gconfd-2 &>/dev/null || :
Denis Leroy 5fed07
Denis Leroy 5fed07
Denis Leroy 5fed07
%postun
Denis Leroy 217f17
umask 022
Denis Leroy 5fed07
update-mime-database %{_datadir}/mime &> /dev/null || :
Denis Leroy 14d7f5
touch --no-create %{_datadir}/icons/hicolor || :
Denis Leroy 5fed07
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
Denis Leroy 14d7f5
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
Denis Leroy 5fed07
fi
Denis Leroy 5fed07
update-desktop-database &> /dev/null ||:
Denis Leroy 14d7f5
if [ "$1" -gt 1 ]; then
Denis Leroy 14d7f5
  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
Denis Leroy 14d7f5
  gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || :
Denis Leroy 14d7f5
  killall -HUP gconfd-2 &>/dev/null || :
Denis Leroy 14d7f5
fi
Denis Leroy 14d7f5
Denis Leroy 14d7f5
Denis Leroy 14d7f5
%preun
Denis Leroy 14d7f5
if [ "$1" -eq 0 ]; then
Denis Leroy 14d7f5
  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
Denis Leroy 14d7f5
  gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
Denis Leroy 14d7f5
  killall -HUP gconfd-2 &>/dev/null || :
Denis Leroy 14d7f5
fi
Denis Leroy 5fed07
Denis Leroy 5fed07
Denis Leroy 5fed07
%files -f %{name}.lang
Denis Leroy 5fed07
%defattr(-,root,root,-)
Denis Leroy 5fed07
%doc AUTHORS COPYING ChangeLog NEWS README
Denis Leroy 443513
%{_mandir}/man1/%{name}.*
Denis Leroy 5fed07
%{_bindir}/*
Denis Leroy 0fd3c7
%{_libdir}/%{name}
Denis Leroy 5fed07
%{_datadir}/%{name}
Denis Leroy 5fed07
%{_datadir}/applications/brasero.desktop
Denis Leroy fa678b
%{_datadir}/icons/hicolor/*/apps/*
Denis Leroy 5fed07
%{_datadir}/mime/packages/*
Denis Leroy 14d7f5
%config %{_sysconfdir}/gconf/schemas/%{name}.schemas
Denis Leroy 5fed07
Denis Leroy 5fed07
Denis Leroy 5fed07
%changelog
Denis Leroy aa710f
* Tue Jan 29 2008 Denis Leroy <denis@poolshark.org> - 0.7.1-1
Denis Leroy aa710f
- Update to 0.7.1 upstream, bugfix release
Denis Leroy aa710f
Denis Leroy 0fd3c7
* Sun Dec 30 2007 Denis Leroy <denis@poolshark.org> - 0.7.0-1
Denis Leroy 0fd3c7
- Update to upstream 0.7.0, updated BRs
Denis Leroy 0fd3c7
- Forward-ported open() permission patch
Denis Leroy 0fd3c7
Denis Leroy 98e138
* Mon Dec 10 2007 Denis Leroy <denis@poolshark.org> - 0.6.1-4
Denis Leroy 98e138
- Changed totem-devel req to totem-pl-parser-devel
Denis Leroy 98e138
Denis Leroy 5e2278
* Sun Dec  9 2007 Denis Leroy <denis@poolshark.org> - 0.6.1-3
Denis Leroy 5e2278
- Rebuild with new libbeagle
Denis Leroy 5e2278
Denis Leroy a6fd5b
* Fri Nov  9 2007 Denis Leroy <denis@poolshark.org> - 0.6.1-2
Denis Leroy a6fd5b
- Rebuild to pick up new totem version (#361361)
Denis Leroy a6fd5b
Denis Leroy b58520
* Sat Aug 25 2007 Denis Leroy <denis@poolshark.org> - 0.6.1-1
Denis Leroy b58520
- Update to upstream version 0.6.1
Denis Leroy b58520
- Filter UI patch is now upstream
Denis Leroy b58520
Denis Leroy 4ef87c
* Fri Aug 17 2007 Denis Leroy <denis@poolshark.org> - 0.6.0-2
Denis Leroy 4ef87c
- Updated License tag
Denis Leroy 4ef87c
- Fixed open() O_CREAT problem
Denis Leroy 4ef87c
Denis Leroy 443513
* Fri Aug 10 2007 Denis Leroy <denis@poolshark.org> - 0.6.0-1
Denis Leroy 443513
- Update to 0.6.0
Denis Leroy 443513
- Removed libburn support until it compiles against libisofs 0.2.8
Denis Leroy 443513
- Fixed project URL
Denis Leroy 775f4a
- Added patch to port to new Gtk+ tooltip interface
Denis Leroy 775f4a
- Added patch to fix filter dialog crash
Denis Leroy 443513
Denis Leroy 12f62e
* Sun Jun  3 2007 Denis Leroy <denis@poolshark.org> - 0.5.2-4
Denis Leroy 12f62e
- Removed beagle support for ppc64
Denis Leroy 12f62e
Denis Leroy 217f17
* Tue May 22 2007 Denis Leroy <denis@poolshark.org> - 0.5.2-3
Denis Leroy 217f17
- Added umask 022 to scriptlets (#230781)
Denis Leroy 217f17
Denis Leroy 7a68d9
* Mon May 21 2007 Denis Leroy <denis@poolshark.org> - 0.5.2-2
Denis Leroy 7a68d9
- Rebuild to pick up new totem library
Denis Leroy 7a68d9
Denis Leroy fa678b
* Mon Feb 26 2007 Denis Leroy <denis@poolshark.org> - 0.5.2-1
Denis Leroy fa678b
- Update to 0.5.2
Denis Leroy fa678b
- Removed libisofs patch, now upstream
Denis Leroy fa678b
Denis Leroy 9b44b2
* Wed Jan 17 2007 Denis Leroy <denis@poolshark.org> - 0.5.1-2
Denis Leroy 9b44b2
- Added patch to support libisofs.so.4 and libburn.so.6
Denis Leroy 9b44b2
Denis Leroy 9b8a1c
* Thu Nov 16 2006 Denis Leroy <denis@poolshark.org> - 0.5.1-1
Denis Leroy 9b8a1c
- Update to 0.5.1
Denis Leroy 9b8a1c
Denis Leroy 14d7f5
* Sun Oct 29 2006 Denis Leroy <denis@poolshark.org> - 0.5.0-1
Denis Leroy 14d7f5
- Update to 0.5.0
Denis Leroy 14d7f5
- Updated icon paths
Denis Leroy 14d7f5
- Added gconf schemas sections
Denis Leroy 14d7f5
Denis Leroy 5fed07
* Tue Oct  3 2006 Denis Leroy <denis@poolshark.org> - 0.4.4-3
Denis Leroy 5fed07
- fixed homepage URL
Denis Leroy 5fed07
Denis Leroy 5fed07
* Tue Sep 26 2006 Denis Leroy <denis@poolshark.org> - 0.4.4-2
Denis Leroy 5fed07
- BRs cleanup
Denis Leroy 5fed07
Denis Leroy 5fed07
* Fri Sep 22 2006 Denis Leroy <denis@poolshark.org> - 0.4.4-1
Denis Leroy 5fed07
- First version