Name: rotoscope Version: 0.2 Release: 2%{?dist} Summary: A program to rotoscope images Group: Applications/Multimedia License: GPLv2+ URL: http://www.toonyphotos.com/ Source0: http://downloads.sourceforge.net/project/rotoscope/rotoscope/0.2/%{name}_%{version}.orig.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libglade2-devel gtk2-devel desktop-file-utils #Requires: %description A free software rotoscoping application. It is used to give photos a cartoon-like appearance. This is similar to the technique used in movies such as Waking Life. %prep %setup -q #Remove extension from icon sed -i 's|Icon=%{name}.png|Icon=%{name}|g' %{name}.desktop %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT desktop-file-install \ --dir=%{buildroot}%{_datadir}/applications \ %{buildroot}%{_datadir}/applications/%{name}.desktop %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS COPYING README %{_bindir}/rotoscope %{_datadir}/applications/rotoscope.desktop %{_datadir}/man/man1/rotoscope.1.* %{_datadir}/pixmaps/rotoscope.png %{_datadir}/rotoscope/ %changelog * Thu Jun 03 2010 Tareq Al Jurf - 0.2-2 - Fixed minor errors in spec. * Wed Jun 02 2010 Tareq Al Jurf - 0.2-1 - Initial build