%define name bonfire %define version 0.3.1 %define release %mkrel 2 Name: %{name} Summary: A disc burning application for GNOME2 Version: %{version} Release: %{release} Source: http://perso.wanadoo.fr/bonfire/%{name}-%{version}.tar.bz2 URL: http://perso.wanadoo.fr/bonfire/ License: GPL Group: Archiving/Cd burning BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: ImageMagick BuildRequires: libgnome-vfs2-devel BuildRequires: libnautilus-burn-devel BuildRequires: libgstreamer0.10-devel BuildRequires: libxml2-devel BuildRequires: perl-XML-Parser BuildRequires: libbeagle-devel >= 0.2.5 BuildRequires: totem-plparser-devel BuildRequires: libgdl-devel >= 0.6 BuildRequires: libnotify-devel Requires: hal >= 0.5.0 %description Bonfire is yet another application to burn CD/DVD 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. %prep %setup -q %build %configure2_5x make %install rm -rf $RPM_BUILD_ROOT %makeinstall #menu mkdir -p $RPM_BUILD_ROOT%{_menudir} cat << EOF > $RPM_BUILD_ROOT%{_menudir}/%{name} ?package(%{name}): command="%{name}" icon="%{name}.png" needs="x11" title="Bonfire" longtitle="GNOME-Integrated CD Burning" section="System/Archiving/CD Burning" EOF #icons mkdir -p $RPM_BUILD_ROOT/%_liconsdir convert -size 48x48 data/icon-final-256x256.png $RPM_BUILD_ROOT/%_liconsdir/%name.png mkdir -p $RPM_BUILD_ROOT/%_iconsdir convert -size 32x32 data/icon-final-256x256.png $RPM_BUILD_ROOT/%_iconsdir/%name.png mkdir -p $RPM_BUILD_ROOT/%_miconsdir convert -size 16x16 data/icon-final-256x256.png $RPM_BUILD_ROOT/%_miconsdir/%name.png %find_lang %name %clean rm -rf $RPM_BUILD_ROOT %post %update_menus %postun %clean_menus %files -f %{name}.lang %defattr(-,root,root) %doc AUTHORS ChangeLog MAINTAINERS NEWS TODO* README %{_bindir}/%name %{_datadir}/applications/* %{_datadir}/%name %{_datadir}/pixmaps/* %{_menudir}/%name %{_liconsdir}/%name.png %{_iconsdir}/%name.png %{_miconsdir}/%name.png %changelog * Fri May 19 2006 Austin Acton <austin@mandriva.org> 0.3.1-2mdk - fix typo in requires * Thu May 18 2006 Austin Acton <austin@mandriva.org> 0.3.1-1mdk - initial package