Name: pencil Version: 2.0.1 Release: 1%{?dist} Summary: A sketching and GUI prototyping tool Group: Development/Tools License: GPLv2 URL: http://code.google.com/p/evoluspencil/ Source0: http://evoluspencil.googlecode.com/files/%{name}-%{version}.tar.gz Requires: xulrunner >= 1.9.8 BuildRequires: desktop-file-utils BuildArch: noarch %description Pencil is an open source GUI prototyping and sketching tools released under GPL. %prep %setup -q %build %install cp -R usr $RPM_BUILD_ROOT/ desktop-file-install \ --add-category="AudioVideo" \ --delete-original \ --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \ ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop %files %doc COPYING %{_datadir}/%{name}/ %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %changelog * Sat Sep 29 2012 Truong Anh Tuan - 2.0.1-1 - Update spec file to remove percent-clean section (no longer needed). - Get the new source 2.0.1 from upstream with a lot of cleanups. * Wed Jun 20 2012 Truong Anh Tuan - 2.0-2 - Update spec file to remove percent-defattr and BuildRoot (no longer needed). - Update .desktop file to follow guidelines. * Thu Jun 14 2012 Truong Anh Tuan - 2.0-1 - Initial release 2.0 from upstream.