Name: gnome-screenshot Version: 3.3.1 Release: 1%{?dist} Summary: A screenshot utility for GNOME Group: Applications/System License: GPLv2+ URL: http://www.gnome.org Source0: http://download.gnome.org/sources/gnome-screenshot/3.3/gnome-screenshot-%{version}.tar.xz BuildRequires: gtk3-devel BuildRequires: libcanberra-devel BuildRequires: intltool BuildRequires: desktop-file-utils Obsoletes: gnome-utils <= 3.3 %description gnome-screenshot lets you take pictures of your screen. %prep %setup -q %build %configure make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT # the desktop file contains Canonical 'enhancements' which don't validate :-( # desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gnome-screenshot.desktop %find_lang %{name} %files -f %{name}.lang %doc COPYING %{_bindir}/gnome-screenshot %{_datadir}/GConf/gsettings/gnome-screenshot.convert %{_datadir}/applications/gnome-screenshot.desktop %{_datadir}/glib-2.0/schemas/org.gnome.gnome-screenshot.gschema.xml %{_datadir}/gnome-screenshot %doc %{_mandir}/man1/gnome-screenshot.1.gz %changelog * Wed Nov 23 2011 Matthias Clasen 3.3.1-1 - Initial packaging