Blob Blame History Raw

Name:      brasero
Version:   0.4.4
Release:   3%{?dist}
Summary:   Gnome CD/DVD burning application
Group:     Applications/Multimedia
License:   GPL
URL:       http://perso.orange.fr/bonfire/
Source0:   http://download.sourceforge.net/bonfire/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  gettext intltool
BuildRequires:  desktop-file-utils
BuildRequires:  libgnomeui-devel >= 2.10.0
BuildRequires:  gstreamer-devel >= 0.10.6
BuildRequires:  gstreamer-plugins-base-devel >= 0.10.0
BuildRequires:  nautilus-cd-burner-devel >= 2.14.0
BuildRequires:  libnotify-devel >= 0.3.0
BuildRequires:  libbeagle-devel >= 0.1.1
BuildRequires:  totem-devel >= 1.2.0

Requires:  dvd+rw-tools
Requires:  cdrecord
Requires:  mkisofs
Requires:  cdda2wav
Requires:  cdrdao

Requires(post):    shared-mime-info
Requires(postun):  shared-mime-info


%description
Simple and easy to use CD/DVD burning application for the Gnome
desktop.


%prep
%setup -q


%build
%configure --disable-caches
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name}

desktop-file-install --vendor ""                   \
    --dir $RPM_BUILD_ROOT%{_datadir}/applications  \
    --add-category X-Fedora                        \
    $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop


%clean
rm -rf $RPM_BUILD_ROOT


%post
update-mime-database %{_datadir}/mime &> /dev/null || :
touch --no-create %{_datadir}/icons/gnome || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/gnome || :
fi
update-desktop-database &> /dev/null ||:


%postun
update-mime-database %{_datadir}/mime &> /dev/null || :
touch --no-create %{_datadir}/icons/gnome || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/gnome || :
fi
update-desktop-database &> /dev/null ||:


%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/*
%{_datadir}/%{name}
%{_datadir}/applications/brasero.desktop
%{_datadir}/pixmaps/*
%{_datadir}/icons/gnome/48x48/mimetypes/*
%{_datadir}/mime/packages/*


%changelog
* Tue Oct  3 2006 Denis Leroy <denis@poolshark.org> - 0.4.4-3
- fixed homepage URL

* Tue Sep 26 2006 Denis Leroy <denis@poolshark.org> - 0.4.4-2
- BRs cleanup

* Fri Sep 22 2006 Denis Leroy <denis@poolshark.org> - 0.4.4-1
- First version