%bcond_without beagle # disable beagle search
#
Summary: Disc burning application for GNOME
-Summary(pl): Program do wypalania dysków dla GNOME
+Summary(pl.UTF-8): Program do wypalania płyt dla GNOME
Name: brasero
-Version: 0.4.4
+Version: 0.5.2
Release: 1
License: GPL v2
Group: X11/Applications
-Source0: http://dl.sourceforge.net/bonfire/%{name}-%{version}.tar.bz2
-# Source0-md5: 1ef6ae66677ed9136634692d8bc1cc7a
+Source0: http://ftp.gnome.org/pub/GNOME/sources/brasero/0.5/%{name}-%{version}.tar.bz2
+# Source0-md5: 2c23c4faa958c63b0e5b18c24420682c
Patch0: %{name}-desktop.patch
URL: http://perso.wanadoo.fr/bonfire/
BuildRequires: autoconf
BuildRequires: pkgconfig
BuildRequires: totem-devel >= 1.2.0
Requires(post,postun): desktop-file-utils
+Requires(post,postun): hicolor-icon-theme
Requires: hal >= 0.5
+Obsoletes: bonfire
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Brasero is a CD/DVD mastering tool for the GNOME desktop.
It is designed to be simple and easy to use.
-%description -l pl
-Brasero jest narzêdziem do masteringu p³yt CD/DVD dla biurka
-GNOME. Jest zaprojektowany by byæ prostym i ³atwym w obs³udze.
+%description -l pl.UTF-8
+Brasero jest narzędziem do masteringu płyt CD/DVD dla biurka
+GNOME. Jest zaprojektowany by być prostym i łatwym w obsłudze.
%prep
%setup -q
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-mv $RPM_BUILD_ROOT%{_iconsdir}/{gnome,hicolor}
-
%find_lang %{name} --all-name
%clean
rm -rf $RPM_BUILD_ROOT
%post
+%gconf_schema_install brasero.schemas
%update_desktop_database_post
%update_mime_database
%update_icon_cache hicolor
%postun
+%gconf_schema_uninstall brasero.schemas
%update_desktop_database_postun
%update_mime_database
%update_icon_cache hicolor
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README TODO.tasks
+%doc AUTHORS ChangeLog NEWS README
%attr(755,root,root) %{_bindir}/*
%{_datadir}/%{name}
%{_datadir}/mime/packages/%{name}.xml
%{_desktopdir}/*.desktop
%{_iconsdir}/hicolor/*/*/*.png
-%{_pixmapsdir}/*.png
+%{_iconsdir}/hicolor/*/*/*.svg
+%{_mandir}/man1/*
+%{_sysconfdir}/gconf/schemas/*