Name: imagination Version: 2.1.1 Release: 1%{?dist} Summary: A lightweight and simple DVD slide show Group: Applications/Multimedia License: GPLv3 URL: http://%{name}.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: sox-devel BuildRequires: intltool BuildRequires: gtk2-devel BuildRequires: libxslt BuildRequires: docbook-style-xsl BuildRequires: desktop-file-utils Requires: ffmpeg Requires: hicolor-icon-theme Requires: sox %description Imagination is a lightweight and simple DVD slide show maker written in C language and built with the GTK+2 toolkit. Imagination has been designed from the ground up to be fast, light and easy-to-use. %prep %setup -q %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %find_lang imagination desktop-file-install \ --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \ --add-category AudioVideoEditing \ imagination.desktop %clean rm -rf $RPM_BUILD_ROOT %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files -f imagination.lang %defattr(-,root,root,-) %doc AUTHORS COPYING INSTALL README TODO %{_bindir}/%{name} %{_libdir}/%{name} %{_datadir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png %{_datadir}/icons/hicolor/*/apps/%{name}.svg %doc %{_datadir}/doc/%{name} %changelog * Thu Jan 27 2011 Cédric OLIVIER 2.1.1-1 - First release